The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkService, reference 4.1.1 (546d9b), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 08:43:39 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MFB-Technologies-Inc/NetworkService.git
Reference: 4.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MFB-Technologies-Inc/NetworkService
 * tag               4.1.1      -> FETCH_HEAD
HEAD is now at 546d9b3 Merge pull request #15 from MFB-Technologies-Inc/feature/upcoming-features
Cloned https://github.com/MFB-Technologies-Inc/NetworkService.git
Revision (git rev-parse @):
546d9b31fe3f6e284eec40fc2aa77a4733b20ade
SUCCESS checkout https://github.com/MFB-Technologies-Inc/NetworkService.git at 4.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MFB-Technologies-Inc/NetworkService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[44 / 86]
[47 / 89] NetworkService
[58 / 192]
[69 / 192]
[80 / 192]
[85 / 192]
[86 / 192]
[93 / 192]
[97 / 192]
[102 / 192]
[108 / 192]
[111 / 192]
[115 / 192]
[117 / 192]
[128 / 192] NetworkService
[129 / 192] ConcurrencyExtras
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/pointfreeco/combine-schedulers.git
[1/2686] Fetching combine-schedulers
[216/10586] Fetching combine-schedulers, ohhttpstubs
Fetched https://github.com/pointfreeco/combine-schedulers.git (1.44s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (1.44s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (4.37s)
Computing version for https://github.com/pointfreeco/combine-schedulers.git
Computed https://github.com/pointfreeco/combine-schedulers.git at 1.2.2 (0.60s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/1058] Fetching swift-concurrency-extras
[414/7194] Fetching swift-concurrency-extras, swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-concurrency-extras (1.67s)
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.67s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.88s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.54s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers.git
Working copy of https://github.com/pointfreeco/combine-schedulers.git resolved at 1.2.2
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/SDKs/MacOSX27.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-macos12.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/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.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/.build/out/Intermediates.noindex/NetworkService.build/Debug/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/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/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/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.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/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NetworkService.build/Debug/NetworkService-t.build/Objects-normal/arm64/NetworkService.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm