Build Information
Successful build of RealHTTP, reference 1.9.0 (fcec34
), with Swift 6.0 for macOS (SPM) on 15 Jan 2025 15:43:02 UTC.
Swift 6 data race errors: 38
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
28 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:27:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:28:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mailto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let file: Self = "file"
30 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:29:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'file' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let data: Self = "data"
31 |
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:30:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
30 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:28:23: warning: static property 'v0_9' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
26 |
27 | // swiftlint:disable identifier_name
28 | public static let v0_9: Self = 0.9
| |- warning: static property 'v0_9' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v0_9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:29:23: warning: static property 'v1_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
27 | // swiftlint:disable identifier_name
28 | public static let v0_9: Self = 0.9
29 | public static let v1_0: Self = 1.0
| |- warning: static property 'v1_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v1_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:30:23: warning: static property 'v1_1' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
28 | public static let v0_9: Self = 0.9
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
| |- warning: static property 'v1_1' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v1_1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:31:23: warning: static property 'v2_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
| |- warning: static property 'v2_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:32:23: warning: static property 'v3_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
| |- warning: static property 'v3_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v3_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let `default`: Self = v2_0
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:37:27: warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
35 |
36 | /// Create the default `Accept-Encoding` header.
37 | public static let defaultAcceptEncoding: Element = {
| |- warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .acceptEncoding(["br", "gzip", "deflate"].encodedWithQuality())
39 | }()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:43:27: warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
41 | /// Create the default `Accept-Language` header generated
42 | /// from the current system's locale settings.
43 | public static let defaultAcceptLanguage: Element = {
| |- warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let value = Locale.preferredLanguages.prefix(6).encodedWithQuality()
45 | return .acceptLanguage(value)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:50:27: warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
48 | /// Create the default `User-Agent` header.
49 | /// See <https://tools.ietf.org/html/rfc7231#section-5.5.3>.
50 | public static let defaultUserAgent: Element = {
| |- warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultUserAgent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | let libraryVersion = "\(RealHTTP.agentIdentifier)/\(RealHTTP.sdkVersion)"
52 | let mainBundle = Bundle.main
[72/81] Compiling RealHTTP HTTPHeaders+Element.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:23:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:25:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:26:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sftp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:27:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:28:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mailto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let file: Self = "file"
30 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:29:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'file' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let data: Self = "data"
31 |
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:30:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
30 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:28:23: warning: static property 'v0_9' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
26 |
27 | // swiftlint:disable identifier_name
28 | public static let v0_9: Self = 0.9
| |- warning: static property 'v0_9' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v0_9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:29:23: warning: static property 'v1_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
27 | // swiftlint:disable identifier_name
28 | public static let v0_9: Self = 0.9
29 | public static let v1_0: Self = 1.0
| |- warning: static property 'v1_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v1_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:30:23: warning: static property 'v1_1' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
28 | public static let v0_9: Self = 0.9
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
| |- warning: static property 'v1_1' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v1_1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:31:23: warning: static property 'v2_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
| |- warning: static property 'v2_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:32:23: warning: static property 'v3_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
| |- warning: static property 'v3_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v3_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let `default`: Self = v2_0
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:37:27: warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
35 |
36 | /// Create the default `Accept-Encoding` header.
37 | public static let defaultAcceptEncoding: Element = {
| |- warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .acceptEncoding(["br", "gzip", "deflate"].encodedWithQuality())
39 | }()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:43:27: warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
41 | /// Create the default `Accept-Language` header generated
42 | /// from the current system's locale settings.
43 | public static let defaultAcceptLanguage: Element = {
| |- warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let value = Locale.preferredLanguages.prefix(6).encodedWithQuality()
45 | return .acceptLanguage(value)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:50:27: warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
48 | /// Create the default `User-Agent` header.
49 | /// See <https://tools.ietf.org/html/rfc7231#section-5.5.3>.
50 | public static let defaultUserAgent: Element = {
| |- warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultUserAgent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | let libraryVersion = "\(RealHTTP.agentIdentifier)/\(RealHTTP.sdkVersion)"
52 | let mainBundle = Bundle.main
[73/81] Compiling RealHTTP HTTPHeaders.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:23:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:25:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:26:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sftp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:27:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:28:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
26 | static let sftp: Self = "sftp"
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mailto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let file: Self = "file"
30 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:29:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
27 | static let tel: Self = "tel"
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'file' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let data: Self = "data"
31 |
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:30:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
:
28 | static let mailto: Self = "mailto"
29 | static let file: Self = "file"
30 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:28:23: warning: static property 'v0_9' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
26 |
27 | // swiftlint:disable identifier_name
28 | public static let v0_9: Self = 0.9
| |- warning: static property 'v0_9' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v0_9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:29:23: warning: static property 'v1_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
27 | // swiftlint:disable identifier_name
28 | public static let v0_9: Self = 0.9
29 | public static let v1_0: Self = 1.0
| |- warning: static property 'v1_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v1_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:30:23: warning: static property 'v1_1' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
28 | public static let v0_9: Self = 0.9
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
| |- warning: static property 'v1_1' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v1_1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:31:23: warning: static property 'v2_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
29 | public static let v1_0: Self = 1.0
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
| |- warning: static property 'v2_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:32:23: warning: static property 'v3_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
30 | public static let v1_1: Self = 1.1
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
| |- warning: static property 'v3_0' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v3_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let `default`: Self = v2_0
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:37:27: warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
35 |
36 | /// Create the default `Accept-Encoding` header.
37 | public static let defaultAcceptEncoding: Element = {
| |- warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .acceptEncoding(["br", "gzip", "deflate"].encodedWithQuality())
39 | }()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:43:27: warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
41 | /// Create the default `Accept-Language` header generated
42 | /// from the current system's locale settings.
43 | public static let defaultAcceptLanguage: Element = {
| |- warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let value = Locale.preferredLanguages.prefix(6).encodedWithQuality()
45 | return .acceptLanguage(value)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift:50:27: warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// A representation of a single HTTP header's name & value pair.
24 | struct Element: Hashable, Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Element' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Properties
:
48 | /// Create the default `User-Agent` header.
49 | /// See <https://tools.ietf.org/html/rfc7231#section-5.5.3>.
50 | public static let defaultUserAgent: Element = {
| |- warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultUserAgent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | let libraryVersion = "\(RealHTTP.agentIdentifier)/\(RealHTTP.sdkVersion)"
52 | let mainBundle = Bundle.main
[74/81] Compiling RealHTTP HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[75/81] Compiling RealHTTP HTTPClientDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[76/81] Compiling RealHTTP HTTPRequest+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[77/81] Compiling RealHTTP HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[78/81] Compiling RealHTTP HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[79/81] Compiling RealHTTP HTTPBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[80/81] Compiling RealHTTP HTTPSerializableBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
[81/81] Compiling RealHTTP HTTPBody+JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// HTTPClient is the place where each request will be executed.
22 | /// It contains the complete configuration, keep cookies and sessions.
23 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Public Properties
26 |
27 | /// Shared HTTPClient instance.
28 | public static let shared = HTTPClient(baseURL: nil)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Delegate of the client.
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:22:22: warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | public class HTTPRequest: CustomStringConvertible {
22 | public typealias RequestTask = Task<HTTPResponse, Error>
| `- warning: type 'HTTPResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
24 | internal static let DefaultTimeout = TimeInterval(10)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPMethod.swift:48:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - `options`: The OPTIONS method is used to describe the communication options for the target resource.
39 | /// - `patch`: The PATCH method is used to apply partial modifications to a resource.
40 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
41 |
42 | public static var allCases: [HTTPMethod] = [.connect, .delete, .get, .head, .options, .patch, .post, .put, .trace]
:
46 | public static let connect = HTTPMethod(rawValue: "CONNECT")
47 | public static let delete = HTTPMethod(rawValue: "DELETE")
48 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let head = HTTPMethod(rawValue: "HEAD")
50 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPVersion.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the HTTP protocol version used for request.
22 | public struct HTTPVersion: Equatable, Hashable, Codable, RawRepresentable,
| `- note: consider making struct 'HTTPVersion' conform to the 'Sendable' protocol
23 | ExpressibleByFloatLiteral, CustomStringConvertible {
24 |
:
31 | public static let v2_0: Self = 2.0
32 | public static let v3_0: Self = 3.0
33 | public static let `default`: Self = v2_0
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift:29:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Defines the body of a request, including the content's body and additional headers.
24 | public struct HTTPBody {
| `- note: consider making struct 'HTTPBody' conform to the 'Sendable' protocol
25 |
26 | // MARK: - Public Static Properties
27 |
28 | /// No data to send.
29 | public static let empty = HTTPBody(content: Data())
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HTTPBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:89: warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
268 | if transferMode == .largeData {
269 | if let dataProducer = byProducingResumeData {
270 | (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
| `- warning: converting non-sendable function value to '@Sendable (Data?) -> Void' may introduce data races
271 | } else {
272 | sessionTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPScheme.swift:24:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Defines the protocol scheme for an URL.
22 | public struct HTTPScheme: Equatable, Hashable, Codable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
23 | static let http: Self = "http"
24 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let ftp: Self = "ftp"
26 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift:31:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | func fetchPublisher(in client: HTTPClient = .shared) -> AnyPublisher<HTTPResponse, Error> {
30 | return Future { fulfill in
31 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let response = try await self.fetch(client)
| `- note: closure captures 'client' which is accessible to code in the current task
34 | fulfill(.success(response))
35 | } catch {
Build complete! (19.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RealHTTP",
"name" : "RealHTTP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "RealHTTP",
"targets" : [
"RealHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RealHTTPTests",
"module_type" : "SwiftTarget",
"name" : "RealHTTPTests",
"path" : "Tests/RealHTTPTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RealHTTPTests/Resources/mac_icon.jpg",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/RealHTTPTests/Resources/test_rawdata.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Headers+Tests.swift",
"MovieDBTest.swift",
"Requests+Tests.swift"
],
"target_dependencies" : [
"RealHTTP"
],
"type" : "test"
},
{
"c99name" : "RealHTTP",
"module_type" : "SwiftTarget",
"name" : "RealHTTP",
"path" : "Sources/RealHTTP",
"product_memberships" : [
"RealHTTP"
],
"sources" : [
"Client/HTTPClient/HTTPClient.swift",
"Client/HTTPClient/HTTPClientDelegate.swift",
"Client/HTTPRequest/HTTPRequest+Combine.swift",
"Client/HTTPRequest/HTTPRequest.swift",
"Client/HTTPResponse/HTTPResponse.swift",
"Client/Internal/HTTPBody/HTTPBody.swift",
"Client/Internal/HTTPBody/HTTPSerializableBody.swift",
"Client/Internal/HTTPBody/JSON/HTTPBody+JSON.swift",
"Client/Internal/HTTPBody/JSON/JSONEncodable.swift",
"Client/Internal/HTTPBody/JSON/JSONSerializable.swift",
"Client/Internal/HTTPBody/Multipart/HTTPBody+FormValues.swift",
"Client/Internal/HTTPBody/Multipart/HTTPBody+Multipart.swift",
"Client/Internal/HTTPBody/Multipart/Support/MultipartForm+Boundary.swift",
"Client/Internal/HTTPBody/Multipart/Support/MultipartForm+Item.swift",
"Client/Internal/HTTPBody/Multipart/Support/MultipartForm.swift",
"Client/Internal/HTTPBody/Stream/HTTPBody+Stream.swift",
"Client/Internal/HTTPBody/Stream/StreamContent.swift",
"Client/Internal/HTTPBody/URLParametersData/HTTPBody+QueryString.swift",
"Client/Internal/HTTPBody/URLParametersData/URLParametersData.swift",
"Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift",
"Client/Internal/HTTPDataLoader/HTTPDataLoader.swift",
"Client/Internal/HTTPResponseTransform/HTTPResponseTransform.swift",
"Client/Internal/HTTPResponseValidator/HTTPAltRequestValidator.swift",
"Client/Internal/HTTPResponseValidator/HTTPAltTaskValidator.swift",
"Client/Internal/HTTPResponseValidator/HTTPDefaultValidator.swift",
"Client/Internal/HTTPResponseValidator/HTTPValidator.swift",
"Client/Internal/HTTPSecurity/HTTPSecurity.swift",
"Client/Internal/HTTPSecurity/HTTPSecurityService.swift",
"Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift",
"Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift",
"Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift",
"Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift",
"Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift",
"Client/Internal/Other Structures/Foundation+Extensions/HTTPFormattable.swift",
"Client/Internal/Other Structures/Foundation+Extensions/ThreadSafeDictionary.swift",
"Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift",
"Client/Internal/Other Structures/HTTPCacheControl.swift",
"Client/Internal/Other Structures/HTTPContentType.swift",
"Client/Internal/Other Structures/HTTPError.swift",
"Client/Internal/Other Structures/HTTPMethod.swift",
"Client/Internal/Other Structures/HTTPProgress.swift",
"Client/Internal/Other Structures/HTTPRequestPriority.swift",
"Client/Internal/Other Structures/HTTPScheme.swift",
"Client/Internal/Other Structures/HTTPStatusCode.swift",
"Client/Internal/Other Structures/HTTPVersion.swift",
"Client/Internal/Other Structures/Headers/HTTPHeaderElement+Name.swift",
"Client/Internal/Other Structures/Headers/HTTPHeaders+Element.swift",
"Client/Internal/Other Structures/Headers/HTTPHeaders.swift",
"Client/Internal/Other Structures/MIMEType.swift",
"Client/Internal/Other Structures/Metrics/HTTPMetrics.swift",
"Client/Internal/Other Structures/Metrics/Renders/HTTPMetrics+Console.swift",
"Client/Internal/Other Structures/Metrics/Renders/HTTPMetricsRender.swift",
"Client/Internal/Other Structures/URITemplate.swift",
"Client/Internal/Other Structures/cURLHelper.swift",
"RealHTTP.swift",
"Stubber/DataTypes/HTTPStubIgnoreRule.swift",
"Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubBodyMatcher.swift",
"Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift",
"Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubJSONMatcher.swift",
"Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubRegExMatcher.swift",
"Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURITemplateMatcher.swift",
"Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURLMatcher.swift",
"Stubber/DataTypes/Stub Matchers/HTTPStubMatcher.swift",
"Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift",
"Stubber/DataTypes/Stub Request/HTTPStubRequest+Matchers.swift",
"Stubber/DataTypes/Stub Request/HTTPStubRequest+Stub.swift",
"Stubber/DataTypes/Stub Request/HTTPStubRequest.swift",
"Stubber/DataTypes/Stub Response/HTTPEchoResponse.swift",
"Stubber/DataTypes/Stub Response/HTTPStubResponse.swift",
"Stubber/DataTypes/Support/Foundation+Stubber.swift",
"Stubber/DataTypes/Support/HTTPStub+Extension.swift",
"Stubber/DataTypes/Support/HTTPStubDataConvertible.swift",
"Stubber/HTTPStubber.swift",
"Stubber/HTTPStubberErrors.swift",
"Stubber/Hooks/HTTPStubHookProtocol.swift",
"Stubber/Hooks/HTTPStubURLProtocol.swift",
"Stubber/Hooks/URLHook.swift",
"Stubber/Hooks/URLSessionHook.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/immobiliare/realhttp/1.9.0
Repository: immobiliare/RealHTTP
Swift version used: 6.0
Target: RealHTTP
Extracting symbol information for 'RealHTTP'...
Finished extracting symbol information for 'RealHTTP'. (4.76s)
Building documentation for 'RealHTTP'...
warning: External name 'boundary' used to document parameter
--> Sources/RealHTTP/Client/Internal/HTTPBody/Multipart/Support/MultipartForm.swift:63:25-63:33
61 | /// Initialize a new multipart form.
62 | ///
63 + /// - Parameter boundary: boundary identifier, if `nil` it will generated automatically
| ╰─suggestion: Replace 'boundary' with 'id'
64 | public init(boundary id: String? = nil) {
65 | self.boundary = .init(id)
warning: Parameter 'destination' not found in initializer declaration
--> Sources/RealHTTP/Client/Internal/HTTPBody/URLParametersData/URLParametersData.swift:40:15-40:62
38 | ///
39 | /// - Parameters:
40 + /// - destination: destination of the url produced.
| ╰─suggestion: Remove 'destination' parameter documentation
41 | /// - parameters: parameters to encode.
42 | /// - boolEncoding: Specify how boolean values are encoded into the request.
warning: Parameter 'directory' is missing documentation
--> Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:67:126-67:126
65 | /// Use certs from main app bundle.
66 | ///
67 + /// - Parameter usePublicKeys: is to specific if the publicKeys or certificates should be used for SSL pinning validation
| ╰─suggestion: Document 'directory' parameter
68 | public convenience init(bundledIn directory: String = ".", usePublicKeys: Bool = false) {
69 | let fileURLs = Bundle.main.paths(forResourcesOfType: "cer", inDirectory: directory).map({
warning: Parameter 'key' not found in initializer declaration
--> Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift:43:9-43:48
41 | /// Initializer for public keys.
42 | ///
43 + /// - Parameter key: public key to be used.
| ╰─suggestion: Remove 'key' parameter documentation
44 | public init(publicKey: SecKey) {
45 | self.publicKey = publicKey
warning: Parameter 'publicKey' is missing documentation
--> Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift:43:48-43:48
41 | /// Initializer for public keys.
42 | ///
43 + /// - Parameter key: public key to be used.
| ╰─suggestion: Document 'publicKey' parameter
44 | public init(publicKey: SecKey) {
45 | self.publicKey = publicKey
warning: Parameter 'urlResponse' not found in type method declaration
--> Sources/RealHTTP/Client/Internal/Other Structures/HTTPStatusCode.swift:227:21-227:32
225 | /// If no valid code can be extracted the `.none` is set.
226 | ///
227 + /// - Parameter urlResponse: url response instance
| ╰─suggestion: Replace 'urlResponse' with 'URLResponse'
228 | public static func fromResponse(_ URLResponse: URLResponse?) -> HTTPStatusCode {
229 | guard let statusCode = (URLResponse as? HTTPURLResponse)?.statusCode else {
warning: Parameter 'URLResponse' is missing documentation
--> Sources/RealHTTP/Client/Internal/Other Structures/HTTPStatusCode.swift:227:55-227:55
225 | /// If no valid code can be extracted the `.none` is set.
226 | ///
227 + /// - Parameter urlResponse: url response instance
| ╰─suggestion: Document 'URLResponse' parameter
228 | public static func fromResponse(_ URLResponse: URLResponse?) -> HTTPStatusCode {
229 | guard let statusCode = (URLResponse as? HTTPURLResponse)?.statusCode else {
warning: Parameter 'headersDictionary' not found in initializer declaration
--> Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders.swift:79:21-79:38
77 | /// NOTE: It's case insentive so duplicate names are collapsed into the last name
78 | /// and value encountered.
79 + /// - Parameter headersDictionary: headers dictionary.
| ╰─suggestion: Replace 'headersDictionary' with 'rawDictionary'
80 | public init(rawDictionary: [String: String]?) {
81 | rawDictionary?.forEach {
warning: Parameter 'rawDictionary' is missing documentation
--> Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders.swift:79:59-79:59
77 | /// NOTE: It's case insentive so duplicate names are collapsed into the last name
78 | /// and value encountered.
79 + /// - Parameter headersDictionary: headers dictionary.
| ╰─suggestion: Document 'rawDictionary' parameter
80 | public init(rawDictionary: [String: String]?) {
81 | rawDictionary?.forEach {
warning: Parameter 'URL' not found in instance method declaration
--> Sources/RealHTTP/Stubber/DataTypes/HTTPStubIgnoreRule.swift:56:11-56:29
54 | ///
55 | /// - Parameters:
56 + /// - URL: URL target.
| ╰─suggestion: Remove 'URL' parameter documentation
57 | /// - options: comparison options for URL matcher.
58 | /// - Returns: Self
warning: Parameter 'url' is missing documentation
--> Sources/RealHTTP/Stubber/DataTypes/HTTPStubIgnoreRule.swift:57:57-57:57
55 | /// - Parameters:
56 | /// - URL: URL target.
57 + /// - options: comparison options for URL matcher.
| ╰─suggestion: Document 'url' parameter
58 | /// - Returns: Self
59 | public func match(url: URL, options: HTTPStubURLMatcher.Options = .default) -> Self {
warning: External name 'URL' used to document parameter
--> Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURLMatcher.swift:37:13-37:16
35 | ///
36 | /// - Parameters:
37 + /// - URL: URL to match. If not valid initialization fails.
| ╰─suggestion: Replace 'URL' with 'url'
38 | /// - ignoreQuery: `true` to params should be ignored by the matcher.
39 | public init?(URL url: URL, options: Options) {
warning: Parameter 'ignoreQuery' not found in initializer declaration
--> Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURLMatcher.swift:38:11-38:76
36 | /// - Parameters:
37 | /// - URL: URL to match. If not valid initialization fails.
38 + /// - ignoreQuery: `true` to params should be ignored by the matcher.
| ╰─suggestion: Remove 'ignoreQuery' parameter documentation
39 | public init?(URL url: URL, options: Options) {
40 | self.URL = url
warning: Parameter 'options' is missing documentation
--> Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURLMatcher.swift:38:76-38:76
36 | /// - Parameters:
37 | /// - URL: URL to match. If not valid initialization fails.
38 + /// - ignoreQuery: `true` to params should be ignored by the matcher.
| ╰─suggestion: Document 'options' parameter
39 | public init?(URL url: URL, options: Options) {
40 | self.URL = urlFinished building documentation for 'RealHTTP' (0.95s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/immobiliare/realhttp/1.9.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2048] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3261] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.57s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit SourceRange.swift
[17/57] Compiling SymbolKit Metadata.swift
[18/57] Compiling SymbolKit Module.swift
[19/57] Compiling SymbolKit OperatingSystem.swift
[20/57] Compiling SymbolKit Platform.swift
[21/57] Emitting module Snippets
[22/57] Compiling Snippets SnippetParser.swift
[23/57] Compiling Snippets Snippet.swift
[24/57] Compiling SymbolKit Identifier.swift
[25/57] Compiling SymbolKit KindIdentifier.swift
[26/57] Compiling SymbolKit Location.swift
[27/57] Compiling SymbolKit Mutability.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Emitting module SymbolKit
[33/57] Compiling SymbolKit Symbol.swift
[34/57] Compiling SymbolKit SymbolKind.swift
[35/57] Compiling SymbolKit SymbolGraph.swift
[36/57] Compiling SymbolKit GraphCollector.swift
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.swift
[42/57] Compiling SymbolKit GenericConstraint.swift
[43/57] Compiling SymbolKit GenericParameter.swift
[44/57] Compiling SymbolKit Generics.swift
[45/57] Compiling SymbolKit Namespace.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.06s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/73] Compiling RealHTTP HTTPStubBodyMatcher.swift
[3/73] Compiling RealHTTP HTTPStubCustomMatcher.swift
[4/73] Compiling RealHTTP HTTPStubJSONMatcher.swift
[5/73] Compiling RealHTTP HTTPStubRegExMatcher.swift
[6/73] Compiling RealHTTP HTTPStubURITemplateMatcher.swift
[7/73] Compiling RealHTTP HTTPStubURLMatcher.swift
[8/73] Compiling RealHTTP HTTPStubMatcher.swift
[9/73] Compiling RealHTTP HTTPDynamicStubResponse.swift
[10/80] Compiling RealHTTP HTTPClient.swift
[11/80] Compiling RealHTTP HTTPClientDelegate.swift
[12/80] Compiling RealHTTP HTTPRequest+Combine.swift
[13/80] Compiling RealHTTP HTTPRequest.swift
[14/80] Compiling RealHTTP HTTPResponse.swift
[15/80] Compiling RealHTTP HTTPBody.swift
[16/80] Compiling RealHTTP HTTPSerializableBody.swift
[17/80] Compiling RealHTTP HTTPBody+JSON.swift
[18/80] Compiling RealHTTP HTTPStubRequest+Matchers.swift
[19/80] Compiling RealHTTP HTTPStubRequest+Stub.swift
[20/80] Compiling RealHTTP HTTPStubRequest.swift
[21/80] Compiling RealHTTP HTTPEchoResponse.swift
[22/80] Compiling RealHTTP HTTPStubResponse.swift
[23/80] Compiling RealHTTP Foundation+Stubber.swift
[24/80] Compiling RealHTTP HTTPStub+Extension.swift
[25/80] Compiling RealHTTP JSONEncodable.swift
[26/80] Compiling RealHTTP JSONSerializable.swift
[27/80] Compiling RealHTTP HTTPBody+FormValues.swift
[28/80] Compiling RealHTTP HTTPBody+Multipart.swift
[29/80] Compiling RealHTTP MultipartForm+Boundary.swift
[30/80] Compiling RealHTTP MultipartForm+Item.swift
[31/80] Compiling RealHTTP MultipartForm.swift
[32/80] Compiling RealHTTP HTTPBody+Stream.swift
[33/80] Compiling RealHTTP HTTPDefaultValidator.swift
[34/80] Compiling RealHTTP HTTPValidator.swift
[35/80] Compiling RealHTTP HTTPSecurity.swift
[36/80] Compiling RealHTTP HTTPSecurityService.swift
[37/80] Compiling RealHTTP CertificatesSecurity.swift
[38/80] Compiling RealHTTP SSLCertificate.swift
[39/80] Compiling RealHTTP CredentialSecurity.swift
[40/80] Compiling RealHTTP SelfSignedCertsSecurity.swift
[41/80] Compiling RealHTTP StreamContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[42/80] Compiling RealHTTP HTTPBody+QueryString.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[43/80] Compiling RealHTTP URLParametersData.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[44/80] Compiling RealHTTP HTTPDataLoader+Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[45/80] Compiling RealHTTP HTTPDataLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[46/80] Compiling RealHTTP HTTPResponseTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[47/80] Compiling RealHTTP HTTPAltRequestValidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[48/80] Compiling RealHTTP HTTPAltTaskValidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:157:59: warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
155 | DispatchQueue.main.async { [weak self] in
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
| `- warning: capture of 'request' with non-sendable type 'HTTPRequest' in a `@Sendable` closure
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:21:14: note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
19 | import Foundation
20 |
21 | public class HTTPRequest: CustomStringConvertible {
| `- note: class 'HTTPRequest' does not conform to the 'Sendable' protocol
22 | public typealias RequestTask = Task<HTTPResponse, Error>
23 | public typealias RequestModifier = ((inout URLRequest) throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:158:64: warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
156 | guard let client = self?.client else { return }
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
| `- warning: capture of 'strategy' with non-sendable type 'HTTPRetryStrategy' in a `@Sendable` closure
159 | afterResponse: response)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift:62:13: note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
60 | /// - the amount of time before retry the original request once you got the response for the alt request.
61 | /// - an optional async callback to execute once you got the response of the alt request before retry the original request.
62 | public enum HTTPRetryStrategy {
| `- note: consider making enum 'HTTPRetryStrategy' conform to the 'Sendable' protocol
63 | public typealias AltRequestCatcher = ((_ request: HTTPRequest, _ response: HTTPResponse) async throws -> Void)
64 | public typealias RetryTask = ((_ originalRequest: HTTPRequest) async throws -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:159:56: warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
157 | client.delegate?.client(client, request: (request, task),
158 | willRetryWithStrategy: strategy,
159 | afterResponse: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPResponse' in a `@Sendable` closure
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:25:12: note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
23 | /// This is the raw response received from server. It includes all the
24 | /// data collected from the request including metrics and errors.
25 | open class HTTPResponse: CustomStringConvertible {
| `- note: class 'HTTPResponse' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Public Properties
[49/80] Compiling RealHTTP Foundation+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[50/80] Compiling RealHTTP HTTPFormattable.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[51/80] Compiling RealHTTP ThreadSafeDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[52/80] Compiling RealHTTP URLRequest+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[53/80] Compiling RealHTTP HTTPCacheControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[54/80] Compiling RealHTTP HTTPContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[55/80] Compiling RealHTTP HTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[56/80] Compiling RealHTTP HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[57/80] Emitting module RealHTTP
/Users/admin/builder/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
239 |
240 | public init(stringLiteral value: StaticString) {
[58/80] Compiling RealHTTP HTTPProgress.swift
[59/80] Compiling RealHTTP HTTPRequestPriority.swift
[60/80] Compiling RealHTTP HTTPScheme.swift
[61/80] Compiling RealHTTP HTTPStatusCode.swift
[62/80] Compiling RealHTTP HTTPVersion.swift
[63/80] Compiling RealHTTP HTTPHeaderElement+Name.swift
[64/80] Compiling RealHTTP HTTPHeaders+Element.swift
[65/80] Compiling RealHTTP HTTPHeaders.swift
[66/80] Compiling RealHTTP HTTPStubDataConvertible.swift
[67/80] Compiling RealHTTP HTTPStubber.swift
[68/80] Compiling RealHTTP HTTPStubberErrors.swift
[69/80] Compiling RealHTTP HTTPStubHookProtocol.swift
[70/80] Compiling RealHTTP HTTPStubURLProtocol.swift
[71/80] Compiling RealHTTP URLHook.swift
[72/80] Compiling RealHTTP URLSessionHook.swift
[73/80] Compiling RealHTTP MIMEType.swift
[74/80] Compiling RealHTTP HTTPMetrics.swift
[75/80] Compiling RealHTTP HTTPMetrics+Console.swift
[76/80] Compiling RealHTTP HTTPMetricsRender.swift
[77/80] Compiling RealHTTP URITemplate.swift
[78/80] Compiling RealHTTP cURLHelper.swift
[79/80] Compiling RealHTTP RealHTTP.swift
[80/80] Compiling RealHTTP HTTPStubIgnoreRule.swift
Build of target: 'RealHTTP' complete! (1.71s)
2296
14 /Users/admin/builder/spi-builder-workspace/.docs/immobiliare/realhttp/1.9.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/immobiliare/realhttp/1.9.0
File count: 2296
Doc size: 14.0MB
Preparing doc bundle ...
Uploading prod-immobiliare-realhttp-1.9.0-aa0d1f69.zip to s3://spi-docs-inbox/prod-immobiliare-realhttp-1.9.0-aa0d1f69.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [41%]
Copying... [51%]
Copying... [62%]
Copying... [71%]
Copying... [81%]
Copying... [92%]
Copying... [100%]
Done.