The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-network-request, reference main (8bc0fe), with Swift 6.2 for Linux on 27 Feb 2026 01:04:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vadimkrutovlv/swift-network-request.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/vadimkrutovlv/swift-network-request
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bc0fef Add Xcode 26 support (#2)
Cloned https://github.com/vadimkrutovlv/swift-network-request.git
Revision (git rev-parse @):
8bc0fef8fbb0f50a11a650d3e08c56008122e3e2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vadimkrutovlv/swift-network-request.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vadimkrutovlv/swift-network-request.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/962] Fetching swift-macro-testing
[963/7593] Fetching swift-macro-testing, swift-dependencies
[1295/9764] Fetching swift-macro-testing, swift-dependencies, swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.42s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.42s)
[1/74492] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (6.65s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.72s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (7.25s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/886] Fetching swift-concurrency-extras
[55/3436] Fetching swift-concurrency-extras, combine-schedulers
[1345/4753] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4754/10471] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.43s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.43s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.44s)
[687/5718] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.00s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (1.43s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15774] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.13s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (3.69s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.39s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.58s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.78s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3663] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.56s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.35s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.32s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5308] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (0.65s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.38s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/33] Write sources
[27/33] Write swift-version-24593BA9C3E375BF.txt
[28/65] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[31/249] Emitting module ConcurrencyExtras
[32/250] Emitting module IssueReportingPackageSupport
[33/250] Compiling IssueReportingPackageSupport _Test.swift
[35/251] Emitting module IssueReportingPackageSupport
[36/251] Compiling OpenCombine Utils.swift
[37/251] Compiling OpenCombine Violations.swift
[38/251] Compiling OpenCombine ImmediateScheduler.swift
[39/251] Compiling OpenCombine ObservableObject.swift
[40/251] Compiling OpenCombine PassthroughSubject.swift
[41/251] Compiling OpenCombine Published.swift
[42/251] Compiling OpenCombine Publisher+Subscribe.swift
[43/251] Compiling OpenCombine Deferred.swift
[44/251] Compiling OpenCombine Empty.swift
[45/251] Compiling OpenCombine Fail.swift
[46/251] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[47/251] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[48/251] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[51/264] Compiling SwiftNetworkRequestMacros RequestMacros.swift
[52/264] Emitting module OpenCombine
[53/276] Compiling ConcurrencyExtras UncheckedSendable.swift
[54/276] Emitting module OpenCombine
[55/276] Compiling OpenCombine AnyCancellable.swift
[56/276] Compiling OpenCombine AnyPublisher.swift
[57/276] Compiling OpenCombine AnySubscriber.swift
[58/276] Compiling OpenCombine Cancellable.swift
[59/276] Compiling OpenCombine Codable.swift
[60/276] Compiling OpenCombine CombineIdentifier.swift
[61/276] Compiling OpenCombine ConcurrencyHelpers.swift
[62/276] Compiling OpenCombine Future+Concurrency.swift
[63/276] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[64/276] Compiling OpenCombine CurrentValueSubject.swift
[65/276] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[66/276] Compiling OpenCombine Future.swift
[67/276] Compiling OpenCombine GENERATED-RootProtocols.swift
[68/276] Compiling OpenCombine ConduitBase.swift
[69/276] Compiling OpenCombine ConduitList.swift
[70/276] Compiling OpenCombine DebugHook.swift
[71/276] Compiling OpenCombine FilterProducer.swift
[72/276] Compiling OpenCombine Locking.swift
[73/276] Compiling OpenCombine PartialCompletion.swift
[74/276] Compiling OpenCombine PublishedSubject.swift
[75/276] Compiling OpenCombine PublishedSubscriber.swift
[76/276] Compiling OpenCombine ReduceProducer.swift
[77/276] Compiling OpenCombine SubjectSubscriber.swift
[78/276] Compiling OpenCombine SubscriberTap.swift
[79/276] Compiling OpenCombine SubscriptionStatus.swift
[80/276] Compiling OpenCombine SubscriptionTap.swift
[81/277] Compiling OpenCombine Utils.swift
[82/277] Compiling OpenCombine Violations.swift
[83/277] Compiling OpenCombine ImmediateScheduler.swift
[84/277] Compiling OpenCombine ObservableObject.swift
[85/277] Compiling OpenCombine PassthroughSubject.swift
[86/277] Compiling OpenCombine Published.swift
[87/277] Compiling OpenCombine Publisher+Subscribe.swift
[88/277] Compiling OpenCombine Deferred.swift
[89/277] Compiling OpenCombine Empty.swift
[90/277] Compiling OpenCombine Fail.swift
[91/277] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[92/277] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[93/277] Compiling OpenCombine GENERATED-RootProtocols.swift
[94/316] Compiling OpenCombine Publishers.Count.swift
[95/316] Compiling OpenCombine Publishers.Debounce.swift
[96/316] Compiling OpenCombine Publishers.Delay.swift
[97/316] Compiling OpenCombine Publishers.Drop.swift
[98/316] Compiling OpenCombine Publishers.DropUntilOutput.swift
[99/316] Compiling OpenCombine Publishers.DropWhile.swift
[100/316] Compiling OpenCombine Publishers.Filter.swift
[101/316] Compiling OpenCombine Publishers.First.swift
[102/316] Compiling OpenCombine Publishers.FlatMap.swift
[103/316] Compiling OpenCombine Publishers.HandleEvents.swift
[104/316] Compiling OpenCombine Publishers.IgnoreOutput.swift
[105/316] Compiling OpenCombine Publishers.Last.swift
[106/316] Compiling OpenCombine Publishers.MakeConnectable.swift
[107/316] Compiling IssueReporting IssueSeverity.swift
[108/316] Compiling IssueReporting ReportIssue.swift
[123/318] Compiling IssueReporting BreakpointReporter.swift
[124/318] Compiling IssueReporting DefaultReporter.swift
[125/318] Compiling IssueReporting FatalErrorReporter.swift
[126/318] Compiling IssueReporting TestContext.swift
[127/318] Compiling IssueReporting Unimplemented.swift
[128/318] Compiling IssueReporting WithExpectedIssue.swift
[129/318] Compiling IssueReporting WithIssueContext.swift
[148/318] Compiling IssueReporting ErrorReporting.swift
[149/318] Compiling IssueReporting AppHostWarning.swift
[150/318] Compiling IssueReporting Deprecations.swift
[151/318] Compiling IssueReporting SwiftTesting.swift
[152/318] Compiling IssueReporting UncheckedSendable.swift
[153/318] Compiling IssueReporting Warn.swift
[154/318] Compiling IssueReporting FailureObserver.swift
[155/318] Compiling IssueReporting LockIsolated.swift
[156/318] Compiling IssueReporting Rethrows.swift
[157/318] Compiling IssueReporting XCTest.swift
[158/318] Compiling IssueReporting IsTesting.swift
[159/318] Compiling IssueReporting IssueReporter.swift
[180/320] Emitting module IssueReporting
[181/320] Compiling IssueReporting WithExpectedIssue.swift
[182/320] Compiling IssueReporting WithIssueContext.swift
[185/320] Compiling OpenCombine Result.swift
[186/320] Compiling OpenCombine Scheduler.swift
[187/320] Compiling OpenCombine Subject+Void.swift
[188/320] Compiling OpenCombine Subscriber+Void.swift
[189/320] Compiling OpenCombine Subscribers.Assign.swift
[190/320] Compiling OpenCombine Subscribers.Completion.swift
[191/320] Compiling OpenCombine Subscribers.Demand.swift
[192/320] Compiling OpenCombine Subscribers.Sink.swift
[193/320] Compiling OpenCombine Subscribers.swift
[194/320] Compiling OpenCombine Subscription.swift
[195/320] Compiling OpenCombine Subscriptions.swift
[196/320] Compiling OpenCombine _Introspection.swift
[209/320] Compiling OpenCombine Publishers.Retry.swift
[210/320] Compiling OpenCombine Publishers.Scan.swift
[211/320] Compiling OpenCombine Publishers.Sequence.swift
[212/320] Compiling OpenCombine Publishers.SetFailureType.swift
[213/320] Compiling OpenCombine Publishers.Share.swift
[214/320] Compiling OpenCombine Publishers.SubscribeOn.swift
[215/320] Compiling OpenCombine Publishers.SwitchToLatest.swift
[216/320] Compiling OpenCombine Publishers.Throttle.swift
[217/320] Compiling OpenCombine Publishers.Timeout.swift
[218/320] Compiling OpenCombine Publishers.Zip.swift
[219/320] Compiling OpenCombine Publishers.swift
[220/320] Compiling OpenCombine Record.swift
[221/320] Compiling OpenCombine Result.Publisher.swift
[222/320] Compiling OpenCombine Publishers.Map.swift
[223/320] Compiling OpenCombine Publishers.MapError.swift
[224/320] Compiling OpenCombine Publishers.MeasureInterval.swift
[225/320] Compiling OpenCombine Publishers.Multicast.swift
[226/320] Compiling OpenCombine Publishers.Output.swift
[227/320] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[228/320] Compiling OpenCombine Publishers.PrefixWhile.swift
[229/320] Compiling OpenCombine Publishers.Print.swift
[230/320] Compiling OpenCombine Publishers.ReceiveOn.swift
[231/320] Compiling OpenCombine Publishers.Reduce.swift
[232/320] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[233/320] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[234/320] Compiling OpenCombine Publishers.ReplaceError.swift
[263/335] Compiling ConcurrencyExtras MainSerialExecutor.swift
[264/336] Compiling OpenCombineFoundation JSONEncoder.swift
[265/336] Compiling OpenCombineFoundation NotificationCenter.swift
[266/336] Compiling ConcurrencyExtras LockIsolated.swift
[267/336] Compiling OpenCombineFoundation Utils.swift
[268/336] Compiling OpenCombineFoundation Violations.swift
[269/336] Compiling OpenCombineFoundation Locking.swift
[270/336] Compiling OpenCombineFoundation Portability.swift
[271/341] Compiling OpenCombineFoundation Locking.swift
[272/341] Compiling OpenCombineFoundation Portability.swift
[273/341] Emitting module ConcurrencyExtras
[274/341] Compiling OpenCombineFoundation Utils.swift
[275/341] Compiling OpenCombineFoundation Violations.swift
[282/347] Emitting module IssueReporting
[289/347] Compiling ConcurrencyExtras Task.swift
[290/347] Compiling ConcurrencyExtras Result.swift
[291/347] Compiling OpenCombineFoundation JSONEncoder.swift
[292/347] Compiling OpenCombineFoundation NotificationCenter.swift
[293/347] Compiling ConcurrencyExtras LockIsolated.swift
[294/347] Compiling ConcurrencyExtras UncheckedSendable.swift
[295/347] Compiling ConcurrencyExtras Result.swift
[296/347] Compiling ConcurrencyExtras Task.swift
[297/348] Compiling ConcurrencyExtras MainSerialExecutor.swift
[300/349] Compiling SwiftNetworkRequestMacros Plugin.swift
[301/349] Compiling SwiftNetworkRequestMacros Models.swift
[302/349] Emitting module SwiftNetworkRequestMacros
[303/349] Compiling SwiftNetworkRequestMacros Helpers.swift
[304/349] Compiling SwiftNetworkRequestMacros RequestBuilder.swift
[305/349] Emitting module OpenCombineDispatch
[306/349] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[317/353] Wrapping AST for SwiftNetworkRequestMacros for debugging
[318/353] Write Objects.LinkFileList
[331/377] Compiling XCTestDynamicOverlay Exports.swift
[332/377] Compiling Clocks SwiftUI.swift
[333/378] Compiling Clocks Timer.swift
[335/379] Compiling Clocks Lock.swift
[336/379] Emitting module XCTestDynamicOverlay
[337/379] Compiling XCTestDynamicOverlay Exports.swift
[338/379] Compiling Clocks AnyClock.swift
[339/379] Emitting module Clocks
[340/379] Compiling Clocks ImmediateClock.swift
[341/379] Compiling Clocks _AsyncTimerSequence.swift
[342/379] Compiling Clocks AnyClock.swift
[343/379] Emitting module Clocks
[344/379] Compiling Clocks Lock.swift
[345/379] Compiling Clocks ImmediateClock.swift
[346/379] Compiling Clocks _AsyncTimerSequence.swift
[347/379] Compiling Clocks UnimplementedClock.swift
[349/379] Compiling XCTestDynamicOverlay Deprecations.swift
[350/380] Emitting module OpenCombineDispatch
[351/380] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[354/381] Compiling Clocks TestClock.swift
[355/382] Compiling XCTestDynamicOverlay Deprecations.swift
[356/382] Emitting module XCTestDynamicOverlay
[358/383] Compiling Clocks TestClock.swift
[359/383] Compiling Clocks SwiftUI.swift
[361/384] Linking SwiftNetworkRequestMacros-tool
[363/384] Compiling OpenCombineFoundation PropertyListEncoder.swift
[366/386] Compiling OpenCombineFoundation RunLoop+Scheduler.swift
[367/386] Compiling OpenCombineFoundation PropertyListEncoder.swift
[368/386] Emitting module OpenCombineFoundation
[373/386] Compiling OpenCombineFoundation RunLoop+Scheduler.swift
[374/386] Compiling OpenCombineFoundation Timer+Publisher.swift
[377/386] Emitting module OpenCombineFoundation
[378/386] Compiling OpenCombineFoundation Timer+Publisher.swift
[379/386] Compiling OpenCombineFoundation URLSession.swift
[383/386] Compiling OpenCombineFoundation OperationQueue+Scheduler.swift
[389/392] Emitting module OpenCombineShim
[390/392] Compiling OpenCombineShim OpenCombineShim.swift
[392/392] Emitting module OpenCombineShim
[395/420] Compiling CombineSchedulers Platform.swift
[396/420] Compiling CombineSchedulers SwiftUI.swift
[397/421] Compiling CombineSchedulers UIScheduler.swift
[398/421] Compiling CombineSchedulers UIKit.swift
[399/422] Compiling CombineSchedulers AnyScheduler.swift
[400/422] Compiling CombineSchedulers Concurrency.swift
[401/422] Compiling CombineSchedulers UIScheduler.swift
[402/422] Compiling CombineSchedulers UIKit.swift
[403/422] Emitting module CombineSchedulers
[404/422] Compiling CombineSchedulers ImmediateScheduler.swift
[405/422] Compiling CombineSchedulers Deprecations.swift
[406/422] Compiling CombineSchedulers Lock.swift
[407/422] Compiling CombineSchedulers NSRecursiveLock.swift
[412/422] Emitting module CombineSchedulers
[415/422] Compiling CombineSchedulers UnimplementedScheduler.swift
[419/422] Compiling CombineSchedulers TestScheduler.swift
[420/422] Compiling CombineSchedulers Timer.swift
[425/470] Compiling Dependencies Deprecations.swift
[426/470] Compiling Dependencies Exports.swift
[427/470] Compiling Dependencies TypeName.swift
[428/470] Compiling Dependencies UUID.swift
[429/470] Compiling Dependencies WithRandomNumberGenerator.swift
[430/470] Compiling Dependencies AppEntryPoint.swift
[434/473] Compiling Dependencies Locale.swift
[435/473] Compiling Dependencies MainQueue.swift
[436/473] Compiling Dependencies MainRunLoop.swift
[437/473] Compiling Dependencies Context.swift
[438/473] Compiling Dependencies Date.swift
[439/473] Compiling Dependencies FireAndForget.swift
[440/473] Compiling Dependencies Assert.swift
[441/473] Compiling Dependencies Calendar.swift
[442/473] Compiling Dependencies Clocks.swift
[443/473] Compiling Dependencies OpenURL.swift
[444/473] Compiling Dependencies TimeZone.swift
[445/473] Compiling Dependencies URLSession.swift
[455/476] Compiling Dependencies DependencyContext.swift
[456/476] Compiling Dependencies DependencyKey.swift
[457/476] Compiling Dependencies DependencyValues.swift
[464/476] Compiling Dependencies Dependency.swift
[465/476] Emitting module Dependencies
[471/476] Compiling Dependencies PreviewTrait.swift
[472/476] Compiling Dependencies TestTrait.swift
[473/476] Compiling Dependencies WithDependencies.swift
[479/489] Compiling SwiftNetworkRequest KeyValuePair.swift
[480/501] Compiling SwiftNetworkRequest RequestAuthorization.swift
[481/501] Compiling SwiftNetworkRequest URLSession.swift
[482/501] Compiling SwiftNetworkRequest URLSession+Request.swift
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/DI/URLSession.swift:35:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 |
34 | private enum URLSessionKey: DependencyKey {
35 |     static let liveValue: any HTTPSession = URLSession.shared
   |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | }
37 |
[483/501] Compiling SwiftNetworkRequest Delete.swift
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/DI/URLSession.swift:35:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 |
34 | private enum URLSessionKey: DependencyKey {
35 |     static let liveValue: any HTTPSession = URLSession.shared
   |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | }
37 |
[484/501] Compiling SwiftNetworkRequest Get.swift
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:30: error: cannot find type 'URLRequest' in scope
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                              `- error: cannot find type 'URLRequest' in scope
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:32: error: cannot find type 'URLRequest' in scope
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                `- error: cannot find type 'URLRequest' in scope
 53 | }
 54 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 | }
 54 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:81:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 79 | }
 80 |
 81 | extension URLSession: HTTPSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
 83 |         try await self.download(for: request, delegate: nil)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:129:61: error: cannot find type 'URLRequest' in scope
127 |     }
128 |
129 |     func createURLRequest(apiRequest: ApiRequest) throws -> URLRequest {
    |                                                             `- error: cannot find type 'URLRequest' in scope
130 |         var components = URLComponents(string: apiRequest.path)
131 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:156:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |     }
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         guard let httpResponse = response as? HTTPURLResponse else {
158 |             throw ApiRequestError(message: "Invalid Response")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:115:26: error: cannot infer contextual base in reference to member 'init'
113 |     ) async throws -> Data {
114 |         let urlRequest = try createURLRequest(
115 |             apiRequest: .init(
    |                          `- error: cannot infer contextual base in reference to member 'init'
116 |                 path: path,
117 |                 httpMethod: httpMethod,
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:142:23: error: cannot find 'URLRequest' in scope
140 |         }
141 |
142 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
143 |         request.httpMethod = apiRequest.httpMethod
144 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:161:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
159 |         }
160 |
161 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
162 |             throw URLError(.badServerResponse)
163 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:82:39: error: cannot find type 'URLRequest' in scope
 80 |
 81 | extension URLSession: HTTPSession {
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
    |                                       `- error: cannot find type 'URLRequest' in scope
 83 |         try await self.download(for: request, delegate: nil)
 84 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
[485/501] Compiling SwiftNetworkRequest HelperMacros.swift
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:30: error: cannot find type 'URLRequest' in scope
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                              `- error: cannot find type 'URLRequest' in scope
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:32: error: cannot find type 'URLRequest' in scope
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                `- error: cannot find type 'URLRequest' in scope
 53 | }
 54 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 | }
 54 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:81:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 79 | }
 80 |
 81 | extension URLSession: HTTPSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
 83 |         try await self.download(for: request, delegate: nil)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:129:61: error: cannot find type 'URLRequest' in scope
127 |     }
128 |
129 |     func createURLRequest(apiRequest: ApiRequest) throws -> URLRequest {
    |                                                             `- error: cannot find type 'URLRequest' in scope
130 |         var components = URLComponents(string: apiRequest.path)
131 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:156:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |     }
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         guard let httpResponse = response as? HTTPURLResponse else {
158 |             throw ApiRequestError(message: "Invalid Response")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:115:26: error: cannot infer contextual base in reference to member 'init'
113 |     ) async throws -> Data {
114 |         let urlRequest = try createURLRequest(
115 |             apiRequest: .init(
    |                          `- error: cannot infer contextual base in reference to member 'init'
116 |                 path: path,
117 |                 httpMethod: httpMethod,
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:142:23: error: cannot find 'URLRequest' in scope
140 |         }
141 |
142 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
143 |         request.httpMethod = apiRequest.httpMethod
144 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:161:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
159 |         }
160 |
161 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
162 |             throw URLError(.badServerResponse)
163 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:82:39: error: cannot find type 'URLRequest' in scope
 80 |
 81 | extension URLSession: HTTPSession {
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
    |                                       `- error: cannot find type 'URLRequest' in scope
 83 |         try await self.download(for: request, delegate: nil)
 84 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[486/501] Emitting module SwiftNetworkRequest
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/DI/URLSession.swift:35:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 |
34 | private enum URLSessionKey: DependencyKey {
35 |     static let liveValue: any HTTPSession = URLSession.shared
   |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | }
37 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:30: error: cannot find type 'URLRequest' in scope
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                              `- error: cannot find type 'URLRequest' in scope
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:32: error: cannot find type 'URLRequest' in scope
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                `- error: cannot find type 'URLRequest' in scope
 53 | }
 54 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 | }
 54 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:81:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 79 | }
 80 |
 81 | extension URLSession: HTTPSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
 83 |         try await self.download(for: request, delegate: nil)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:129:61: error: cannot find type 'URLRequest' in scope
127 |     }
128 |
129 |     func createURLRequest(apiRequest: ApiRequest) throws -> URLRequest {
    |                                                             `- error: cannot find type 'URLRequest' in scope
130 |         var components = URLComponents(string: apiRequest.path)
131 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:156:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |     }
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         guard let httpResponse = response as? HTTPURLResponse else {
158 |             throw ApiRequestError(message: "Invalid Response")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[487/501] Compiling SwiftNetworkRequest Put.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[488/502] Emitting module SwiftNetworkRequest
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/DI/URLSession.swift:35:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 |
34 | private enum URLSessionKey: DependencyKey {
35 |     static let liveValue: any HTTPSession = URLSession.shared
   |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | }
37 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:30: error: cannot find type 'URLRequest' in scope
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                              `- error: cannot find type 'URLRequest' in scope
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:32: error: cannot find type 'URLRequest' in scope
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                `- error: cannot find type 'URLRequest' in scope
 53 | }
 54 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 | }
 54 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:81:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 79 | }
 80 |
 81 | extension URLSession: HTTPSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
 83 |         try await self.download(for: request, delegate: nil)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:129:61: error: cannot find type 'URLRequest' in scope
127 |     }
128 |
129 |     func createURLRequest(apiRequest: ApiRequest) throws -> URLRequest {
    |                                                             `- error: cannot find type 'URLRequest' in scope
130 |         var components = URLComponents(string: apiRequest.path)
131 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:156:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |     }
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         guard let httpResponse = response as? HTTPURLResponse else {
158 |             throw ApiRequestError(message: "Invalid Response")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
[489/502] Compiling SwiftNetworkRequest Post.swift
[492/502] Compiling SwiftNetworkRequest KeyValuePair.swift
[493/502] Compiling SwiftNetworkRequest RequestConfig.swift
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/DI/URLSession.swift:35:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 |
34 | private enum URLSessionKey: DependencyKey {
35 |     static let liveValue: any HTTPSession = URLSession.shared
   |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | }
37 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/DI/URLSession.swift:35:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 |
34 | private enum URLSessionKey: DependencyKey {
35 |     static let liveValue: any HTTPSession = URLSession.shared
   |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | }
37 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:30: error: cannot find type 'URLRequest' in scope
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                              `- error: cannot find type 'URLRequest' in scope
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:32: error: cannot find type 'URLRequest' in scope
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                `- error: cannot find type 'URLRequest' in scope
 53 | }
 54 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 | }
 54 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:81:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 79 | }
 80 |
 81 | extension URLSession: HTTPSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
 83 |         try await self.download(for: request, delegate: nil)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:129:61: error: cannot find type 'URLRequest' in scope
127 |     }
128 |
129 |     func createURLRequest(apiRequest: ApiRequest) throws -> URLRequest {
    |                                                             `- error: cannot find type 'URLRequest' in scope
130 |         var components = URLComponents(string: apiRequest.path)
131 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:156:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |     }
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         guard let httpResponse = response as? HTTPURLResponse else {
158 |             throw ApiRequestError(message: "Invalid Response")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:115:26: error: cannot infer contextual base in reference to member 'init'
113 |     ) async throws -> Data {
114 |         let urlRequest = try createURLRequest(
115 |             apiRequest: .init(
    |                          `- error: cannot infer contextual base in reference to member 'init'
116 |                 path: path,
117 |                 httpMethod: httpMethod,
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:142:23: error: cannot find 'URLRequest' in scope
140 |         }
141 |
142 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
143 |         request.httpMethod = apiRequest.httpMethod
144 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:161:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
159 |         }
160 |
161 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
162 |             throw URLError(.badServerResponse)
163 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:82:39: error: cannot find type 'URLRequest' in scope
 80 |
 81 | extension URLSession: HTTPSession {
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
    |                                       `- error: cannot find type 'URLRequest' in scope
 83 |         try await self.download(for: request, delegate: nil)
 84 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:50:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 | /// - [`swift-dependencies`](https://github.com/pointfreeco/swift-dependencies)
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:30: error: cannot find type 'URLRequest' in scope
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                              `- error: cannot find type 'URLRequest' in scope
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:51:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | public protocol HTTPSession: Sendable {
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
 53 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:32: error: cannot find type 'URLRequest' in scope
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                `- error: cannot find type 'URLRequest' in scope
 53 | }
 54 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:52:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
 51 |     func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
 52 |     func download(for request: URLRequest) async throws -> (URL, URLResponse)
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 | }
 54 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:81:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 79 | }
 80 |
 81 | extension URLSession: HTTPSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
 83 |         try await self.download(for: request, delegate: nil)
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:129:61: error: cannot find type 'URLRequest' in scope
127 |     }
128 |
129 |     func createURLRequest(apiRequest: ApiRequest) throws -> URLRequest {
    |                                                             `- error: cannot find type 'URLRequest' in scope
130 |         var components = URLComponents(string: apiRequest.path)
131 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:156:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
154 |     }
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |         guard let httpResponse = response as? HTTPURLResponse else {
158 |             throw ApiRequestError(message: "Invalid Response")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:115:26: error: cannot infer contextual base in reference to member 'init'
113 |     ) async throws -> Data {
114 |         let urlRequest = try createURLRequest(
115 |             apiRequest: .init(
    |                          `- error: cannot infer contextual base in reference to member 'init'
116 |                 path: path,
117 |                 httpMethod: httpMethod,
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:142:23: error: cannot find 'URLRequest' in scope
140 |         }
141 |
142 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
143 |         request.httpMethod = apiRequest.httpMethod
144 |
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:157:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 |     func handleResponse(data: Data, response: URLResponse) throws {
157 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |             throw ApiRequestError(message: "Invalid Response")
159 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:161:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
159 |         }
160 |
161 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
162 |             throw URLError(.badServerResponse)
163 |         }
/host/spi-builder-workspace/Sources/SwiftNetworkRequest/Helpers/URLSession+Request.swift:82:39: error: cannot find type 'URLRequest' in scope
 80 |
 81 | extension URLSession: HTTPSession {
 82 |     public func download(for request: URLRequest) async throws -> (URL, URLResponse) {
    |                                       `- error: cannot find type 'URLRequest' in scope
 83 |         try await self.download(for: request, delegate: nil)
 84 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[498/502] Compiling SwiftNetworkRequest DynamicAPIResponse.swift
[499/502] Compiling SwiftNetworkRequest Put.swift
[500/502] Compiling SwiftNetworkRequest Post.swift
[501/502] Compiling SwiftNetworkRequest DynamicAPIResponse.swift
[502/502] Compiling SwiftNetworkRequest RequestConfig.swift
BUILD FAILURE 6.2 linux