The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkService, reference 4.1.1 (546d9b), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 04:43:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

   |                     |- 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.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
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:121:12: note: type declared here
 119 | NS_SWIFT_SENDABLE
 120 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 121 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 122 |
 123 | /*
/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
/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: struct 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: struct 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.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:35:12: note: class declared here
 33 | NS_SWIFT_SENDABLE
 34 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
 35 | @interface NSURLResponse : NSObject <NSSecureCoding, NSCopying>
    |            `- note: class declared here
 36 | {
 37 |     @package
/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.Output:2:16: note: type declared here
1 | protocol TopLevelEncoder {
2 | associatedtype Output}
  |                `- note: type declared here
3 |
/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: struct 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: struct 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: struct 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: struct 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: struct 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: struct declared here
 3 |     public typealias ReferenceType = NSURLRequest
 4 |     public typealias CachePolicy = NSURLRequest.CachePolicy
/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 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:126:12: note: class declared here
124 | NS_SWIFT_SENDABLE
125 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
126 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
127 | {
128 |     @package
/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 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:126:12: note: class declared here
124 | NS_SWIFT_SENDABLE
125 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
126 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
127 | {
128 |     @package
/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)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:35:12: note: type declared here
 33 | NS_SWIFT_SENDABLE
 34 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
 35 | @interface NSURLResponse : NSObject <NSSecureCoding, NSCopying>
    |            `- note: type declared here
 36 | {
 37 |     @package
/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)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:126:12: note: type declared here
124 | NS_SWIFT_SENDABLE
125 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
126 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: type declared here
127 | {
128 |     @package
/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 {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h:45:12: note: type declared here
 43 |
 44 | NS_SWIFT_SENDABLE // Immutable, and NSError must be Sendable because it conforms to Error in Swift
 45 | @interface NSError : NSObject <NSCopying, NSSecureCoding>
    |            `- note: type declared here
 46 |
 47 | /* Domain cannot be nil; dict may be nil if no userInfo desired.
/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 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:126:12: note: class declared here
124 | NS_SWIFT_SENDABLE
125 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
126 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
127 | {
128 |     @package
/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 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:126:12: note: class declared here
124 | NS_SWIFT_SENDABLE
125 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
126 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
127 | {
128 |     @package
/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)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:35:12: note: type declared here
 33 | NS_SWIFT_SENDABLE
 34 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
 35 | @interface NSURLResponse : NSObject <NSSecureCoding, NSCopying>
    |            `- note: type declared here
 36 | {
 37 |     @package
/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)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:126:12: note: type declared here
124 | NS_SWIFT_SENDABLE
125 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
126 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: type declared here
127 | {
128 |     @package
/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 {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h:45:12: note: type declared here
 43 |
 44 | NS_SWIFT_SENDABLE // Immutable, and NSError must be Sendable because it conforms to Error in Swift
 45 | @interface NSError : NSObject <NSCopying, NSSecureCoding>
    |            `- note: type declared here
 46 |
 47 | /* Domain cannot be nil; dict may be nil if no userInfo desired.
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[37/53] 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
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:121:12: note: type declared here
 119 | NS_SWIFT_SENDABLE
 120 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 121 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 122 |
 123 | /*
/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
/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 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:121:12: note: type declared here
 119 | NS_SWIFT_SENDABLE
 120 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 121 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 122 |
 123 | /*
/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
/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 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:121:12: note: type declared here
 119 | NS_SWIFT_SENDABLE
 120 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 121 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 122 |
 123 | /*
/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
/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
/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
[42/53] Compiling ConcurrencyExtras Locking.swift
[45/54] Compiling ConcurrencyExtras AsyncStream.swift
[46/54] Emitting module ConcurrencyExtras
[47/54] Compiling ConcurrencyExtras MainSerialExecutor.swift
[48/54] Compiling ConcurrencyExtras Result.swift
[49/54] Compiling ConcurrencyExtras LockIsolated.swift
[50/54] Compiling ConcurrencyExtras Task.swift
[51/54] Compiling ConcurrencyExtras UncheckedBox.swift
[52/54] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[53/54] Compiling NetworkService URLRequest+build.swift
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/pointfreeco/combine-schedulers.git
[1/2410] Fetching combine-schedulers
[122/10310] Fetching combine-schedulers, ohhttpstubs
Fetched https://github.com/pointfreeco/combine-schedulers.git from cache (1.18s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.18s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (3.72s)
Computing version for https://github.com/pointfreeco/combine-schedulers.git
Computed https://github.com/pointfreeco/combine-schedulers.git at 1.0.3 (0.45s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/861] Fetching swift-concurrency-extras
[243/6328] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.20s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.20s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.65s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.43s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers.git
Working copy of https://github.com/pointfreeco/combine-schedulers.git resolved at 1.0.3
BUILD FAILURE 6.2 macosSpm