The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NetworkService, reference 4.1.1 (546d9b), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 09:02:14 UTC.

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

  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 52 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
 53 |         /// failure
 54 |         func delete<ResponseBody>(_ url: URL, headers: [any HTTPHeader]) async -> Result<ResponseBody, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 55 |             where ResponseBody: TopLevelDecodable
 56 |
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:63:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 61 |         ///   - headers: HTTP headers for the request
 62 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 63 |         func get(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 64 |             _ url: URL,
 65 |             headers: [any HTTPHeader]
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:74:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
 72 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 73 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 74 |         func get<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
 75 |             _ url: URL,
 76 |             headers: [any HTTPHeader],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:74:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 72 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 73 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 74 |         func get<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 75 |             _ url: URL,
 76 |             headers: [any HTTPHeader],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:87:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 85 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
 86 |         /// failure
 87 |         func get<ResponseBody>(_ url: URL, headers: [any HTTPHeader]) async -> Result<ResponseBody, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 88 |             where ResponseBody: TopLevelDecodable
 89 |
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:97:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 95 |         ///   - headers: HTTP headers for the request
 96 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 97 |         func post(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 98 |             _ body: Data,
 99 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:109:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
107 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
108 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
109 |         func post<RequestBody, Encoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
110 |             _ body: RequestBody,
111 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:109:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
107 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
108 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
109 |         func post<RequestBody, Encoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
110 |             _ body: RequestBody,
111 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:124:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
122 |         ///   - headers: HTTP headers for the request
123 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
124 |         func post<RequestBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
125 |             _ body: RequestBody,
126 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:138:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
136 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
137 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
138 |         func post<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
139 |             _ body: Data,
140 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:138:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
136 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
137 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
138 |         func post<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
139 |             _ body: Data,
140 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:152:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
150 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
151 |         /// failure
152 |         func post<ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
153 |             _ body: Data,
154 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:167:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
165 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
166 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
167 |         func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
168 |             _ body: RequestBody,
169 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:167:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
165 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
166 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
167 |         func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
168 |             _ body: RequestBody,
169 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:188:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
186 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
187 |         /// failure
188 |         func post<RequestBody, ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
189 |             _ body: RequestBody,
190 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:203:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
201 |         ///   - headers: HTTP headers for the request
202 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
203 |         func put(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
204 |             _ body: Data,
205 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:215:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
213 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
214 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
215 |         func put<RequestBody, Encoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
216 |             _ body: RequestBody,
217 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:215:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
213 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
214 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
215 |         func put<RequestBody, Encoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
216 |             _ body: RequestBody,
217 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:230:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
228 |         ///   - headers: HTTP headers for the request
229 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
230 |         func put<RequestBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
231 |             _ body: RequestBody,
232 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:244:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
242 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
243 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
244 |         func put<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
245 |             _ body: Data,
246 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:244:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
242 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
243 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
244 |         func put<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
245 |             _ body: Data,
246 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:258:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
256 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
257 |         /// failure
258 |         func put<ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
259 |             _ body: Data,
260 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:273:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
271 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
272 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
273 |         func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
274 |             _ body: RequestBody,
275 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:273:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
271 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
272 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
273 |         func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
274 |             _ body: RequestBody,
275 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:293:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
291 |         ///   - headers: HTTP headers for the request
292 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
293 |         func put<RequestBody, ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
294 |             _ body: RequestBody,
295 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:306:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
304 |         /// - Parameter request: The request as a `URLRequest`
305 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
306 |         func start<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
307 |             _ request: URLRequest,
308 |             with decoder: Decoder
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:306:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
304 |         /// - Parameter request: The request as a `URLRequest`
305 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
306 |         func start<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
307 |             _ request: URLRequest,
308 |             with decoder: Decoder
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:315:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
313 |         /// - Parameter request: The request as a `URLRequest`
314 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
315 |         func start<ResponseBody>(_ request: URLRequest) async -> Result<ResponseBody, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
316 |             where ResponseBody: TopLevelDecodable
317 |
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:321:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
319 |         /// - Parameter request: The request as a `URLRequest`
320 |         /// - Returns: Type erased publisher with output as `Data` and `NetworkService`'s error domain for failure
321 |         func start(_ request: URLRequest) async -> Result<Data, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
322 |     }
323 | #else
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:16:17: error: method cannot be declared public because its result uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
10 |
11 | extension Result where Success == (Data, URLResponse), Failure == any Error {
   :
14 |     /// - Returns:
15 |     ///     - `Publishers.TryMap<Self, Data>`
16 |     public func httpMap() -> Result<Data, NetworkService.Failure> {
   |                 |- error: method cannot be declared public because its result uses an internal type
   |                 `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
17 |         flatMap { data, response in
18 |             guard let httpResponse = response as? HTTPURLResponse else {
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:11:36: error: cannot use struct 'Data' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
10 |
11 | extension Result where Success == (Data, URLResponse), Failure == any Error {
   |                                    `- error: cannot use struct 'Data' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Casts and unwraps a `URLSession.DataTaskPublisher.Output` while ensuring the
13 |     /// response code indicates success.
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:11:42: error: cannot use class 'URLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: class 'URLResponse' imported as 'internal' from 'Foundation' here
10 |
11 | extension Result where Success == (Data, URLResponse), Failure == any Error {
   |                                          `- error: cannot use class 'URLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Casts and unwraps a `URLSession.DataTaskPublisher.Output` while ensuring the
13 |     /// response code indicates success.
Foundation.URLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class URLResponse : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
   |            `- note: type declared here
 3 |     public init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
 4 |     @available(swift, obsoleted: 3, renamed: "init(url:mimeType:expectedContentLength:textEncodingName:)")
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:15:24: error: associated type in a public protocol uses an internal type in its requirement
 8 |
 9 | #if canImport(Combine)
10 |     import Combine
   |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
11 |     import Foundation
12 |
13 |     /// Associates a default `TopLevelEncoder` type with a given type
14 |     public protocol TopLevelEncodable: Encodable {
15 |         associatedtype AdoptedEncoder: TopLevelEncoder where AdoptedEncoder.Output == Data
   |                        |- error: associated type in a public protocol uses an internal type in its requirement
   |                        `- note: protocol 'TopLevelEncoder' is imported by this file as 'internal' from 'Combine'
16 |
17 |         /// The default `TopLevelEncoder` for the conforming type
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:23:24: error: associated type in a public protocol uses an internal type in its requirement
 8 |
 9 | #if canImport(Combine)
10 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
11 |     import Foundation
12 |
   :
21 |     /// Associates a default `TopLevelDecoder` type with a given type
22 |     public protocol TopLevelDecodable: Decodable {
23 |         associatedtype AdoptedDecoder: TopLevelDecoder where AdoptedDecoder.Input == Data
   |                        |- error: associated type in a public protocol uses an internal type in its requirement
   |                        `- note: protocol 'TopLevelDecoder' is imported by this file as 'internal' from 'Combine'
24 |
25 |         /// The default `TopLevelDecoder` for the conforming type
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:30:21: error: public protocol's 'where' clause cannot use an internal type
 8 |
 9 | #if canImport(Combine)
10 |     import Combine
   |     `- note: associated type 'Output' imported as 'internal' from 'Combine' here
11 |     import Foundation
12 |
   :
28 |
29 |     /// Convenience protocol for conforming to `TopLevelEncodable` and `TopLevelDecodable`
30 |     public protocol TopLevelCodable: TopLevelEncodable,
   |                     |- error: public protocol's 'where' clause cannot use an internal type
   |                     `- note: associated type 'Output' is imported by this file as 'internal' from 'Combine'
31 |         TopLevelDecodable where AdoptedEncoder.Output == AdoptedDecoder.Input {}
32 |
Combine.TopLevelEncoder:3:20: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
3 |     associatedtype Output
  |                    `- note: type declared here
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift:11:11: error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension URLRequest {
   |           `- error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Add HTTP header values to a URLRequest with type safety, avoiding the use of raw strings
13 |     /// - Parameter header: The HTTP header to be added
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift:36:11: error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension URLRequest {
   :
34 | }
35 |
36 | extension URLRequest.ContentType: HTTPHeader {
   |           `- error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
37 |     public var key: String { Self.key }
38 |     public var value: String { rawValue }
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift:18:16: error: property cannot be declared public because its type uses an internal type
16 |
17 |     /// Getter/Setter wrapper for `httpMethod: String?` using type-safe `HTTPMethod`
18 |     public var method: HTTPMethod? {
   |                `- error: property cannot be declared public because its type uses an internal type
19 |         get {
20 |             guard let httpMethod = httpMethod else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift:11:11: error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension URLRequest {
   |           `- error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Type-safe enumeration of HTTP methods
13 |     public enum HTTPMethod: String, Hashable, Sendable {
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
[18/38] Compiling NetworkService HTTPURLResponse+StatusCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift:11:11: error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension HTTPURLResponse {
    |           `- error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 12 |     public typealias StatusCode = Int
 13 |
Foundation.HTTPURLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class HTTPURLResponse : URLResponse, @unchecked Sendable {
   |            `- note: type declared here
 3 |     @available(macOS 10.7, *)
 4 |     public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift:30:11: error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension HTTPURLResponse {
    :
 28 | }
 29 |
 30 | extension HTTPURLResponse.StatusCode {
    |           `- error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 31 |     // MARK: Informational
 32 |
Foundation.HTTPURLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class HTTPURLResponse : URLResponse, @unchecked Sendable {
   |            `- note: type declared here
 3 |     @available(macOS 10.7, *)
 4 |     public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:16:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: class 'URLResponse' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
14 |     /// `NetworkService`'s error domain
15 |     public enum Failure: Error, Hashable, Sendable {
16 |         case urlResponse(URLResponse)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: class 'URLResponse' is imported by this file as 'internal' from 'Foundation'
17 |         case httpResponse(HTTPURLResponse)
18 |         case urlError(URLError)
Foundation.URLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class URLResponse : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
   |            `- note: type declared here
 3 |     public init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
 4 |     @available(swift, obsoleted: 3, renamed: "init(url:mimeType:expectedContentLength:textEncodingName:)")
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:17:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
15 |     public enum Failure: Error, Hashable, Sendable {
16 |         case urlResponse(URLResponse)
17 |         case httpResponse(HTTPURLResponse)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: class 'HTTPURLResponse' is imported by this file as 'internal' from 'Foundation'
18 |         case urlError(URLError)
19 |         case unknown(NSError)
Foundation.HTTPURLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class HTTPURLResponse : URLResponse, @unchecked Sendable {
   |            `- note: type declared here
 3 |     @available(macOS 10.7, *)
 4 |     public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:18:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: struct 'URLError' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
16 |         case urlResponse(URLResponse)
17 |         case httpResponse(HTTPURLResponse)
18 |         case urlError(URLError)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: struct 'URLError' is imported by this file as 'internal' from 'Foundation'
19 |         case unknown(NSError)
20 |
Foundation.URLError:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLError : _BridgedStoredNSError {
   |               `- note: type declared here
 3 |     public let _nsError: NSError
 4 |     public init(_nsError error: NSError)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:19:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: class 'NSError' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
17 |         case httpResponse(HTTPURLResponse)
18 |         case urlError(URLError)
19 |         case unknown(NSError)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: class 'NSError' is imported by this file as 'internal' from 'Foundation'
20 |
21 |         public var localizedDescription: String {
Foundation.NSError:1:12: note: type declared here
 1 | open class NSError : NSObject, NSCopying, NSSecureCoding, @unchecked Sendable {
   |            `- note: type declared here
 2 |     public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
 3 |     @available(*, unavailable, renamed: "init(domain:code:userInfo:)", message: "Not available in Swift")
[19/38] Compiling NetworkService NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift:11:11: error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension HTTPURLResponse {
    |           `- error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 12 |     public typealias StatusCode = Int
 13 |
Foundation.HTTPURLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class HTTPURLResponse : URLResponse, @unchecked Sendable {
   |            `- note: type declared here
 3 |     @available(macOS 10.7, *)
 4 |     public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift:30:11: error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension HTTPURLResponse {
    :
 28 | }
 29 |
 30 | extension HTTPURLResponse.StatusCode {
    |           `- error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 31 |     // MARK: Informational
 32 |
Foundation.HTTPURLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class HTTPURLResponse : URLResponse, @unchecked Sendable {
   |            `- note: type declared here
 3 |     @available(macOS 10.7, *)
 4 |     public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:16:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: class 'URLResponse' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
14 |     /// `NetworkService`'s error domain
15 |     public enum Failure: Error, Hashable, Sendable {
16 |         case urlResponse(URLResponse)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: class 'URLResponse' is imported by this file as 'internal' from 'Foundation'
17 |         case httpResponse(HTTPURLResponse)
18 |         case urlError(URLError)
Foundation.URLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class URLResponse : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
   |            `- note: type declared here
 3 |     public init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
 4 |     @available(swift, obsoleted: 3, renamed: "init(url:mimeType:expectedContentLength:textEncodingName:)")
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:17:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
15 |     public enum Failure: Error, Hashable, Sendable {
16 |         case urlResponse(URLResponse)
17 |         case httpResponse(HTTPURLResponse)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: class 'HTTPURLResponse' is imported by this file as 'internal' from 'Foundation'
18 |         case urlError(URLError)
19 |         case unknown(NSError)
Foundation.HTTPURLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class HTTPURLResponse : URLResponse, @unchecked Sendable {
   |            `- note: type declared here
 3 |     @available(macOS 10.7, *)
 4 |     public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:18:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: struct 'URLError' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
16 |         case urlResponse(URLResponse)
17 |         case httpResponse(HTTPURLResponse)
18 |         case urlError(URLError)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: struct 'URLError' is imported by this file as 'internal' from 'Foundation'
19 |         case unknown(NSError)
20 |
Foundation.URLError:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLError : _BridgedStoredNSError {
   |               `- note: type declared here
 3 |     public let _nsError: NSError
 4 |     public init(_nsError error: NSError)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:19:14: error: enum case in a public enum uses an internal type
 8 |
 9 | import Combine
10 | import Foundation
   | `- note: class 'NSError' imported as 'internal' from 'Foundation' here
11 |
12 | /// Provides methods for making network requests and processing the resulting responses
   :
17 |         case httpResponse(HTTPURLResponse)
18 |         case urlError(URLError)
19 |         case unknown(NSError)
   |              |- error: enum case in a public enum uses an internal type
   |              `- note: class 'NSError' is imported by this file as 'internal' from 'Foundation'
20 |
21 |         public var localizedDescription: String {
Foundation.NSError:1:12: note: type declared here
 1 | open class NSError : NSObject, NSCopying, NSSecureCoding, @unchecked Sendable {
   |            `- note: type declared here
 2 |     public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
 3 |     @available(*, unavailable, renamed: "init(domain:code:userInfo:)", message: "Not available in Swift")
[20/38] Compiling NetworkService URLRequest+HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift:11:11: error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension URLRequest {
   |           `- error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Add HTTP header values to a URLRequest with type safety, avoiding the use of raw strings
13 |     /// - Parameter header: The HTTP header to be added
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift:36:11: error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension URLRequest {
   :
34 | }
35 |
36 | extension URLRequest.ContentType: HTTPHeader {
   |           `- error: cannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
37 |     public var key: String { Self.key }
38 |     public var value: String { rawValue }
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
[21/38] Compiling NetworkService NetworkServiceClient+Put.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:19:17: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 17 |     ///   - headers: HTTP headers for the request
 18 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 19 |     public func put(
    |                 |- error: method cannot be declared public because its parameter uses an internal type
    |                 `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 20 |         _ body: Data,
 21 |         to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:39:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func put<RequestBody, Encoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:39:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func put<RequestBody, Encoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:64:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 62 |         ///   - headers: HTTP headers for the request
 63 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 64 |         public func put<RequestBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 65 |             _ body: RequestBody,
 66 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:88:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 86 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 87 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 88 |         public func put<ResponseBody, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 89 |             _ body: Data,
 90 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:88:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 86 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 87 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 88 |         public func put<ResponseBody, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 89 |             _ body: Data,
 90 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:107:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
105 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
106 |         /// failure
107 |         public func put<ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
108 |             _ body: Data,
109 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:125:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
126 |             _ body: RequestBody,
127 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:125:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
126 |             _ body: RequestBody,
127 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:155:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
153 |         ///   - headers: HTTP headers for the request
154 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
155 |         public func put<RequestBody, ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
156 |             _ body: RequestBody,
157 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:15:17: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
13 |     /// - Parameter request: The request as a `URLRequest`
14 |     /// - Returns: Type erased publisher with output as `Data` and `NetworkService`'s error domain for failure
15 |     public func start(_ request: URLRequest) async -> Result<Data, Failure> {
   |                 |- error: method cannot be declared public because its parameter uses an internal type
   |                 `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
16 |         let result: Result<(Data, URLResponse), any Error>
17 |         do {
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:73:21: error: instance method cannot be declared public because its generic requirement uses an internal type
65 |
66 | #if canImport(Combine)
67 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
68 |
69 |     extension NetworkServiceClient {
   :
71 |         /// - Parameter request: The request as a `URLRequest`
72 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
73 |         public func start<ResponseBody, Decoder>(
   |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
74 |             _ request: URLRequest,
75 |             with decoder: Decoder
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:73:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
71 |         /// - Parameter request: The request as a `URLRequest`
72 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
73 |         public func start<ResponseBody, Decoder>(
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
74 |             _ request: URLRequest,
75 |             with decoder: Decoder
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:87:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
85 |         /// - Parameter request: The request as a `URLRequest`
86 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
87 |         public func start<ResponseBody>(_ request: URLRequest) async -> Result<ResponseBody, Failure>
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
88 |             where ResponseBody: TopLevelDecodable
89 |         {
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:45:36: warning: capture of 'taskIdBox' with non-sendable type 'TaskIdBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |             },
44 |             onCancel: { [session, taskIdBox] in
45 |                 guard let taskId = taskIdBox.value else {
   |                                    `- warning: capture of 'taskIdBox' with non-sendable type 'TaskIdBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |                     return
47 |                 }
   :
56 | }
57 |
58 | private final class TaskIdBox {
   |                     `- note: class 'TaskIdBox' does not conform to the 'Sendable' protocol
59 |     var value: Int?
60 |
[22/38] Compiling NetworkService NetworkServiceClient+Start.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:19:17: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 17 |     ///   - headers: HTTP headers for the request
 18 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 19 |     public func put(
    |                 |- error: method cannot be declared public because its parameter uses an internal type
    |                 `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 20 |         _ body: Data,
 21 |         to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:39:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func put<RequestBody, Encoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:39:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func put<RequestBody, Encoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:64:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 62 |         ///   - headers: HTTP headers for the request
 63 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 64 |         public func put<RequestBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 65 |             _ body: RequestBody,
 66 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:88:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 86 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 87 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 88 |         public func put<ResponseBody, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 89 |             _ body: Data,
 90 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:88:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 86 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 87 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 88 |         public func put<ResponseBody, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 89 |             _ body: Data,
 90 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:107:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
105 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
106 |         /// failure
107 |         public func put<ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
108 |             _ body: Data,
109 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:125:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
126 |             _ body: RequestBody,
127 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:125:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
126 |             _ body: RequestBody,
127 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:155:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
153 |         ///   - headers: HTTP headers for the request
154 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
155 |         public func put<RequestBody, ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
156 |             _ body: RequestBody,
157 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:15:17: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
13 |     /// - Parameter request: The request as a `URLRequest`
14 |     /// - Returns: Type erased publisher with output as `Data` and `NetworkService`'s error domain for failure
15 |     public func start(_ request: URLRequest) async -> Result<Data, Failure> {
   |                 |- error: method cannot be declared public because its parameter uses an internal type
   |                 `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
16 |         let result: Result<(Data, URLResponse), any Error>
17 |         do {
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:73:21: error: instance method cannot be declared public because its generic requirement uses an internal type
65 |
66 | #if canImport(Combine)
67 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
68 |
69 |     extension NetworkServiceClient {
   :
71 |         /// - Parameter request: The request as a `URLRequest`
72 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
73 |         public func start<ResponseBody, Decoder>(
   |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
74 |             _ request: URLRequest,
75 |             with decoder: Decoder
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:73:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
71 |         /// - Parameter request: The request as a `URLRequest`
72 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
73 |         public func start<ResponseBody, Decoder>(
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
74 |             _ request: URLRequest,
75 |             with decoder: Decoder
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:87:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
85 |         /// - Parameter request: The request as a `URLRequest`
86 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
87 |         public func start<ResponseBody>(_ request: URLRequest) async -> Result<ResponseBody, Failure>
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
88 |             where ResponseBody: TopLevelDecodable
89 |         {
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:45:36: warning: capture of 'taskIdBox' with non-sendable type 'TaskIdBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |             },
44 |             onCancel: { [session, taskIdBox] in
45 |                 guard let taskId = taskIdBox.value else {
   |                                    `- warning: capture of 'taskIdBox' with non-sendable type 'TaskIdBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |                     return
47 |                 }
   :
56 | }
57 |
58 | private final class TaskIdBox {
   |                     `- note: class 'TaskIdBox' does not conform to the 'Sendable' protocol
59 |     var value: Int?
60 |
[23/38] Compiling XCTestDynamicOverlay XCTFail.swift
[24/38] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[25/38] Compiling NetworkService NetworkServiceClient+Delete.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:18:17: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
16 |     ///   - headers: HTTP headers for the request
17 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
18 |     public func delete(
   |                 |- error: method cannot be declared public because its parameter uses an internal type
   |                 `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
19 |         _ url: URL,
20 |         headers: [any HTTPHeader] = []
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:37:21: error: instance method cannot be declared public because its generic requirement uses an internal type
26 |
27 | #if canImport(Combine)
28 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
29 |
30 |     extension NetworkServiceClient {
   :
35 |         ///   - decoder: `TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func delete<ResponseBody, Decoder>(
   |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:37:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
35 |         ///   - decoder: `TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func delete<ResponseBody, Decoder>(
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:55:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
53 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
54 |         /// failure
55 |         public func delete<ResponseBody>(_ url: URL,
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
56 |                                          headers: [any HTTPHeader] = []) async -> Result<ResponseBody, Failure>
57 |             where ResponseBody: TopLevelDecodable
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:18:17: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
16 |     ///   - headers: HTTP headers for the request
17 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
18 |     public func get(
   |                 |- error: method cannot be declared public because its parameter uses an internal type
   |                 `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
19 |         _ url: URL,
20 |         headers: [any HTTPHeader] = []
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:37:21: error: instance method cannot be declared public because its generic requirement uses an internal type
26 |
27 | #if canImport(Combine)
28 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
29 |
30 |     extension NetworkServiceClient {
   :
35 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func get<ResponseBody, Decoder>(
   |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:37:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
35 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func get<ResponseBody, Decoder>(
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:55:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
53 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
54 |         /// failure
55 |         public func get<ResponseBody>(_ url: URL, headers: [any HTTPHeader] = []) async -> Result<ResponseBody, Failure>
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
56 |             where ResponseBody: TopLevelDecodable
57 |         {
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
[26/38] Compiling NetworkService NetworkServiceClient+Get.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:18:17: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
16 |     ///   - headers: HTTP headers for the request
17 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
18 |     public func delete(
   |                 |- error: method cannot be declared public because its parameter uses an internal type
   |                 `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
19 |         _ url: URL,
20 |         headers: [any HTTPHeader] = []
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:37:21: error: instance method cannot be declared public because its generic requirement uses an internal type
26 |
27 | #if canImport(Combine)
28 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
29 |
30 |     extension NetworkServiceClient {
   :
35 |         ///   - decoder: `TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func delete<ResponseBody, Decoder>(
   |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:37:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
35 |         ///   - decoder: `TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func delete<ResponseBody, Decoder>(
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:55:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
53 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
54 |         /// failure
55 |         public func delete<ResponseBody>(_ url: URL,
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
56 |                                          headers: [any HTTPHeader] = []) async -> Result<ResponseBody, Failure>
57 |             where ResponseBody: TopLevelDecodable
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:18:17: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
16 |     ///   - headers: HTTP headers for the request
17 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
18 |     public func get(
   |                 |- error: method cannot be declared public because its parameter uses an internal type
   |                 `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
19 |         _ url: URL,
20 |         headers: [any HTTPHeader] = []
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:37:21: error: instance method cannot be declared public because its generic requirement uses an internal type
26 |
27 | #if canImport(Combine)
28 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
29 |
30 |     extension NetworkServiceClient {
   :
35 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func get<ResponseBody, Decoder>(
   |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:37:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
35 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
36 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
37 |         public func get<ResponseBody, Decoder>(
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
38 |             _ url: URL,
39 |             headers: [any HTTPHeader] = [],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:55:21: error: method cannot be declared public because its parameter uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
   :
53 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
54 |         /// failure
55 |         public func get<ResponseBody>(_ url: URL, headers: [any HTTPHeader] = []) async -> Result<ResponseBody, Failure>
   |                     |- error: method cannot be declared public because its parameter uses an internal type
   |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
56 |             where ResponseBody: TopLevelDecodable
57 |         {
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
[27/38] Compiling NetworkService NetworkServiceClient+GetSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+GetSession.swift:13:17: error: method cannot be declared public because its result uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: class 'URLSession' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
12 |     /// Default implementation of `getSession` that returns the `shared` instance
13 |     public func getSession() -> URLSession {
   |                 |- error: method cannot be declared public because its result uses an internal type
   |                 `- note: class 'URLSession' is imported by this file as 'internal' from 'Foundation'
14 |         URLSession.shared
15 |     }
Foundation.URLSession:2:12: note: type declared here
 1 | @available(macOS 10.9, *)
 2 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: type declared here
 3 |     open class var shared: URLSession { get }
 4 |     @available(swift, obsoleted: 3, renamed: "shared")
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:19:17: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 17 |     ///   - headers: HTTP headers for the request
 18 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 19 |     public func post(
    |                 |- error: method cannot be declared public because its parameter uses an internal type
    |                 `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 20 |         _ body: Data,
 21 |         to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:39:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func post<RequestBody, Encoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:39:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func post<RequestBody, Encoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:62:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 60 |         ///   - headers: HTTP headers for the request
 61 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 62 |         public func post<RequestBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 63 |             _ body: RequestBody,
 64 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:86:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 84 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 85 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 86 |         public func post<ResponseBody, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 87 |             _ body: Data,
 88 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:86:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 84 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 85 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 86 |         public func post<ResponseBody, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 87 |             _ body: Data,
 88 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:107:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
105 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
106 |         /// failure
107 |         public func post<ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
108 |             _ body: Data,
109 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:125:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
126 |             _ body: RequestBody,
127 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:125:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
126 |             _ body: RequestBody,
127 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:156:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
154 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
155 |         /// failure
156 |         public func post<RequestBody, ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
157 |             _ body: RequestBody,
158 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
[28/38] Compiling NetworkService NetworkServiceClient+Post.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+GetSession.swift:13:17: error: method cannot be declared public because its result uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: class 'URLSession' imported as 'internal' from 'Foundation' here
10 |
11 | extension NetworkServiceClient {
12 |     /// Default implementation of `getSession` that returns the `shared` instance
13 |     public func getSession() -> URLSession {
   |                 |- error: method cannot be declared public because its result uses an internal type
   |                 `- note: class 'URLSession' is imported by this file as 'internal' from 'Foundation'
14 |         URLSession.shared
15 |     }
Foundation.URLSession:2:12: note: type declared here
 1 | @available(macOS 10.9, *)
 2 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: type declared here
 3 |     open class var shared: URLSession { get }
 4 |     @available(swift, obsoleted: 3, renamed: "shared")
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:19:17: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 17 |     ///   - headers: HTTP headers for the request
 18 |     /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 19 |     public func post(
    |                 |- error: method cannot be declared public because its parameter uses an internal type
    |                 `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 20 |         _ body: Data,
 21 |         to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:39:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func post<RequestBody, Encoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:39:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 37 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
 38 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 39 |         public func post<RequestBody, Encoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 40 |             _ body: RequestBody,
 41 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:62:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 60 |         ///   - headers: HTTP headers for the request
 61 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 62 |         public func post<RequestBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 63 |             _ body: RequestBody,
 64 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:86:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
 84 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 85 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 86 |         public func post<ResponseBody, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
 87 |             _ body: Data,
 88 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:86:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
 84 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 85 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 86 |         public func post<ResponseBody, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 87 |             _ body: Data,
 88 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:107:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
105 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
106 |         /// failure
107 |         public func post<ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
108 |             _ body: Data,
109 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:125:21: error: instance method cannot be declared public because its generic requirement uses an internal type
 28 |
 29 | #if canImport(Combine)
 30 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 31 |
 32 |     extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     `- error: instance method cannot be declared public because its generic requirement uses an internal type
126 |             _ body: RequestBody,
127 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:125:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
123 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
124 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
125 |         public func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
126 |             _ body: RequestBody,
127 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:156:21: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension NetworkServiceClient {
    :
154 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
155 |         /// failure
156 |         public func post<RequestBody, ResponseBody>(
    |                     |- error: method cannot be declared public because its parameter uses an internal type
    |                     `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
157 |             _ body: RequestBody,
158 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
[29/38] Compiling ConcurrencyExtras AsyncStream.swift
[30/38] Compiling ConcurrencyExtras ActorIsolated.swift
[31/38] Emitting module ConcurrencyExtras
[32/38] Compiling ConcurrencyExtras LockIsolated.swift
[33/38] Compiling NetworkService NetworkServiceClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:22:14: error: method cannot be declared public because its result uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: class 'URLSession' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 20 |
 21 |         /// - Returns: Configured URLSession
 22 |         func getSession() -> URLSession
    |              |- error: method cannot be declared public because its result uses an internal type
    |              `- note: class 'URLSession' is imported by this file as 'internal' from 'Foundation'
 23 |
 24 |         // MARK: DELETE
Foundation.URLSession:2:12: note: type declared here
 1 | @available(macOS 10.9, *)
 2 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: type declared here
 3 |     open class var shared: URLSession { get }
 4 |     @available(swift, obsoleted: 3, renamed: "shared")
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:30:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 28 |         ///   - headers: HTTP headers for the request
 29 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 30 |         func delete(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 31 |             _ url: URL,
 32 |             headers: [any HTTPHeader]
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:41:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
 39 |         ///   - decoder: `TopLevelDecoder` for decoding the response body
 40 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 41 |         func delete<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
 42 |             _ url: URL,
 43 |             headers: [any HTTPHeader],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:41:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 39 |         ///   - decoder: `TopLevelDecoder` for decoding the response body
 40 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 41 |         func delete<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 42 |             _ url: URL,
 43 |             headers: [any HTTPHeader],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:54:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 52 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
 53 |         /// failure
 54 |         func delete<ResponseBody>(_ url: URL, headers: [any HTTPHeader]) async -> Result<ResponseBody, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 55 |             where ResponseBody: TopLevelDecodable
 56 |
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:63:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 61 |         ///   - headers: HTTP headers for the request
 62 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 63 |         func get(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 64 |             _ url: URL,
 65 |             headers: [any HTTPHeader]
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:74:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
 72 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 73 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 74 |         func get<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
 75 |             _ url: URL,
 76 |             headers: [any HTTPHeader],
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:74:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 72 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
 73 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
 74 |         func get<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 75 |             _ url: URL,
 76 |             headers: [any HTTPHeader],
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:87:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 85 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
 86 |         /// failure
 87 |         func get<ResponseBody>(_ url: URL, headers: [any HTTPHeader]) async -> Result<ResponseBody, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 88 |             where ResponseBody: TopLevelDecodable
 89 |
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:97:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
 95 |         ///   - headers: HTTP headers for the request
 96 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
 97 |         func post(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
 98 |             _ body: Data,
 99 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:109:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
107 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
108 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
109 |         func post<RequestBody, Encoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
110 |             _ body: RequestBody,
111 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:109:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
107 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
108 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
109 |         func post<RequestBody, Encoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
110 |             _ body: RequestBody,
111 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:124:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
122 |         ///   - headers: HTTP headers for the request
123 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
124 |         func post<RequestBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
125 |             _ body: RequestBody,
126 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:138:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
136 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
137 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
138 |         func post<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
139 |             _ body: Data,
140 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:138:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
136 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
137 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
138 |         func post<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
139 |             _ body: Data,
140 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:152:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
150 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
151 |         /// failure
152 |         func post<ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
153 |             _ body: Data,
154 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:167:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
165 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
166 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
167 |         func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
168 |             _ body: RequestBody,
169 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:167:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
165 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
166 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
167 |         func post<RequestBody, ResponseBody, Encoder, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
168 |             _ body: RequestBody,
169 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:188:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
186 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
187 |         /// failure
188 |         func post<RequestBody, ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
189 |             _ body: RequestBody,
190 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:203:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
201 |         ///   - headers: HTTP headers for the request
202 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
203 |         func put(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
204 |             _ body: Data,
205 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:215:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
213 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
214 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
215 |         func put<RequestBody, Encoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
216 |             _ body: RequestBody,
217 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:215:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
213 |         ///   - encoder: `TopLevelEncoder` for encoding the request body
214 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
215 |         func put<RequestBody, Encoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
216 |             _ body: RequestBody,
217 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:230:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
228 |         ///   - headers: HTTP headers for the request
229 |         /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
230 |         func put<RequestBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
231 |             _ body: RequestBody,
232 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:244:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
242 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
243 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
244 |         func put<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
245 |             _ body: Data,
246 |             to url: URL,
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:244:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
242 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
243 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
244 |         func put<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
245 |             _ body: Data,
246 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:258:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
256 |         /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
257 |         /// failure
258 |         func put<ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
259 |             _ body: Data,
260 |             to url: URL,
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:273:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
271 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
272 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
273 |         func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
274 |             _ body: RequestBody,
275 |             to url: URL,
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:273:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
271 |         ///   - decoder:`TopLevelDecoder` for decoding the response body
272 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
273 |         func put<RequestBody, ResponseBody, Encoder, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
274 |             _ body: RequestBody,
275 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:293:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
291 |         ///   - headers: HTTP headers for the request
292 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
293 |         func put<RequestBody, ResponseBody>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
294 |             _ body: RequestBody,
295 |             to url: URL,
Foundation.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
  4 |     public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:306:14: error: instance method cannot be declared public because its generic requirement uses an internal type
 10 |
 11 | #if canImport(Combine)
 12 |     import Combine
    |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
 13 |
 14 |     /// Dependency injection point for `NetworkService`
    :
304 |         /// - Parameter request: The request as a `URLRequest`
305 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
306 |         func start<ResponseBody, Decoder>(
    |              `- error: instance method cannot be declared public because its generic requirement uses an internal type
307 |             _ request: URLRequest,
308 |             with decoder: Decoder
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:306:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
304 |         /// - Parameter request: The request as a `URLRequest`
305 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
306 |         func start<ResponseBody, Decoder>(
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
307 |             _ request: URLRequest,
308 |             with decoder: Decoder
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:315:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
313 |         /// - Parameter request: The request as a `URLRequest`
314 |         /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
315 |         func start<ResponseBody>(_ request: URLRequest) async -> Result<ResponseBody, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
316 |             where ResponseBody: TopLevelDecodable
317 |
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:321:14: error: method cannot be declared public because its parameter uses an internal type
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: struct 'URLRequest' imported as 'internal' from 'Foundation' here
 10 |
 11 | #if canImport(Combine)
    :
319 |         /// - Parameter request: The request as a `URLRequest`
320 |         /// - Returns: Type erased publisher with output as `Data` and `NetworkService`'s error domain for failure
321 |         func start(_ request: URLRequest) async -> Result<Data, Failure>
    |              |- error: method cannot be declared public because its parameter uses an internal type
    |              `- note: struct 'URLRequest' is imported by this file as 'internal' from 'Foundation'
322 |     }
323 | #else
Foundation.URLRequest:2:15: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
   |               `- note: type declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
[34/38] Compiling NetworkService Result+NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:16:17: error: method cannot be declared public because its result uses an internal type
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
10 |
11 | extension Result where Success == (Data, URLResponse), Failure == any Error {
   :
14 |     /// - Returns:
15 |     ///     - `Publishers.TryMap<Self, Data>`
16 |     public func httpMap() -> Result<Data, NetworkService.Failure> {
   |                 |- error: method cannot be declared public because its result uses an internal type
   |                 `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
17 |         flatMap { data, response in
18 |             guard let httpResponse = response as? HTTPURLResponse else {
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:11:36: error: cannot use struct 'Data' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
10 |
11 | extension Result where Success == (Data, URLResponse), Failure == any Error {
   |                                    `- error: cannot use struct 'Data' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Casts and unwraps a `URLSession.DataTaskPublisher.Output` while ensuring the
13 |     /// response code indicates success.
Foundation.Data:2:23: note: type declared here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
   |                       `- note: type declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:11:42: error: cannot use class 'URLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 7 | // LICENSE file in the root directory of this source tree.
 8 |
 9 | import Foundation
   | `- note: class 'URLResponse' imported as 'internal' from 'Foundation' here
10 |
11 | extension Result where Success == (Data, URLResponse), Failure == any Error {
   |                                          `- error: cannot use class 'URLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
12 |     /// Casts and unwraps a `URLSession.DataTaskPublisher.Output` while ensuring the
13 |     /// response code indicates success.
Foundation.URLResponse:2:12: note: type declared here
 1 | @available(macOS 10.2, *)
 2 | open class URLResponse : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
   |            `- note: type declared here
 3 |     public init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
 4 |     @available(swift, obsoleted: 3, renamed: "init(url:mimeType:expectedContentLength:textEncodingName:)")
[35/38] Compiling NetworkService TopLevelCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:15:24: error: associated type in a public protocol uses an internal type in its requirement
 8 |
 9 | #if canImport(Combine)
10 |     import Combine
   |     `- note: protocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here
11 |     import Foundation
12 |
13 |     /// Associates a default `TopLevelEncoder` type with a given type
14 |     public protocol TopLevelEncodable: Encodable {
15 |         associatedtype AdoptedEncoder: TopLevelEncoder where AdoptedEncoder.Output == Data
   |                        |- error: associated type in a public protocol uses an internal type in its requirement
   |                        `- note: protocol 'TopLevelEncoder' is imported by this file as 'internal' from 'Combine'
16 |
17 |         /// The default `TopLevelEncoder` for the conforming type
Combine.TopLevelEncoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
  |                 `- note: type declared here
3 |     associatedtype Output
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:23:24: error: associated type in a public protocol uses an internal type in its requirement
 8 |
 9 | #if canImport(Combine)
10 |     import Combine
   |     `- note: protocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here
11 |     import Foundation
12 |
   :
21 |     /// Associates a default `TopLevelDecoder` type with a given type
22 |     public protocol TopLevelDecodable: Decodable {
23 |         associatedtype AdoptedDecoder: TopLevelDecoder where AdoptedDecoder.Input == Data
   |                        |- error: associated type in a public protocol uses an internal type in its requirement
   |                        `- note: protocol 'TopLevelDecoder' is imported by this file as 'internal' from 'Combine'
24 |
25 |         /// The default `TopLevelDecoder` for the conforming type
Combine.TopLevelDecoder:2:17: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelDecoder {
  |                 `- note: type declared here
3 |     associatedtype Input
4 |     func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:30:21: error: public protocol's 'where' clause cannot use an internal type
 8 |
 9 | #if canImport(Combine)
10 |     import Combine
   |     `- note: associated type 'Output' imported as 'internal' from 'Combine' here
11 |     import Foundation
12 |
   :
28 |
29 |     /// Convenience protocol for conforming to `TopLevelEncodable` and `TopLevelDecodable`
30 |     public protocol TopLevelCodable: TopLevelEncodable,
   |                     |- error: public protocol's 'where' clause cannot use an internal type
   |                     `- note: associated type 'Output' is imported by this file as 'internal' from 'Combine'
31 |         TopLevelDecodable where AdoptedEncoder.Output == AdoptedDecoder.Input {}
32 |
Combine.TopLevelEncoder:3:20: note: type declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public protocol TopLevelEncoder {
3 |     associatedtype Output
  |                    `- note: type declared here
4 |     func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
5 | }
[36/38] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[37/38] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[38/38] Compiling NetworkService URLRequest+build.swift
BUILD FAILURE 6.0 macosSpm