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 arm64Build 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: [1;31merror: [1;39mcannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'HTTPURLResponse' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension HTTPURLResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m12 |[0;0m public typealias StatusCode = Int
[0;36m13 |[0;0m
/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: [1;39mnote: [1;39mclass declared here[0;0m
[0;36m100 |[0;0m NS_SWIFT_SENDABLE
[0;36m101 |[0;0m API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
[0;36m102 |[0;0m @interface NSHTTPURLResponse : NSURLResponse
[0;36m|[0;0m `- [1;39mnote: [1;39mclass declared here[0;0m
[0;36m103 |[0;0m {
[0;36m104 |[0;0m @package
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/HTTPURLResponse+StatusCode.swift:30:11: [1;31merror: [1;39mcannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'HTTPURLResponse' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension HTTPURLResponse {
[0;36m:[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m
[0;36m30 |[0;0m extension HTTPURLResponse.StatusCode {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use class 'HTTPURLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m31 |[0;0m // MARK: Informational
[0;36m32 |[0;0m
/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: [1;39mnote: [1;39mclass declared here[0;0m
[0;36m100 |[0;0m NS_SWIFT_SENDABLE
[0;36m101 |[0;0m API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
[0;36m102 |[0;0m @interface NSHTTPURLResponse : NSURLResponse
[0;36m|[0;0m `- [1;39mnote: [1;39mclass declared here[0;0m
[0;36m103 |[0;0m {
[0;36m104 |[0;0m @package
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:16:14: [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Combine
[0;36m10 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLResponse' imported as 'internal' from 'Foundation' here[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// Provides methods for making network requests and processing the resulting responses
[0;36m:[0;0m
[0;36m14 |[0;0m /// `NetworkService`'s error domain
[0;36m15 |[0;0m public enum Failure: Error, Hashable, Sendable {
[0;36m16 |[0;0m case urlResponse([4;39mURLResponse[0;0m)
[0;36m|[0;0m |- [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLResponse' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m17 |[0;0m case httpResponse(HTTPURLResponse)
[0;36m18 |[0;0m 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: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m33 |[0;0m NS_SWIFT_SENDABLE
[0;36m34 |[0;0m API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
[0;36m35 |[0;0m @interface NSURLResponse : NSObject <NSSecureCoding, NSCopying>
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m36 |[0;0m {
[0;36m37 |[0;0m @package
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:17:14: [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Combine
[0;36m10 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'HTTPURLResponse' imported as 'internal' from 'Foundation' here[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// Provides methods for making network requests and processing the resulting responses
[0;36m:[0;0m
[0;36m15 |[0;0m public enum Failure: Error, Hashable, Sendable {
[0;36m16 |[0;0m case urlResponse(URLResponse)
[0;36m17 |[0;0m case httpResponse([4;39mHTTPURLResponse[0;0m)
[0;36m|[0;0m |- [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'HTTPURLResponse' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m18 |[0;0m case urlError(URLError)
[0;36m19 |[0;0m 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: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m100 |[0;0m NS_SWIFT_SENDABLE
[0;36m101 |[0;0m API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
[0;36m102 |[0;0m @interface NSHTTPURLResponse : NSURLResponse
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m103 |[0;0m {
[0;36m104 |[0;0m @package
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:18:14: [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Combine
[0;36m10 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLError' imported as 'internal' from 'Foundation' here[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// Provides methods for making network requests and processing the resulting responses
[0;36m:[0;0m
[0;36m16 |[0;0m case urlResponse(URLResponse)
[0;36m17 |[0;0m case httpResponse(HTTPURLResponse)
[0;36m18 |[0;0m case urlError([4;39mURLError[0;0m)
[0;36m|[0;0m |- [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLError' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m19 |[0;0m case unknown(NSError)
[0;36m20 |[0;0m
Foundation.URLError:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLError : _BridgedStoredNSError {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public let _nsError: NSError
[0;36m4 |[0;0m public init(_nsError error: NSError)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkService.swift:19:14: [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Combine
[0;36m10 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'NSError' imported as 'internal' from 'Foundation' here[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// Provides methods for making network requests and processing the resulting responses
[0;36m:[0;0m
[0;36m17 |[0;0m case httpResponse(HTTPURLResponse)
[0;36m18 |[0;0m case urlError(URLError)
[0;36m19 |[0;0m case unknown([4;39mNSError[0;0m)
[0;36m|[0;0m |- [1;31merror: [1;39menum case in a public enum uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'NSError' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m 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: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m65 |[0;0m /// Applications may choose to create subclasses of `NSError`, for example, to provide better localized error strings by overriding ``localizedDescription``.
[0;36m66 |[0;0m NS_SWIFT_SENDABLE
[0;36m67 |[0;0m @interface NSError : NSObject <NSCopying, NSSecureCoding>
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m + (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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m16 |[0;0m /// - headers: HTTP headers for the request
[0;36m17 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m18 |[0;0m public func delete(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m19 |[0;0m _ url: URL,
[0;36m20 |[0;0m headers: [any HTTPHeader] = []
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:37:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m #if canImport(Combine)
[0;36m28 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m35 |[0;0m /// - decoder: `TopLevelDecoder` for decoding the response body
[0;36m36 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m37 |[0;0m public func delete<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m38 |[0;0m _ url: URL,
[0;36m39 |[0;0m headers: [any HTTPHeader] = [],
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m35 |[0;0m /// - decoder: `TopLevelDecoder` for decoding the response body
[0;36m36 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m37 |[0;0m public func delete<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m38 |[0;0m _ url: URL,
[0;36m39 |[0;0m headers: [any HTTPHeader] = [],
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Delete.swift:55:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m53 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m54 |[0;0m /// failure
[0;36m55 |[0;0m public func delete<ResponseBody>(_ url: [4;39mURL[0;0m,
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m56 |[0;0m headers: [any HTTPHeader] = []) async -> Result<ResponseBody, Failure>
[0;36m57 |[0;0m where ResponseBody: TopLevelDecodable
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:18:17: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m16 |[0;0m /// - headers: HTTP headers for the request
[0;36m17 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m18 |[0;0m public func get(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m19 |[0;0m _ url: URL,
[0;36m20 |[0;0m headers: [any HTTPHeader] = []
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:37:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m #if canImport(Combine)
[0;36m28 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m35 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m36 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m37 |[0;0m public func get<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m38 |[0;0m _ url: URL,
[0;36m39 |[0;0m headers: [any HTTPHeader] = [],
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m35 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m36 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m37 |[0;0m public func get<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m38 |[0;0m _ url: URL,
[0;36m39 |[0;0m headers: [any HTTPHeader] = [],
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Get.swift:55:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m53 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m54 |[0;0m /// failure
[0;36m55 |[0;0m public func get<ResponseBody>(_ url: [4;39mURL[0;0m, headers: [any HTTPHeader] = []) async -> Result<ResponseBody, Failure>
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m56 |[0;0m where ResponseBody: TopLevelDecodable
[0;36m57 |[0;0m {
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+GetSession.swift:13:17: [1;31merror: [1;39mmethod cannot be declared public because its result uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLSession' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m12 |[0;0m /// Default implementation of `getSession` that returns the `shared` instance
[0;36m13 |[0;0m public func getSession() -> [4;39mURLSession[0;0m {
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its result uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLSession' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m14 |[0;0m URLSession.shared
[0;36m15 |[0;0m }
/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: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m201 |[0;0m NS_SWIFT_SENDABLE
[0;36m202 |[0;0m API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
[0;36m203 |[0;0m @interface NSURLSession : NSObject
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m204 |[0;0m
[0;36m205 |[0;0m /// The shared singleton session object.
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:19:17: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m17 |[0;0m /// - headers: HTTP headers for the request
[0;36m18 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m19 |[0;0m public func post(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m20 |[0;0m _ body: Data,
[0;36m21 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:39:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m #if canImport(Combine)
[0;36m30 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m37 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m38 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m39 |[0;0m public func post<RequestBody, Encoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m40 |[0;0m _ body: RequestBody,
[0;36m41 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:39:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m37 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m38 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m39 |[0;0m public func post<RequestBody, Encoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m40 |[0;0m _ body: RequestBody,
[0;36m41 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:62:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m60 |[0;0m /// - headers: HTTP headers for the request
[0;36m61 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m62 |[0;0m public func post<RequestBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m63 |[0;0m _ body: RequestBody,
[0;36m64 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:86:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m #if canImport(Combine)
[0;36m30 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m84 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m85 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m86 |[0;0m public func post<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m87 |[0;0m _ body: Data,
[0;36m88 |[0;0m to url: URL,
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m84 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m85 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m86 |[0;0m public func post<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m87 |[0;0m _ body: Data,
[0;36m88 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:107:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m105 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m106 |[0;0m /// failure
[0;36m107 |[0;0m public func post<ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m108 |[0;0m _ body: Data,
[0;36m109 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:125:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m #if canImport(Combine)
[0;36m30 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m123 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m124 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m125 |[0;0m public func post<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m126 |[0;0m _ body: RequestBody,
[0;36m127 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:125:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m123 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m124 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m125 |[0;0m public func post<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m126 |[0;0m _ body: RequestBody,
[0;36m127 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Post.swift:156:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m154 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m155 |[0;0m /// failure
[0;36m156 |[0;0m public func post<RequestBody, ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m157 |[0;0m _ body: RequestBody,
[0;36m158 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:19:17: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m17 |[0;0m /// - headers: HTTP headers for the request
[0;36m18 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m19 |[0;0m public func put(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m20 |[0;0m _ body: Data,
[0;36m21 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:39:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m #if canImport(Combine)
[0;36m30 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m37 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m38 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m39 |[0;0m public func put<RequestBody, Encoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m40 |[0;0m _ body: RequestBody,
[0;36m41 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:39:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m37 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m38 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m39 |[0;0m public func put<RequestBody, Encoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m40 |[0;0m _ body: RequestBody,
[0;36m41 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:64:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m62 |[0;0m /// - headers: HTTP headers for the request
[0;36m63 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m64 |[0;0m public func put<RequestBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m65 |[0;0m _ body: RequestBody,
[0;36m66 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:88:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m #if canImport(Combine)
[0;36m30 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m86 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m87 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m88 |[0;0m public func put<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m89 |[0;0m _ body: Data,
[0;36m90 |[0;0m to url: URL,
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m86 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m87 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m88 |[0;0m public func put<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m89 |[0;0m _ body: Data,
[0;36m90 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:107:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m105 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m106 |[0;0m /// failure
[0;36m107 |[0;0m public func put<ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m108 |[0;0m _ body: Data,
[0;36m109 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:125:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m #if canImport(Combine)
[0;36m30 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m123 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m124 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m125 |[0;0m public func put<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m126 |[0;0m _ body: RequestBody,
[0;36m127 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:125:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m123 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m124 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m125 |[0;0m public func put<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m126 |[0;0m _ body: RequestBody,
[0;36m127 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Put.swift:155:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m153 |[0;0m /// - headers: HTTP headers for the request
[0;36m154 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m155 |[0;0m public func put<RequestBody, ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m156 |[0;0m _ body: RequestBody,
[0;36m157 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:15:17: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m13 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m14 |[0;0m /// - Returns: Type erased publisher with output as `Data` and `NetworkService`'s error domain for failure
[0;36m15 |[0;0m public func start(_ request: [4;39mURLRequest[0;0m) async -> Result<Data, Failure> {
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m16 |[0;0m let result: Result<(Data, URLResponse), any Error>
[0;36m17 |[0;0m do {
Foundation.URLRequest:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:73:21: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m #if canImport(Combine)
[0;36m67 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m71 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m72 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m73 |[0;0m public func start<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m74 |[0;0m _ request: URLRequest,
[0;36m75 |[0;0m with decoder: Decoder
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m71 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m72 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m73 |[0;0m public func start<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m74 |[0;0m _ request: URLRequest,
[0;36m75 |[0;0m with decoder: Decoder
Foundation.URLRequest:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient+Start.swift:87:21: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension NetworkServiceClient {
[0;36m:[0;0m
[0;36m85 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m86 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m87 |[0;0m public func start<ResponseBody>(_ request: [4;39mURLRequest[0;0m) async -> Result<ResponseBody, Failure>
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m88 |[0;0m where ResponseBody: TopLevelDecodable
[0;36m89 |[0;0m {
Foundation.URLRequest:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:22:14: [1;31merror: [1;39mmethod cannot be declared public because its result uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLSession' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// - Returns: Configured URLSession
[0;36m22 |[0;0m func getSession() -> [4;39mURLSession[0;0m
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its result uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLSession' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m // 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: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m201 |[0;0m NS_SWIFT_SENDABLE
[0;36m202 |[0;0m API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
[0;36m203 |[0;0m @interface NSURLSession : NSObject
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m204 |[0;0m
[0;36m205 |[0;0m /// The shared singleton session object.
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:30:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m28 |[0;0m /// - headers: HTTP headers for the request
[0;36m29 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m30 |[0;0m func delete(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m31 |[0;0m _ url: URL,
[0;36m32 |[0;0m headers: [any HTTPHeader]
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:41:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m39 |[0;0m /// - decoder: `TopLevelDecoder` for decoding the response body
[0;36m40 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m41 |[0;0m func delete<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m42 |[0;0m _ url: URL,
[0;36m43 |[0;0m headers: [any HTTPHeader],
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m39 |[0;0m /// - decoder: `TopLevelDecoder` for decoding the response body
[0;36m40 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m41 |[0;0m func delete<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m42 |[0;0m _ url: URL,
[0;36m43 |[0;0m headers: [any HTTPHeader],
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:54:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m52 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m53 |[0;0m /// failure
[0;36m54 |[0;0m func delete<ResponseBody>(_ url: [4;39mURL[0;0m, headers: [any HTTPHeader]) async -> Result<ResponseBody, Failure>
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m55 |[0;0m where ResponseBody: TopLevelDecodable
[0;36m56 |[0;0m
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:63:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m61 |[0;0m /// - headers: HTTP headers for the request
[0;36m62 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m63 |[0;0m func get(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m64 |[0;0m _ url: URL,
[0;36m65 |[0;0m headers: [any HTTPHeader]
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:74:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m72 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m73 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m74 |[0;0m func get<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m75 |[0;0m _ url: URL,
[0;36m76 |[0;0m headers: [any HTTPHeader],
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m72 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m73 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m74 |[0;0m func get<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m75 |[0;0m _ url: URL,
[0;36m76 |[0;0m headers: [any HTTPHeader],
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:87:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m85 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m86 |[0;0m /// failure
[0;36m87 |[0;0m func get<ResponseBody>(_ url: [4;39mURL[0;0m, headers: [any HTTPHeader]) async -> Result<ResponseBody, Failure>
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m88 |[0;0m where ResponseBody: TopLevelDecodable
[0;36m89 |[0;0m
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:97:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m95 |[0;0m /// - headers: HTTP headers for the request
[0;36m96 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m97 |[0;0m func post(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m98 |[0;0m _ body: Data,
[0;36m99 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:109:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m107 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m108 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m109 |[0;0m func post<RequestBody, Encoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m110 |[0;0m _ body: RequestBody,
[0;36m111 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:109:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m107 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m108 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m109 |[0;0m func post<RequestBody, Encoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m110 |[0;0m _ body: RequestBody,
[0;36m111 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:124:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m122 |[0;0m /// - headers: HTTP headers for the request
[0;36m123 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m124 |[0;0m func post<RequestBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m125 |[0;0m _ body: RequestBody,
[0;36m126 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:138:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m136 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m137 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m138 |[0;0m func post<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m139 |[0;0m _ body: Data,
[0;36m140 |[0;0m to url: URL,
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m136 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m137 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m138 |[0;0m func post<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m139 |[0;0m _ body: Data,
[0;36m140 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:152:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m150 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m151 |[0;0m /// failure
[0;36m152 |[0;0m func post<ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m153 |[0;0m _ body: Data,
[0;36m154 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:167:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m165 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m166 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m167 |[0;0m func post<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m168 |[0;0m _ body: RequestBody,
[0;36m169 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:167:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m165 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m166 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m167 |[0;0m func post<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m168 |[0;0m _ body: RequestBody,
[0;36m169 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:188:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m186 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m187 |[0;0m /// failure
[0;36m188 |[0;0m func post<RequestBody, ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m189 |[0;0m _ body: RequestBody,
[0;36m190 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:203:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m201 |[0;0m /// - headers: HTTP headers for the request
[0;36m202 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m203 |[0;0m func put(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m204 |[0;0m _ body: Data,
[0;36m205 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:215:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m213 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m214 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m215 |[0;0m func put<RequestBody, Encoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m216 |[0;0m _ body: RequestBody,
[0;36m217 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:215:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m213 |[0;0m /// - encoder: `TopLevelEncoder` for encoding the request body
[0;36m214 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m215 |[0;0m func put<RequestBody, Encoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m216 |[0;0m _ body: RequestBody,
[0;36m217 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:230:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m228 |[0;0m /// - headers: HTTP headers for the request
[0;36m229 |[0;0m /// - Returns: Type erased publisher with `Data` output and `NetworkService`'s error domain for failure
[0;36m230 |[0;0m func put<RequestBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m231 |[0;0m _ body: RequestBody,
[0;36m232 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:244:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m242 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m243 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m244 |[0;0m func put<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m245 |[0;0m _ body: Data,
[0;36m246 |[0;0m to url: URL,
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m242 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m243 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m244 |[0;0m func put<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m245 |[0;0m _ body: Data,
[0;36m246 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:258:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m256 |[0;0m /// - Returns: Type erased publisher with `TopLevelDecodable` output and `NetworkService`'s error domain for
[0;36m257 |[0;0m /// failure
[0;36m258 |[0;0m func put<ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m259 |[0;0m _ body: Data,
[0;36m260 |[0;0m to url: URL,
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:273:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m271 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m272 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m273 |[0;0m func put<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m274 |[0;0m _ body: RequestBody,
[0;36m275 |[0;0m to url: URL,
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:273:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m271 |[0;0m /// - decoder:`TopLevelDecoder` for decoding the response body
[0;36m272 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m273 |[0;0m func put<RequestBody, ResponseBody, Encoder, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m274 |[0;0m _ body: RequestBody,
[0;36m275 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:293:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m291 |[0;0m /// - headers: HTTP headers for the request
[0;36m292 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m293 |[0;0m func put<RequestBody, ResponseBody>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URL' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m294 |[0;0m _ body: RequestBody,
[0;36m295 |[0;0m to url: URL,
Foundation.URL:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URL : Equatable, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias BookmarkResolutionOptions = NSURL.BookmarkResolutionOptions
[0;36m4 |[0;0m public typealias BookmarkCreationOptions = NSURL.BookmarkCreationOptions
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:306:14: [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m12 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Dependency injection point for `NetworkService`
[0;36m:[0;0m
[0;36m304 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m305 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m306 |[0;0m func start<ResponseBody, Decoder>(
[0;36m|[0;0m `- [1;31merror: [1;39minstance method cannot be declared public because its generic requirement uses an internal type[0;0m
[0;36m307 |[0;0m _ request: URLRequest,
[0;36m308 |[0;0m with decoder: Decoder
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m304 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m305 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m306 |[0;0m func start<ResponseBody, Decoder>(
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m307 |[0;0m _ request: URLRequest,
[0;36m308 |[0;0m with decoder: Decoder
Foundation.URLRequest:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:315:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m313 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m314 |[0;0m /// - Returns: Type erased publisher with decoded output and `NetworkService`'s error domain for failure
[0;36m315 |[0;0m func start<ResponseBody>(_ request: [4;39mURLRequest[0;0m) async -> Result<ResponseBody, Failure>
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m316 |[0;0m where ResponseBody: TopLevelDecodable
[0;36m317 |[0;0m
Foundation.URLRequest:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/NetworkServiceClient.swift:321:14: [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m #if canImport(Combine)
[0;36m:[0;0m
[0;36m319 |[0;0m /// - Parameter request: The request as a `URLRequest`
[0;36m320 |[0;0m /// - Returns: Type erased publisher with output as `Data` and `NetworkService`'s error domain for failure
[0;36m321 |[0;0m func start(_ request: [4;39mURLRequest[0;0m) async -> Result<Data, Failure>
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its parameter uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m322 |[0;0m }
[0;36m323 |[0;0m #else
Foundation.URLRequest:2:15: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:16:17: [1;31merror: [1;39mmethod cannot be declared public because its result uses an internal type[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension Result where Success == (Data, URLResponse), Failure == any Error {
[0;36m:[0;0m
[0;36m14 |[0;0m /// - Returns:
[0;36m15 |[0;0m /// - `Publishers.TryMap<Self, Data>`
[0;36m16 |[0;0m public func httpMap() -> Result<[4;39mData[0;0m, NetworkService.Failure> {
[0;36m|[0;0m |- [1;31merror: [1;39mmethod cannot be declared public because its result uses an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' is imported by this file as 'internal' from 'Foundation'[0;0m
[0;36m17 |[0;0m flatMap { data, response in
[0;36m18 |[0;0m guard let httpResponse = response as? HTTPURLResponse else {
Foundation.Data:2:23: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:11:36: [1;31merror: [1;39mcannot use struct 'Data' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'Data' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension Result where Success == (Data, URLResponse), Failure == any Error {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use struct 'Data' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m12 |[0;0m /// Casts and unwraps a `URLSession.DataTaskPublisher.Output` while ensuring the
[0;36m13 |[0;0m /// response code indicates success.
Foundation.Data:2:23: [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/Result+NetworkService.swift:11:42: [1;31merror: [1;39mcannot use class 'URLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'URLResponse' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension Result where Success == (Data, URLResponse), Failure == any Error {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use class 'URLResponse' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m12 |[0;0m /// Casts and unwraps a `URLSession.DataTaskPublisher.Output` while ensuring the
[0;36m13 |[0;0m /// 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: [1;39mnote: [1;39mclass declared here[0;0m
[0;36m33 |[0;0m NS_SWIFT_SENDABLE
[0;36m34 |[0;0m API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
[0;36m35 |[0;0m @interface NSURLResponse : NSObject <NSSecureCoding, NSCopying>
[0;36m|[0;0m `- [1;39mnote: [1;39mclass declared here[0;0m
[0;36m36 |[0;0m {
[0;36m37 |[0;0m @package
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:15:24: [1;31merror: [1;39massociated type in a public protocol uses an internal type in its requirement [0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m #if canImport(Combine)
[0;36m10 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m11 |[0;0m import Foundation
[0;36m12 |[0;0m
[0;36m13 |[0;0m /// Associates a default `TopLevelEncoder` type with a given type
[0;36m14 |[0;0m public protocol TopLevelEncodable: Encodable {
[0;36m15 |[0;0m associatedtype AdoptedEncoder: [4;39mTopLevelEncoder[0;0m where AdoptedEncoder.Output == Data
[0;36m|[0;0m |- [1;31merror: [1;39massociated type in a public protocol uses an internal type in its requirement [0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelEncoder' is imported by this file as 'internal' from 'Combine'[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// The default `TopLevelEncoder` for the conforming type
Combine.TopLevelEncoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelEncoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Output
[0;36m4 |[0;0m func encode<T>(_ value: T) throws -> Self.Output where T : Encodable
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/TopLevelCodable.swift:23:24: [1;31merror: [1;39massociated type in a public protocol uses an internal type in its requirement [0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m #if canImport(Combine)
[0;36m10 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' imported as 'internal' from 'Combine' here[0;0m
[0;36m11 |[0;0m import Foundation
[0;36m12 |[0;0m
[0;36m:[0;0m
[0;36m21 |[0;0m /// Associates a default `TopLevelDecoder` type with a given type
[0;36m22 |[0;0m public protocol TopLevelDecodable: Decodable {
[0;36m23 |[0;0m associatedtype AdoptedDecoder: [4;39mTopLevelDecoder[0;0m where AdoptedDecoder.Input == Data
[0;36m|[0;0m |- [1;31merror: [1;39massociated type in a public protocol uses an internal type in its requirement [0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'TopLevelDecoder' is imported by this file as 'internal' from 'Combine'[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// The default `TopLevelDecoder` for the conforming type
Combine.TopLevelDecoder:2:17: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m public protocol TopLevelDecoder {
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m associatedtype Input
[0;36m4 |[0;0m 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: [1;31merror: [1;39mpublic protocol's 'where' clause cannot use an internal type[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m #if canImport(Combine)
[0;36m10 |[0;0m import Combine
[0;36m|[0;0m `- [1;39mnote: [1;39massociated type 'Output' imported as 'internal' from 'Combine' here[0;0m
[0;36m11 |[0;0m import Foundation
[0;36m12 |[0;0m
[0;36m:[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Convenience protocol for conforming to `TopLevelEncodable` and `TopLevelDecodable`
[0;36m30 |[0;0m public protocol TopLevelCodable: TopLevelEncodable,
[0;36m|[0;0m |- [1;31merror: [1;39mpublic protocol's 'where' clause cannot use an internal type[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39massociated type 'Output' is imported by this file as 'internal' from 'Combine'[0;0m
[0;36m31 |[0;0m TopLevelDecodable where AdoptedEncoder.Output == AdoptedDecoder.Input {}
[0;36m32 |[0;0m
Combine.TopLevelEncoder.Output:2:16: [1;39mnote: [1;39mtype declared here[0;0m
[0;36m1 |[0;0m protocol TopLevelEncoder {
[0;36m2 |[0;0m associatedtype Output}
[0;36m|[0;0m `- [1;39mnote: [1;39mtype declared here[0;0m
[0;36m3 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift:11:11: [1;31merror: [1;39mcannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m12 |[0;0m /// Add HTTP header values to a URLRequest with type safety, avoiding the use of raw strings
[0;36m13 |[0;0m /// - Parameter header: The HTTP header to be added
Foundation.URLRequest:2:15: [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPHeader.swift:36:11: [1;31merror: [1;39mcannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension URLRequest {
[0;36m:[0;0m
[0;36m34 |[0;0m }
[0;36m35 |[0;0m
[0;36m36 |[0;0m extension URLRequest.ContentType: HTTPHeader {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m37 |[0;0m public var key: String { Self.key }
[0;36m38 |[0;0m public var value: String { rawValue }
Foundation.URLRequest:2:15: [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m public typealias CachePolicy = NSURLRequest.CachePolicy
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift:18:16: [1;31merror: [1;39mproperty cannot be declared public because its type uses an internal type[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Getter/Setter wrapper for `httpMethod: String?` using type-safe `HTTPMethod`
[0;36m18 |[0;0m public var method: HTTPMethod? {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty cannot be declared public because its type uses an internal type[0;0m
[0;36m19 |[0;0m get {
[0;36m20 |[0;0m guard let httpMethod = httpMethod else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkService/URLRequest+HTTPMethod.swift:11:11: [1;31merror: [1;39mcannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m7 |[0;0m // LICENSE file in the root directory of this source tree.
[0;36m8 |[0;0m
[0;36m9 |[0;0m import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'URLRequest' imported as 'internal' from 'Foundation' here[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use struct 'URLRequest' in an extension with public or '@usableFromInline' members; 'Foundation' was not imported publicly[0;0m
[0;36m12 |[0;0m /// Type-safe enumeration of HTTP methods
[0;36m13 |[0;0m public enum HTTPMethod: String, Hashable, Sendable {
Foundation.URLRequest:2:15: [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m3 |[0;0m public typealias ReferenceType = NSURLRequest
[0;36m4 |[0;0m 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