The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkService, reference 4.1.1 (546d9b), with Swift 6.4 for watchOS using Xcode 27.0 on 20 Sep 2026 08:44:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NetworkService-Package -destination generic/platform=watchOS

Build Log

SwiftCompile normal arm64 Compiling\ HTTPURLResponse+StatusCode.swift,\ NetworkService.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift (in target 'NetworkService' from project 'NetworkService')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile HTTPURLResponse+StatusCode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift:11:11: error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
  7 | // LICENSE file in the root directory of this source tree.
  8 |
  9 | import Foundation
    | `- note: class 'HTTPURLResponse' imported as 'internal' from 'Foundation' here
 10 |
 11 | extension HTTPURLResponse {
    |           `- error: cannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly
 12 |     public typealias StatusCode = Int
 13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:102:12: note: class declared here
100 | NS_SWIFT_SENDABLE
101 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
102 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
103 | {
104 |     @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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:102:12: note: class declared here
100 | NS_SWIFT_SENDABLE
101 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
102 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
103 | {
104 |     @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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:102:12: note: type declared here
100 | NS_SWIFT_SENDABLE
101 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
102 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: type declared here
103 | {
104 |     @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)
SwiftCompile normal arm64 Compiling\ NetworkServiceClient+Put.swift,\ NetworkServiceClient+Start.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift (in target 'NetworkService' from project 'NetworkService')
/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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NetworkServiceClient+Put.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NetworkServiceClient+Start.swift
/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
SwiftCompile normal arm64 Compiling\ Result+NetworkService.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift (in target 'NetworkService' from project 'NetworkService')
/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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- note: struct declared here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Result+NetworkService.swift
SwiftCompile normal arm64 Compiling\ NetworkServiceClient+GetSession.swift,\ NetworkServiceClient+Post.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+GetSession.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift (in target 'NetworkService' from project 'NetworkService')
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:203:12: note: type declared here
 201 | NS_SWIFT_SENDABLE
 202 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 203 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 204 |
 205 | /// The shared singleton session object.
/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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+GetSession.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NetworkServiceClient+GetSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NetworkServiceClient+Post.swift
SwiftCompile normal arm64 Compiling\ NetworkServiceClient.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift (in target 'NetworkService' from project 'NetworkService')
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:203:12: note: type declared here
 201 | NS_SWIFT_SENDABLE
 202 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 203 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 204 |
 205 | /// The shared singleton session object.
/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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NetworkServiceClient.swift
SwiftCompile normal arm64 Compiling\ TopLevelCodable.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift (in target 'NetworkService' from project 'NetworkService')
/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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TopLevelCodable.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ NetworkService (in target 'NetworkService' from project 'NetworkService')
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:102:12: note: class declared here
100 | NS_SWIFT_SENDABLE
101 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
102 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
103 | {
104 |     @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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:102:12: note: class declared here
100 | NS_SWIFT_SENDABLE
101 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
102 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: class declared here
103 | {
104 |     @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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:102:12: note: type declared here
100 | NS_SWIFT_SENDABLE
101 | API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
102 | @interface NSHTTPURLResponse : NSURLResponse
    |            `- note: type declared here
103 | {
104 |     @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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h:67:12: note: type declared here
 65 | /// Applications may choose to create subclasses of `NSError`, for example, to provide better localized error strings by overriding ``localizedDescription``.
 66 | NS_SWIFT_SENDABLE
 67 | @interface NSError : NSObject <NSCopying, NSSecureCoding>
    |            `- note: type declared here
 68 |
 69 | + (instancetype)new API_DEPRECATED("Use +[NSError errorWithDomain:code:userInfo:] to specify an error domain and code instead", macos(10.0, 27.0), ios(2.0, 27.0), watchos(2.0, 27.0), tvos(9.0, 27.0), visionos(1.0, 27.0));
/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+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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:203:12: note: type declared here
 201 | NS_SWIFT_SENDABLE
 202 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 203 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 204 |
 205 | /// The shared singleton session object.
/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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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+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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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.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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:203:12: note: type declared here
 201 | NS_SWIFT_SENDABLE
 202 | API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
 203 | @interface NSURLSession : NSObject
     |            `- note: type declared here
 204 |
 205 | /// The shared singleton session object.
/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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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 : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+GetSession.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+build.swift -target arm64-apple-watchos9.0 -module-can-import-version Combine 3023 0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature BareSlashRegexLiterals -enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-upcoming-feature FullTypedThrows -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature ImportObjcForwardDeclarations -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NetworkService -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NetworkService.build/Debug-watchos/NetworkService-t.build/Objects-normal/arm64/NetworkService.abi.json
SwiftCompile normal arm64 (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ URLRequest+HTTPHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift (in target 'NetworkService' from project 'NetworkService')
/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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile URLRequest+HTTPHeader.swift
SwiftCompile normal arm64 Compiling\ URLRequest+HTTPMethod.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift (in target 'NetworkService' from project 'NetworkService')
/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 {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile URLRequest+HTTPMethod.swift
SwiftCompile normal arm64 Compiling\ URLRequest+build.swift /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+build.swift (in target 'NetworkService' from project 'NetworkService')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+build.swift (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile URLRequest+build.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NetworkService (in target 'NetworkService' from project 'NetworkService')
SwiftCompile normal arm64_32 (in target 'NetworkService' from project 'NetworkService')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-20 04:44:17.203 xcodebuild[979:5638] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ NetworkService (in target 'NetworkService' from project 'NetworkService')
	SwiftCompile normal arm64 (in target 'NetworkService' from project 'NetworkService')
	Building workspace NetworkService with scheme NetworkService-Package
(3 failures)
BUILD FAILURE 6.4 watchOS