Build Information
Successful build of SessionPlus, reference 2.2.0 (d15b52
), with Swift 6.1 for Linux on 27 Apr 2025 10:00:42 UTC.
Swift 6 data race errors: 46
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[29/49] Compiling SessionPlus Method.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:34:16: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
32 | public extension MIMEType {
33 | /// Any kind of binary data
34 | static let bin: Self = "application/octet-stream"
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:36:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
34 | static let bin: Self = "application/octet-stream"
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:38:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
36 | static let gif: Self = "image/gif"
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:40:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
38 | static let html: Self = "text/html"
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:42:16: warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
40 | static let jpeg: Self = "image/jpeg"
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
| |- warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'js' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// JSON Document
44 | static let json: Self = "application/json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:44:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
42 | static let js: Self = "text/javascript"
43 | /// JSON Document
44 | static let json: Self = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:46:16: warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | static let json: Self = "application/json"
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
| |- warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:48:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let jsonld: Self = "application/ld+json"
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:50:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
48 | static let png: Self = "image/png"
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:52:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
50 | static let pdf: Self = "application/pdf"
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// Text
54 | static let txt: Self = "text/plain"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:54:16: warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
52 | static let svg: Self = "image/svg+xml"
53 | /// Text
54 | static let txt: Self = "text/plain"
| |- warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'txt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// XML
56 | static let xml: Self = "application/xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:56:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
54 | static let txt: Self = "text/plain"
55 | /// XML
56 | static let xml: Self = "application/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:38:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
36 | ///
37 | /// Requests using GET should only retrieve data.
38 | static let get: Self = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[30/49] Compiling SessionPlus Request.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:34:16: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
32 | public extension MIMEType {
33 | /// Any kind of binary data
34 | static let bin: Self = "application/octet-stream"
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:36:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
34 | static let bin: Self = "application/octet-stream"
35 | /// Graphics Interchange Format (GIF)
36 | static let gif: Self = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:38:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
36 | static let gif: Self = "image/gif"
37 | /// HyperText Markup Language
38 | static let html: Self = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:40:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
38 | static let html: Self = "text/html"
39 | /// JPEG images
40 | static let jpeg: Self = "image/jpeg"
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:42:16: warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
40 | static let jpeg: Self = "image/jpeg"
41 | /// JavaScript
42 | static let js: Self = "text/javascript"
| |- warning: static property 'js' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'js' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// JSON Document
44 | static let json: Self = "application/json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:44:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
42 | static let js: Self = "text/javascript"
43 | /// JSON Document
44 | static let json: Self = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:46:16: warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
44 | static let json: Self = "application/json"
45 | /// JSON-LD Document
46 | static let jsonld: Self = "application/ld+json"
| |- warning: static property 'jsonld' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:48:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
46 | static let jsonld: Self = "application/ld+json"
47 | /// Portable Network Graphics
48 | static let png: Self = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:50:16: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
48 | static let png: Self = "image/png"
49 | /// Adobe Portable Document Format
50 | static let pdf: Self = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:52:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
50 | static let pdf: Self = "application/pdf"
51 | /// Scalable Vector Graphics
52 | static let svg: Self = "image/svg+xml"
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// Text
54 | static let txt: Self = "text/plain"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:54:16: warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
52 | static let svg: Self = "image/svg+xml"
53 | /// Text
54 | static let txt: Self = "text/plain"
| |- warning: static property 'txt' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'txt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// XML
56 | static let xml: Self = "application/xml"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/MIMEType.swift:56:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// MIME Types used in the API
4 | public struct MIMEType: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
5 | public let rawValue: String
6 |
:
54 | static let txt: Self = "text/plain"
55 | /// XML
56 | static let xml: Self = "application/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:38:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
36 | ///
37 | /// Requests using GET should only retrieve data.
38 | static let get: Self = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:40:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
38 | static let get: Self = "GET"
39 | /// The PUT method replaces all current representations of the target resource with the request payload.
40 | static let put: Self = "PUT"
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:43:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
41 | /// The POST method is used to submit an entity to the specified resource, often causing a change in state or side
42 | /// effects on the server.
43 | static let post: Self = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:45:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
43 | static let post: Self = "POST"
44 | /// The PATCH method is used to apply partial modifications to a resource.
45 | static let patch: Self = "PATCH"
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
/host/spi-builder-workspace/Sources/SessionPlus/Interface/Method.swift:47:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Although they can also be nouns, these request methods are sometimes referred as HTTP verbs.
6 | public struct Method: ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
7 | public let rawValue: String
8 |
:
45 | static let patch: Self = "PATCH"
46 | /// The DELETE method deletes the specified resource.
47 | static let delete: Self = "DELETE"
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[31/49] Compiling SessionPlus WebAPI.swift
/host/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 |
/host/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 {
[32/49] Compiling SessionPlus URLCache+SessionPlus.swift
/host/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 |
/host/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 {
[33/49] Compiling SessionPlus URLQueryItem+SessionPlus.swift
/host/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 |
/host/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 {
[34/49] Compiling SessionPlus URLRequest+SessionPlus.swift
/host/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 |
/host/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 {
[35/49] Compiling SessionPlus URLResponse+SessionPlus.swift
/host/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 |
/host/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 {
[36/49] Compiling SessionPlus Downloader.swift
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:102:21: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | #else
101 | guard error == nil else {
102 | 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | return
104 | }
/host/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:33:20: warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | #else
32 | let _ = Timer.scheduledTimer(withTimeInterval: TimeInterval(exactly: injectedResponse.timeout) ?? TimeInterval(floatLiteral: 0.0), repeats: false, block: { (timer) in
33 | switch injectedResponse.result {
| `- warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
:
99 | /// A response to provide for a pre-determined request.
100 | @available(*, deprecated, message: "See 'EmulatedClient.EmulatedResponse' for more information.")
101 | public struct InjectedResponse {
| `- note: consider making struct 'InjectedResponse' conform to the 'Sendable' protocol
102 | public var statusCode: Int = 0
103 | public var headers: HTTP.Headers? = nil
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:35: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; this is an error in the Swift 6 language mode
33 | switch injectedResponse.result {
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | case .success(let data):
37 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[37/49] Compiling SessionPlus HTTP.swift
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:102:21: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | #else
101 | guard error == nil else {
102 | 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | return
104 | }
/host/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:33:20: warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | #else
32 | let _ = Timer.scheduledTimer(withTimeInterval: TimeInterval(exactly: injectedResponse.timeout) ?? TimeInterval(floatLiteral: 0.0), repeats: false, block: { (timer) in
33 | switch injectedResponse.result {
| `- warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
:
99 | /// A response to provide for a pre-determined request.
100 | @available(*, deprecated, message: "See 'EmulatedClient.EmulatedResponse' for more information.")
101 | public struct InjectedResponse {
| `- note: consider making struct 'InjectedResponse' conform to the 'Sendable' protocol
102 | public var statusCode: Int = 0
103 | public var headers: HTTP.Headers? = nil
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:35: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; this is an error in the Swift 6 language mode
33 | switch injectedResponse.result {
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | case .success(let data):
37 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[38/49] Compiling SessionPlus HTTPClient.swift
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:102:21: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | #else
101 | guard error == nil else {
102 | 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | return
104 | }
/host/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:33:20: warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | #else
32 | let _ = Timer.scheduledTimer(withTimeInterval: TimeInterval(exactly: injectedResponse.timeout) ?? TimeInterval(floatLiteral: 0.0), repeats: false, block: { (timer) in
33 | switch injectedResponse.result {
| `- warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
:
99 | /// A response to provide for a pre-determined request.
100 | @available(*, deprecated, message: "See 'EmulatedClient.EmulatedResponse' for more information.")
101 | public struct InjectedResponse {
| `- note: consider making struct 'InjectedResponse' conform to the 'Sendable' protocol
102 | public var statusCode: Int = 0
103 | public var headers: HTTP.Headers? = nil
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:35: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; this is an error in the Swift 6 language mode
33 | switch injectedResponse.result {
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | case .success(let data):
37 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[39/49] Compiling SessionPlus HTTPCodable.swift
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:102:21: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | #else
101 | guard error == nil else {
102 | 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | return
104 | }
/host/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:33:20: warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | #else
32 | let _ = Timer.scheduledTimer(withTimeInterval: TimeInterval(exactly: injectedResponse.timeout) ?? TimeInterval(floatLiteral: 0.0), repeats: false, block: { (timer) in
33 | switch injectedResponse.result {
| `- warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
:
99 | /// A response to provide for a pre-determined request.
100 | @available(*, deprecated, message: "See 'EmulatedClient.EmulatedResponse' for more information.")
101 | public struct InjectedResponse {
| `- note: consider making struct 'InjectedResponse' conform to the 'Sendable' protocol
102 | public var statusCode: Int = 0
103 | public var headers: HTTP.Headers? = nil
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:35: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; this is an error in the Swift 6 language mode
33 | switch injectedResponse.result {
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | case .success(let data):
37 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[40/49] Compiling SessionPlus HTTPInjectable.swift
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/Downloader.swift:102:21: warning: capture of 'completion' with non-sendable type 'Downloader.DataCompletion' (aka '(Int, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | #else
101 | guard error == nil else {
102 | 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | return
104 | }
/host/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | return
84 | }
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:33:20: warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | #else
32 | let _ = Timer.scheduledTimer(withTimeInterval: TimeInterval(exactly: injectedResponse.timeout) ?? TimeInterval(floatLiteral: 0.0), repeats: false, block: { (timer) in
33 | switch injectedResponse.result {
| `- warning: capture of 'injectedResponse' with non-sendable type 'InjectedResponse' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
:
99 | /// A response to provide for a pre-determined request.
100 | @available(*, deprecated, message: "See 'EmulatedClient.EmulatedResponse' for more information.")
101 | public struct InjectedResponse {
| `- note: consider making struct 'InjectedResponse' conform to the 'Sendable' protocol
102 | public var statusCode: Int = 0
103 | public var headers: HTTP.Headers? = nil
/host/spi-builder-workspace/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:35: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; this is an error in the Swift 6 language mode
33 | switch injectedResponse.result {
34 | case .failure(let error):
35 | completion(injectedResponse.statusCode, injectedResponse.headers, nil, error)
| |- 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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | case .success(let data):
37 | completion(injectedResponse.statusCode, injectedResponse.headers, data, nil)
[41/49] Compiling SessionPlus AnyResponse.swift
/host/spi-builder-workspace/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:65:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | session.dataTask(with: urlRequest) { data, urlResponse, error in
64 | guard error == nil else {
65 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | return
67 | }
[42/49] Compiling SessionPlus BaseURLSessionClient.swift
/host/spi-builder-workspace/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:65:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | session.dataTask(with: urlRequest) { data, urlResponse, error in
64 | guard error == nil else {
65 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | return
67 | }
[43/49] Compiling SessionPlus Delete.swift
/host/spi-builder-workspace/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:65:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | session.dataTask(with: urlRequest) { data, urlResponse, error in
64 | guard error == nil else {
65 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | return
67 | }
[44/49] Compiling SessionPlus Get.swift
/host/spi-builder-workspace/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:65:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | session.dataTask(with: urlRequest) { data, urlResponse, error in
64 | guard error == nil else {
65 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | return
67 | }
[45/49] Compiling SessionPlus PNGImageFormDataRequest.swift
/host/spi-builder-workspace/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:65:17: warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | session.dataTask(with: urlRequest) { data, urlResponse, error in
64 | guard error == nil else {
65 | completion(.failure(error!))
| |- warning: capture of 'completion' with non-sendable type '(Result<any Response, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | return
67 | }
[46/49] Compiling SessionPlus Response.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[47/49] Compiling SessionPlus Socket.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[48/49] Compiling SessionPlus StatusCode.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[49/49] Compiling SessionPlus WebSocket.swift
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:45:16: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
43 |
44 | /// **200** Standard response for successful HTTP requests.
45 | static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:47:16: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
45 | static let ok: Self = 200
46 | /// **201** The request has been fulfilled, resulting in the creation of a new resource.
47 | static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:49:16: warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
47 | static let created: Self = 201
48 | /// **202** The request has been accepted for processing, but the processing has not been completed.
49 | static let accepted: Self = 202
| |- warning: static property 'accepted' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accepted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:51:16: warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
49 | static let accepted: Self = 202
50 | /// **204** The server successfully processed the request, and is not returning any content.
51 | static let noContent: Self = 204
| |- warning: static property 'noContent' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - Redirection
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:56:16: warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
54 |
55 | /// **301** This and all future requests should be directed to the given URI.
56 | static let movedPermanently: Self = 301
| |- warning: static property 'movedPermanently' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'movedPermanently' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:58:16: warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
56 | static let movedPermanently: Self = 301
57 | /// **303** The response to the request can be found under another URI using the GET method.
58 | static let seeOther: Self = 303
| |- warning: static property 'seeOther' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seeOther' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:60:16: warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
58 | static let seeOther: Self = 303
59 | /// **307** In this case, the request should be repeated with another URI; however, future requests should still use the original URI
60 | static let temporaryRedirect: Self = 307
| |- warning: static property 'temporaryRedirect' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'temporaryRedirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // MARK: - Client Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:65:16: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
63 |
64 | /// **400** The server cannot or will not process the request due to an apparent client error
65 | static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:67:16: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
65 | static let badRequest: Self = 400
66 | /// **401** Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
67 | static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:69:16: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
67 | static let unauthorized: Self = 401
68 | /// **403** The request contained valid data and was understood by the server, but the server is refusing action.
69 | static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:71:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
69 | static let forbidden: Self = 403
70 | /// **404** The requested resource could not be found but may be available in the future.
71 | static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:73:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
71 | static let notFound: Self = 404
72 | /// **408** The server timed out waiting for the request.
73 | static let requestTimeout: Self = 408
| |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:75:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
73 | static let requestTimeout: Self = 408
74 | /// **409** Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
75 | static let conflict: Self = 409
| |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:77:16: warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
75 | static let conflict: Self = 409
76 | /// **418** RFC 2324 specifies this code should be returned by teapots requested to brew coffee.
77 | static let iAmATeapot: Self = 418
| |- warning: static property 'iAmATeapot' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iAmATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:79:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
77 | static let iAmATeapot: Self = 418
78 | /// **429** The user has sent too many requests in a given amount of time.
79 | static let tooManyRequests: Self = 429
| |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | // MARK: - Server Errors
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:84:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
82 |
83 | /// **500** A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
84 | static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:86:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
84 | static let internalServerError: Self = 500
85 | /// **501** The server either does not recognize the request method, or it lacks the ability to fulfill the request.
86 | static let notImplemented: Self = 501
| |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:88:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
86 | static let notImplemented: Self = 501
87 | /// **502** The server was acting as a gateway or proxy and received an invalid response from the upstream server.
88 | static let badGateway: Self = 502
| |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:90:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
88 | static let badGateway: Self = 502
89 | /// **503** The server cannot handle the request (because it is overloaded or down for maintenance).
90 | static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
/host/spi-builder-workspace/Sources/SessionPlus/Interface/StatusCode.swift:92:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// * 4xx Client Error: The request contains bad syntax or cannot be fulfilled.
8 | /// * 5xx Server Error: The server failed to fulfill an apparently valid request.
9 | public struct StatusCode: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'StatusCode' conform to the 'Sendable' protocol
10 | public let rawValue: Int
11 |
:
90 | static let serviceUnavailable: Self = 503
91 | /// **504** The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
92 | static let gatewayTimeout: Self = 504
| |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'StatusCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[51/52] Compiling SessionPlusEmulation EmulatedClient.swift
[52/52] Emitting module SessionPlusEmulation
Build complete! (9.91s)
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" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SessionPlus",
"targets" : [
"SessionPlus",
"SessionPlusEmulation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SessionPlusTests",
"module_type" : "SwiftTarget",
"name" : "SessionPlusTests",
"path" : "Tests/SessionPlusTests",
"sources" : [
"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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.