Build Information
Successful build of Request, reference main (4fd7f5
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 16:43:27 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/carson-katri/swift-request.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/carson-katri/swift-request
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4fd7f59 Attempt workflow fix
Cloned https://github.com/carson-katri/swift-request.git
Revision (git rev-parse @):
4fd7f593d10dfe310721de86bda601d817d11547
SUCCESS checkout https://github.com/carson-katri/swift-request.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-request",
"name": "Request",
"url": "https://github.com/carson-katri/swift-request.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-request",
"dependencies": [
]
}
]
}
Fetching https://github.com/carson-katri/swift-request.git
[1/1411] Fetching swift-request
Fetched https://github.com/carson-katri/swift-request.git from cache (0.97s)
Creating working copy for https://github.com/carson-katri/swift-request.git
Working copy of https://github.com/carson-katri/swift-request.git resolved at main (4fd7f59)
warning: '.resolve-product-dependencies': dependency 'swift-request' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/carson-katri/swift-request.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling Json JsonBuilder.swift
[5/8] Compiling Json Literals.swift
[6/8] Compiling Json JsonSubscript.swift
[7/8] Emitting module Json
[8/8] Compiling Json Json.swift
[9/44] Compiling Request Form.Data.swift
[10/44] Compiling Request Form.File.swift
[11/44] Compiling Request Form.Value.swift
[12/44] Compiling Request Form.swift
[13/47] Compiling Request UserAgent.swift
[14/47] Compiling Request RequestChain.swift
[15/47] Compiling Request RequestGroup+Combine.swift
[16/47] Compiling Request RequestGroup.swift
[17/47] Emitting module Request
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:15:23: warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
| |- warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCache' 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
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:16:23: warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
| |- warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noStore' 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
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:17:23: warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
| |- warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noTransform' 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
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
19 | public static func maxAge(_ seconds: Int) -> CacheType {
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:18:23: warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
| |- warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyIfCached' 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
19 | public static func maxAge(_ seconds: Int) -> CacheType {
20 | return CacheType(value: "max-age=\(seconds)")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:22:23: warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
20 | return CacheType(value: "max-age=\(seconds)")
21 | }
22 | public static let maxStale = CacheType(value: "max-stale")
| |- warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxStale' 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
23 | public static func maxStale(_ seconds: Int) -> CacheType {
24 | return CacheType(value: "max-stale=\(seconds)")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:18:27: warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let request = Self(rawValue: 1 << 0)
| |- warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'request' 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
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:19:27: warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let request = Self(rawValue: 1 << 0)
19 | public static let resource = Self(rawValue: 1 << 1)
| |- warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resource' 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
20 |
21 | public static let all: Self = [.request, .resource]
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:21:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
21 | public static let all: Self = [.request, .resource]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:80:17: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
78 | extension RequestView where Value == Data, Content == AnyView {
79 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
80 | public init<Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
81 | _ request: Request,
82 | @ViewBuilder content: @escaping (Data?) -> TupleView<(Content, Placeholder)>
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:94:42: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
92 |
93 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
94 | public init<ResponseType: Decodable, Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
95 | _ type: ResponseType.Type,
96 | _ request: Request,
[18/47] Compiling Request Headers.swift
[19/47] Compiling Request Method.swift
[20/47] Compiling Request Query.swift
[21/47] Compiling Request QueryParam.swift
[22/47] Compiling Request FormBuilder.Combined.swift
[23/47] Compiling Request FormBuilder.Empty.swift
[24/47] Compiling Request FormBuilder.swift
[25/47] Compiling Request FormParam.swift
[26/47] Compiling Request Body.swift
[27/47] Compiling Request CombinedParams.swift
[28/47] Compiling Request EmptyParam.swift
[29/47] Compiling Request Header.swift
[30/47] Compiling Request RequestParam.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:18:27: warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let request = Self(rawValue: 1 << 0)
| |- warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'request' 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
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:19:27: warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let request = Self(rawValue: 1 << 0)
19 | public static let resource = Self(rawValue: 1 << 1)
| |- warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resource' 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
20 |
21 | public static let all: Self = [.request, .resource]
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:21:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
21 | public static let all: Self = [.request, .resource]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
22 | }
23 | }
[31/47] Compiling Request SessionParam.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:18:27: warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let request = Self(rawValue: 1 << 0)
| |- warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'request' 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
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:19:27: warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let request = Self(rawValue: 1 << 0)
19 | public static let resource = Self(rawValue: 1 << 1)
| |- warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resource' 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
20 |
21 | public static let all: Self = [.request, .resource]
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:21:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
21 | public static let all: Self = [.request, .resource]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
22 | }
23 | }
[32/47] Compiling Request Timeout.Source.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:18:27: warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let request = Self(rawValue: 1 << 0)
| |- warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'request' 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
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:19:27: warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let request = Self(rawValue: 1 << 0)
19 | public static let resource = Self(rawValue: 1 << 1)
| |- warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resource' 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
20 |
21 | public static let all: Self = [.request, .resource]
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:21:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
21 | public static let all: Self = [.request, .resource]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
22 | }
23 | }
[33/47] Compiling Request Timeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:18:27: warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let request = Self(rawValue: 1 << 0)
| |- warning: static property 'request' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'request' 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
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:19:27: warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let request = Self(rawValue: 1 << 0)
19 | public static let resource = Self(rawValue: 1 << 1)
| |- warning: static property 'resource' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resource' 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
20 |
21 | public static let all: Self = [.request, .resource]
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request/RequestParams/Timeout.Source.swift:21:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension Timeout {
11 | struct Source: OptionSet {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let resource = Self(rawValue: 1 << 1)
20 |
21 | public static let all: Self = [.request, .resource]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Timeout.Source' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
22 | }
23 | }
[34/47] Compiling Request ProtocolType.swift
[35/47] Compiling Request Url.swift
[36/47] Compiling Request Requested.swift
[37/47] Compiling Request Request+Combine.swift
[38/47] Compiling Request Request.swift
[39/47] Compiling Request RequestBuilder.swift
[40/47] Compiling Request AnyParam.swift
[41/47] Compiling Request Auth.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:15:23: warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
| |- warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCache' 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
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:16:23: warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
| |- warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noStore' 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
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:17:23: warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
| |- warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noTransform' 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
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
19 | public static func maxAge(_ seconds: Int) -> CacheType {
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:18:23: warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
| |- warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyIfCached' 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
19 | public static func maxAge(_ seconds: Int) -> CacheType {
20 | return CacheType(value: "max-age=\(seconds)")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:22:23: warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
20 | return CacheType(value: "max-age=\(seconds)")
21 | }
22 | public static let maxStale = CacheType(value: "max-stale")
| |- warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxStale' 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
23 | public static func maxStale(_ seconds: Int) -> CacheType {
24 | return CacheType(value: "max-stale=\(seconds)")
[42/47] Compiling Request CacheType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:15:23: warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
| |- warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCache' 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
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:16:23: warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
| |- warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noStore' 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
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:17:23: warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
| |- warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noTransform' 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
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
19 | public static func maxAge(_ seconds: Int) -> CacheType {
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:18:23: warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
| |- warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyIfCached' 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
19 | public static func maxAge(_ seconds: Int) -> CacheType {
20 | return CacheType(value: "max-age=\(seconds)")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:22:23: warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
20 | return CacheType(value: "max-age=\(seconds)")
21 | }
22 | public static let maxStale = CacheType(value: "max-stale")
| |- warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxStale' 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
23 | public static func maxStale(_ seconds: Int) -> CacheType {
24 | return CacheType(value: "max-stale=\(seconds)")
[43/47] Compiling Request MediaType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:15:23: warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
| |- warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCache' 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
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:16:23: warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
| |- warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noStore' 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
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:17:23: warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
| |- warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noTransform' 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
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
19 | public static func maxAge(_ seconds: Int) -> CacheType {
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:18:23: warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
| |- warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyIfCached' 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
19 | public static func maxAge(_ seconds: Int) -> CacheType {
20 | return CacheType(value: "max-age=\(seconds)")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:22:23: warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
20 | return CacheType(value: "max-age=\(seconds)")
21 | }
22 | public static let maxStale = CacheType(value: "max-stale")
| |- warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxStale' 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
23 | public static func maxStale(_ seconds: Int) -> CacheType {
24 | return CacheType(value: "max-stale=\(seconds)")
[44/47] Compiling Request RequestError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:15:23: warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
| |- warning: static property 'noCache' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCache' 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
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:16:23: warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
| |- warning: static property 'noStore' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noStore' 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
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:17:23: warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
15 | public static let noCache = CacheType(value: "no-cache")
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
| |- warning: static property 'noTransform' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noTransform' 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
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
19 | public static func maxAge(_ seconds: Int) -> CacheType {
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:18:23: warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
16 | public static let noStore = CacheType(value: "no-store")
17 | public static let noTransform = CacheType(value: "no-transform")
18 | public static let onlyIfCached = CacheType(value: "only-if-cached")
| |- warning: static property 'onlyIfCached' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyIfCached' 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
19 | public static func maxAge(_ seconds: Int) -> CacheType {
20 | return CacheType(value: "max-age=\(seconds)")
/Users/admin/builder/spi-builder-workspace/Sources/Request/Helpers/CacheType.swift:22:23: warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The caching method, to be used with the `Cache-Control` header
12 | public struct CacheType {
| `- note: consider making struct 'CacheType' conform to the 'Sendable' protocol
13 | public let value: String
14 |
:
20 | return CacheType(value: "max-age=\(seconds)")
21 | }
22 | public static let maxStale = CacheType(value: "max-stale")
| |- warning: static property 'maxStale' is not concurrency-safe because non-'Sendable' type 'CacheType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxStale' 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
23 | public static func maxStale(_ seconds: Int) -> CacheType {
24 | return CacheType(value: "max-stale=\(seconds)")
[45/47] Compiling Request RequestStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:80:17: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
78 | extension RequestView where Value == Data, Content == AnyView {
79 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
80 | public init<Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
81 | _ request: Request,
82 | @ViewBuilder content: @escaping (Data?) -> TupleView<(Content, Placeholder)>
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:94:42: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
92 |
93 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
94 | public init<ResponseType: Decodable, Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
95 | _ type: ResponseType.Type,
96 | _ request: Request,
[46/47] Compiling Request RequestImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:80:17: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
78 | extension RequestView where Value == Data, Content == AnyView {
79 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
80 | public init<Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
81 | _ request: Request,
82 | @ViewBuilder content: @escaping (Data?) -> TupleView<(Content, Placeholder)>
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:94:42: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
92 |
93 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
94 | public init<ResponseType: Decodable, Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
95 | _ type: ResponseType.Type,
96 | _ request: Request,
[47/47] Compiling Request RequestView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:80:17: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
78 | extension RequestView where Value == Data, Content == AnyView {
79 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
80 | public init<Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
81 | _ request: Request,
82 | @ViewBuilder content: @escaping (Data?) -> TupleView<(Content, Placeholder)>
/Users/admin/builder/spi-builder-workspace/Sources/Request/SwiftUI/Views/RequestView.swift:94:42: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
15 | ///
16 | /// It takes a `Request`, a placeholder and any content you want rendered.
17 | public struct RequestView<Value, Content> : View where Value: Decodable, Content: View {
| `- note: 'Content' previously declared here
18 | private let request: AnyRequest<Value>
19 | private let content: (RequestStatus<Value>) -> Content
:
92 |
93 | @available(*, deprecated, message: "Optional result bodies are deprecated. Please use `RequestStatus` bodies instead.")
94 | public init<ResponseType: Decodable, Content: View, Placeholder: View>(
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
95 | _ type: ResponseType.Type,
96 | _ request: Request,
Build complete! (14.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Request",
"name" : "Request",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Request",
"targets" : [
"Request"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Json",
"targets" : [
"Json"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RequestTests",
"module_type" : "SwiftTarget",
"name" : "RequestTests",
"path" : "Tests/RequestTests",
"sources" : [
"JsonTests.swift",
"RequestTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Request",
"Json"
],
"type" : "test"
},
{
"c99name" : "Request",
"module_type" : "SwiftTarget",
"name" : "Request",
"path" : "Sources/Request",
"product_memberships" : [
"Request"
],
"sources" : [
"Helpers/Auth.swift",
"Helpers/CacheType.swift",
"Helpers/MediaType.swift",
"Helpers/RequestError.swift",
"Helpers/UserAgent.swift",
"Request/Extra/RequestChain.swift",
"Request/Extra/RequestGroup+Combine.swift",
"Request/Extra/RequestGroup.swift",
"Request/FormParam/Form.Data.swift",
"Request/FormParam/Form.File.swift",
"Request/FormParam/Form.Value.swift",
"Request/FormParam/Form.swift",
"Request/FormParam/FormBuilder.Combined.swift",
"Request/FormParam/FormBuilder.Empty.swift",
"Request/FormParam/FormBuilder.swift",
"Request/FormParam/FormParam.swift",
"Request/Request+Combine.swift",
"Request/Request.swift",
"Request/RequestBuilder.swift",
"Request/RequestParams/AnyParam.swift",
"Request/RequestParams/Body.swift",
"Request/RequestParams/CombinedParams.swift",
"Request/RequestParams/EmptyParam.swift",
"Request/RequestParams/Header.swift",
"Request/RequestParams/Headers.swift",
"Request/RequestParams/Method.swift",
"Request/RequestParams/Query.swift",
"Request/RequestParams/QueryParam.swift",
"Request/RequestParams/RequestParam.swift",
"Request/RequestParams/SessionParam.swift",
"Request/RequestParams/Timeout.Source.swift",
"Request/RequestParams/Timeout.swift",
"Request/RequestParams/Url/ProtocolType.swift",
"Request/RequestParams/Url/Url.swift",
"SwiftUI/PropertyWrappers/Requested.swift",
"SwiftUI/RequestStatus.swift",
"SwiftUI/Views/RequestImage.swift",
"SwiftUI/Views/RequestView.swift"
],
"target_dependencies" : [
"Json"
],
"type" : "library"
},
{
"c99name" : "Json",
"module_type" : "SwiftTarget",
"name" : "Json",
"path" : "Sources/Json",
"product_memberships" : [
"Request",
"Json"
],
"sources" : [
"Json.swift",
"JsonBuilder.swift",
"JsonSubscript.swift",
"Literals.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.