Build Information
Failed to build swift-network-request, reference main (8bc0fe), with Swift 6.3 for Linux on 16 Apr 2026 15:43:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/vadimkrutovlv/swift-network-request.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing
[1/961] Fetching swift-macro-testing
[770/3238] Fetching swift-macro-testing, swift-docc-plugin
[998/9994] Fetching swift-macro-testing, swift-docc-plugin, swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.58s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.58s)
[770/75946] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (7.33s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.42s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (7.94s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/2569] Fetching combine-schedulers
[2570/3525] Fetching combine-schedulers, swift-concurrency-extras
[3287/4842] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.33s)
[3860/3886] Fetching combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.33s)
[1317/1317] Fetching swift-clocks
[1318/7040] Fetching swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.86s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.87s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.5 (1.28s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16053] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.72s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (4.32s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.72s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.70s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (4.76s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (1.00s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.14s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.79s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.72s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.62s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (1.43s)
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/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.5.0
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.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/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.5
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.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-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/64] Write sources
[26/64] Compiling _SwiftSyntaxCShims dummy.c
[27/64] Write sources
[43/64] Write swift-version-24593BA9C3E375BF.txt
[44/76] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[47/98] Emitting module ConcurrencyExtras
[48/99] Compiling IssueReportingPackageSupport _Test.swift
[49/99] Emitting module IssueReportingPackageSupport
[50/99] Emitting module SwiftSyntax510
[51/99] Compiling SwiftSyntax510 Empty.swift
[52/101] Compiling SwiftSyntax600 Empty.swift
[53/101] Emitting module SwiftSyntax600
[54/101] Compiling ConcurrencyExtras UncheckedSendable.swift
[55/102] Compiling ConcurrencyExtras ActorIsolated.swift
[56/102] Compiling ConcurrencyExtras AnyHashableSendable.swift
[57/102] Emitting module SwiftSyntax509
[58/102] Compiling SwiftSyntax509 Empty.swift
[59/103] Compiling SwiftSyntax601 Empty.swift
[61/103] Emitting module SwiftSyntax601
[65/104] Emitting module IssueReportingPackageSupport
[66/104] Compiling IssueReportingPackageSupport _Test.swift
[68/105] Wrapping AST for SwiftSyntax510 for debugging
[69/105] Wrapping AST for SwiftSyntax600 for debugging
[70/105] Wrapping AST for SwiftSyntax601 for debugging
[71/216] Wrapping AST for SwiftSyntax509 for debugging
[73/393] Compiling OpenCombine Locking.swift
[74/393] Compiling OpenCombine PartialCompletion.swift
[75/395] Compiling OpenCombine DebugHook.swift
[76/395] Compiling OpenCombine FilterProducer.swift
[79/397] Emitting module IssueReporting
[80/397] Compiling IssueReporting WithExpectedIssue.swift
[81/397] Compiling IssueReporting WithIssueContext.swift
[84/397] Compiling OpenCombine ConduitBase.swift
[85/397] Compiling OpenCombine ConduitList.swift
[92/397] Compiling OpenCombine ReduceProducer.swift
[93/397] Compiling OpenCombine SubjectSubscriber.swift
[94/397] Compiling OpenCombine SubscriberTap.swift
[95/397] Compiling OpenCombine SubscriptionStatus.swift
[96/397] Compiling OpenCombine SubscriptionTap.swift
[97/409] Emitting module OpenCombine
[98/421] Compiling OpenCombine CurrentValueSubject.swift
[99/421] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[100/421] Compiling OpenCombine Future.swift
[101/421] Compiling OpenCombine AnyCancellable.swift
[102/421] Compiling OpenCombine AnyPublisher.swift
[103/422] Compiling OpenCombine AnySubscriber.swift
[104/422] Compiling OpenCombine Cancellable.swift
[107/422] Emitting module ConcurrencyExtras
[108/422] Compiling OpenCombine Codable.swift
[109/422] Compiling OpenCombine CombineIdentifier.swift
[110/422] Compiling ConcurrencyExtras LockIsolated.swift
[113/422] Compiling ConcurrencyExtras MainSerialExecutor.swift
[114/422] Compiling ConcurrencyExtras LockIsolated.swift
[115/422] Compiling ConcurrencyExtras MainSerialExecutor.swift
[119/422] Compiling ConcurrencyExtras Result.swift
[120/422] Compiling ConcurrencyExtras Task.swift
[121/422] Compiling OpenCombine ConcurrencyHelpers.swift
[122/422] Compiling OpenCombine Future+Concurrency.swift
[123/422] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[124/422] Compiling ConcurrencyExtras Result.swift
[125/422] Compiling ConcurrencyExtras Task.swift
[129/423] Compiling OpenCombine GENERATED-RootProtocols.swift
[141/424] Emitting module IssueReporting
[172/424] Compiling ConcurrencyExtras UncheckedSendable.swift
[173/425] Compiling OpenCombine Optional.Publisher.swift
[174/425] Compiling OpenCombine Publishers.AllSatisfy.swift
[175/425] Compiling OpenCombine Publishers.AssertNoFailure.swift
[176/425] Compiling OpenCombine Publishers.Autoconnect.swift
[177/425] Compiling OpenCombine Publishers.Breakpoint.swift
[178/425] Compiling OpenCombine Publishers.Buffer.swift
[179/425] Compiling OpenCombine Publishers.Collect.swift
[180/425] Compiling OpenCombine Publishers.CollectByCount.swift
[181/425] Compiling OpenCombine Publishers.CompactMap.swift
[183/445] Compiling Clocks SwiftUI.swift
[184/445] Compiling XCTestDynamicOverlay Exports.swift
[185/446] Compiling OpenCombine Publishers.Map.swift
[186/446] Compiling OpenCombine Publishers.MapError.swift
[187/446] Compiling OpenCombine Publishers.MeasureInterval.swift
[188/446] Compiling OpenCombine Publishers.Multicast.swift
[189/446] Compiling OpenCombine Publishers.Output.swift
[190/446] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[191/446] Compiling OpenCombine Publishers.PrefixWhile.swift
[192/446] Compiling OpenCombine Publishers.Print.swift
[193/446] Compiling OpenCombine Publishers.ReceiveOn.swift
[194/446] Compiling OpenCombine Publishers.Reduce.swift
[195/446] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[196/446] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[197/446] Compiling OpenCombine Publishers.ReplaceError.swift
[198/446] Compiling Clocks Timer.swift
[206/447] Emitting module Clocks
[207/458] Compiling Clocks AnyClock.swift
[208/458] Compiling XCTestDynamicOverlay Exports.swift
[209/458] Compiling Clocks _AsyncTimerSequence.swift
[210/458] Compiling Clocks Lock.swift
[211/458] Compiling Clocks ImmediateClock.swift
[212/458] Compiling Clocks SwiftUI.swift
[213/459] Compiling Clocks UnimplementedClock.swift
[214/459] Emitting module XCTestDynamicOverlay
[215/459] Emitting module Clocks
[225/459] Emitting module OpenCombine
[226/459] Compiling Clocks AnyClock.swift
[240/459] Compiling Clocks _AsyncTimerSequence.swift
[241/459] Compiling Clocks Lock.swift
[242/459] Compiling Clocks ImmediateClock.swift
[243/459] Compiling Clocks TestClock.swift
[244/460] Compiling OpenCombine Result.swift
[245/460] Compiling OpenCombine Scheduler.swift
[246/460] Compiling OpenCombine Subject+Void.swift
[247/460] Compiling OpenCombine Subscriber+Void.swift
[248/460] Compiling OpenCombine Subscribers.Assign.swift
[249/460] Compiling OpenCombine Subscribers.Completion.swift
[250/460] Compiling OpenCombine Subscribers.Demand.swift
[251/460] Compiling OpenCombine Subscribers.Sink.swift
[252/460] Compiling OpenCombine Subscribers.swift
[253/460] Compiling OpenCombine Subscription.swift
[254/460] Compiling OpenCombine Subscriptions.swift
[255/460] Compiling OpenCombine _Introspection.swift
[256/460] Emitting module XCTestDynamicOverlay
[258/460] Compiling XCTestDynamicOverlay Deprecations.swift
[260/461] Compiling Clocks UnimplementedClock.swift
[261/461] Compiling XCTestDynamicOverlay Deprecations.swift
[263/462] Compiling OpenCombine Publishers.Count.swift
[264/462] Compiling OpenCombine Publishers.Debounce.swift
[265/462] Compiling OpenCombine Publishers.Delay.swift
[266/462] Compiling OpenCombine Publishers.Drop.swift
[267/462] Compiling OpenCombine Publishers.DropUntilOutput.swift
[268/462] Compiling OpenCombine Publishers.DropWhile.swift
[269/462] Compiling OpenCombine Publishers.Filter.swift
[270/462] Compiling OpenCombine Publishers.First.swift
[271/462] Compiling OpenCombine Publishers.FlatMap.swift
[272/462] Compiling OpenCombine Publishers.HandleEvents.swift
[273/462] Compiling OpenCombine Publishers.IgnoreOutput.swift
[274/462] Compiling SwiftSyntax SyntaxNodesAB.swift
[275/462] Compiling SwiftSyntax SyntaxNodesC.swift
[276/462] Compiling Clocks Timer.swift
[277/462] Compiling Clocks TestClock.swift
[279/463] Compiling OpenCombine Utils.swift
[280/463] Compiling OpenCombine Violations.swift
[281/463] Compiling OpenCombine ImmediateScheduler.swift
[282/463] Compiling OpenCombine ObservableObject.swift
[283/463] Compiling OpenCombine PassthroughSubject.swift
[284/463] Compiling OpenCombine Published.swift
[285/463] Compiling OpenCombine Publisher+Subscribe.swift
[286/463] Compiling OpenCombine Deferred.swift
[287/463] Compiling OpenCombine Empty.swift
[288/463] Compiling OpenCombine Fail.swift
[289/463] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[290/463] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[291/463] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[292/463] Compiling OpenCombine Just.swift
[302/463] Compiling OpenCombine Publishers.Comparison.swift
[303/463] Compiling OpenCombine Publishers.Concatenate.swift
[304/463] Compiling OpenCombine Publishers.Contains.swift
[356/463] Compiling SwiftSyntax SyntaxNodesD.swift
[357/463] Compiling SwiftSyntax SyntaxNodesEF.swift
[358/463] Compiling SwiftSyntax SyntaxNodesGHI.swift
[359/463] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[360/463] Compiling SwiftSyntax SyntaxNodesOP.swift
[361/463] Compiling SwiftSyntax SyntaxNodesQRS.swift
[362/463] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[363/463] Compiling OpenCombine Publishers.Throttle.swift
[364/463] Compiling OpenCombine Publishers.Timeout.swift
[365/463] Compiling OpenCombine Publishers.Zip.swift
[366/463] Compiling OpenCombine Publishers.swift
[367/463] Compiling OpenCombine Record.swift
[368/463] Compiling OpenCombine Result.Publisher.swift
[415/491] Emitting module OpenCombineDispatch
[416/491] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[419/492] Emitting module OpenCombineDispatch
[421/493] Compiling OpenCombineFoundation Timer+Publisher.swift
[422/494] Compiling OpenCombineFoundation JSONEncoder.swift
[423/494] Compiling OpenCombineFoundation NotificationCenter.swift
[424/494] Compiling OpenCombineFoundation JSONEncoder.swift
[425/494] Compiling OpenCombineFoundation NotificationCenter.swift
[426/494] Compiling OpenCombineFoundation OperationQueue+Scheduler.swift
[427/494] Compiling OpenCombineFoundation PropertyListEncoder.swift
[428/494] Compiling OpenCombineFoundation Timer+Publisher.swift
[429/494] Compiling OpenCombineFoundation RunLoop+Scheduler.swift
[430/494] Compiling OpenCombineFoundation PropertyListEncoder.swift
[431/494] Compiling OpenCombineFoundation RunLoop+Scheduler.swift
[432/495] Emitting module OpenCombineFoundation
[434/495] Compiling OpenCombineFoundation Locking.swift
[435/495] Compiling OpenCombineFoundation Portability.swift
[442/495] Compiling OpenCombineFoundation OperationQueue+Scheduler.swift
[443/495] Compiling OpenCombineFoundation URLSession.swift
[447/501] Compiling OpenCombineShim OpenCombineShim.swift
[448/501] Emitting module OpenCombineShim
[449/502] Compiling OpenCombineShim OpenCombineShim.swift
[450/502] Emitting module OpenCombineShim
[453/529] Compiling CombineSchedulers UIKit.swift
[454/529] Compiling CombineSchedulers UIScheduler.swift
[455/530] Compiling CombineSchedulers UIKit.swift
[456/530] Compiling CombineSchedulers UIScheduler.swift
[457/531] Compiling CombineSchedulers ImmediateScheduler.swift
[458/531] Compiling CombineSchedulers Deprecations.swift
[459/531] Emitting module CombineSchedulers
[460/531] Compiling CombineSchedulers AnyScheduler.swift
[461/531] Compiling CombineSchedulers Concurrency.swift
[462/531] Compiling CombineSchedulers TestScheduler.swift
[463/531] Compiling CombineSchedulers Timer.swift
[464/531] Emitting module CombineSchedulers
[467/531] Compiling CombineSchedulers UnimplementedScheduler.swift
[469/531] Compiling CombineSchedulers Platform.swift
[470/531] Compiling CombineSchedulers SwiftUI.swift
[471/531] Compiling CombineSchedulers Lock.swift
[472/531] Compiling CombineSchedulers NSRecursiveLock.swift
[483/579] Emitting module Dependencies
[484/579] Compiling Dependencies Locale.swift
[485/579] Compiling Dependencies MainQueue.swift
[486/579] Compiling Dependencies MainRunLoop.swift
[487/582] Compiling Dependencies OpenURL.swift
[488/582] Compiling Dependencies TimeZone.swift
[489/582] Compiling Dependencies URLSession.swift
[490/582] Compiling Dependencies Context.swift
[491/582] Compiling Dependencies Date.swift
[492/582] Compiling Dependencies FireAndForget.swift
[493/582] Compiling Dependencies Assert.swift
[494/582] Compiling Dependencies Calendar.swift
[495/582] Compiling Dependencies Clocks.swift
[496/582] Compiling Dependencies Deprecations.swift
[497/582] Compiling Dependencies Exports.swift
[498/582] Compiling Dependencies TypeName.swift
[499/582] Compiling Dependencies UUID.swift
[500/582] Compiling Dependencies WithRandomNumberGenerator.swift
[501/582] Compiling Dependencies AppEntryPoint.swift
[502/582] Compiling Dependencies DependencyContext.swift
[503/582] Compiling Dependencies DependencyKey.swift
[504/582] Compiling Dependencies DependencyValues.swift
[511/582] Emitting module Dependencies
[521/585] Compiling Dependencies PreviewTrait.swift
[522/585] Compiling Dependencies TestTrait.swift
[523/585] Compiling Dependencies WithDependencies.swift
[524/585] Emitting module SwiftSyntax
[528/585] Compiling Dependencies Dependency.swift
[574/593] Wrapping AST for SwiftSyntax for debugging
[576/646] Compiling SwiftDiagnostics Message.swift
[577/647] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[578/647] Compiling SwiftBasicFormat Syntax+Extensions.swift
[579/647] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[580/647] Compiling SwiftParser CharacterInfo.swift
[581/647] Compiling SwiftParser CollectionNodes+Parsable.swift
[582/647] Emitting module SwiftDiagnostics
[583/647] Compiling SwiftParser Attributes.swift
[584/647] Compiling SwiftParser Availability.swift
[585/647] Compiling SwiftDiagnostics Note.swift
[586/647] Compiling SwiftDiagnostics FixIt.swift
[587/647] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[588/647] Compiling SwiftBasicFormat InferIndentation.swift
[589/647] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[590/647] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[592/648] Compiling SwiftParser SwiftParserCompatibility.swift
[593/648] Compiling SwiftParser SwiftVersion.swift
[594/648] Compiling SwiftParser SyntaxUtils.swift
[595/648] Compiling SwiftParser TokenConsumer.swift
[596/648] Compiling SwiftParser TokenPrecedence.swift
[596/653] Wrapping AST for SwiftDiagnostics for debugging
[598/653] Compiling SwiftBasicFormat Indenter.swift
[599/653] Emitting module SwiftBasicFormat
[600/653] Compiling SwiftBasicFormat BasicFormat.swift
[601/654] Wrapping AST for SwiftBasicFormat for debugging
[603/654] Compiling SwiftParser LexemeSequence.swift
[604/654] Compiling SwiftParser Lexer.swift
[605/654] Compiling SwiftParser RegexLiteralLexer.swift
[606/654] Compiling SwiftParser UnicodeScalarExtensions.swift
[607/654] Compiling SwiftParser Lookahead.swift
[608/654] Compiling SwiftParser LoopProgressCondition.swift
[609/654] Compiling SwiftParser Modifiers.swift
[610/654] Compiling SwiftParser Names.swift
[611/654] Compiling SwiftParser Nominals.swift
[612/654] Compiling SwiftParser Parameters.swift
[613/654] Compiling SwiftParser ParseSourceFile.swift
[614/654] Compiling SwiftParser Parser.swift
[615/654] Emitting module SwiftParser
[616/654] Compiling SwiftParser Patterns.swift
[617/654] Compiling SwiftParser Recovery.swift
[618/654] Compiling SwiftParser Specifiers.swift
[619/654] Compiling SwiftParser Statements.swift
[620/654] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[621/654] Compiling SwiftParser StringLiterals.swift
[622/654] Compiling SwiftParser TokenSpec.swift
[623/654] Compiling SwiftParser TokenSpecSet.swift
[624/654] Compiling SwiftParser TopLevel.swift
[625/654] Compiling SwiftParser TriviaParser.swift
[626/654] Compiling SwiftParser Types.swift
[631/654] Compiling SwiftParser Declarations.swift
[632/654] Compiling SwiftParser Directives.swift
[633/654] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[634/654] Compiling SwiftParser Expressions.swift
[635/654] Compiling SwiftParser IncrementalParseTransition.swift
[636/654] Compiling SwiftParser IsValidIdentifier.swift
[637/654] Compiling SwiftParser Cursor.swift
[638/654] Compiling SwiftParser Lexeme.swift
[639/654] Compiling SwiftParser ExperimentalFeatures.swift
[640/654] Compiling SwiftParser IsLexerClassified.swift
[641/654] Compiling SwiftParser LayoutNodes+Parsable.swift
[642/654] Compiling SwiftParser Parser+TokenSpecSet.swift
[643/654] Compiling SwiftParser TokenSpecStaticMembers.swift
[644/655] Wrapping AST for SwiftParser for debugging
[646/678] Compiling SwiftOperators PrecedenceGroup.swift
[647/679] Compiling SwiftOperators OperatorTable.swift
[648/679] Compiling SwiftOperators PrecedenceGraph.swift
[649/679] Compiling SwiftOperators OperatorTable+Semantics.swift
[650/679] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[651/679] Compiling SwiftParserDiagnostics Utils.swift
[652/680] Emitting module SwiftOperators
[653/680] Compiling SwiftOperators SyntaxSynthesis.swift
[654/680] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[655/680] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[656/680] Compiling SwiftParserDiagnostics PresenceUtils.swift
[659/680] Compiling SwiftOperators OperatorTable+Folding.swift
[661/681] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[662/681] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[662/681] Wrapping AST for SwiftOperators for debugging
[666/681] Compiling SwiftParserDiagnostics MissingNodesError.swift
[667/681] Compiling SwiftParserDiagnostics MissingTokenError.swift
[668/681] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[669/681] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[670/681] Emitting module SwiftParserDiagnostics
[671/681] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[672/681] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[673/682] Wrapping AST for SwiftParserDiagnostics for debugging
[675/697] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[676/697] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[677/698] Compiling SwiftSyntaxBuilder Indenter.swift
[678/698] Compiling SwiftSyntaxBuilder ListBuilder.swift
[679/698] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[680/698] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[681/698] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[682/698] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[683/698] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[684/698] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[685/698] Emitting module SwiftSyntaxBuilder
[686/698] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[687/698] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[688/698] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[689/698] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[690/698] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[691/699] Wrapping AST for SwiftSyntaxBuilder for debugging
[693/711] Emitting module SwiftSyntaxMacros
[694/716] Compiling SwiftSyntaxMacros Macro.swift
[695/716] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[696/716] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[697/716] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[698/716] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[699/716] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[700/716] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[701/716] Compiling SwiftSyntaxMacros MemberMacro.swift
[702/716] Compiling SwiftSyntaxMacros PeerMacro.swift
[703/716] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[704/716] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[705/718] Compiling SwiftSyntaxMacros AccessorMacro.swift
[706/718] Compiling SwiftSyntaxMacros AttachedMacro.swift
[707/718] Compiling SwiftSyntaxMacros BodyMacro.swift
[708/718] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[709/718] Compiling SwiftSyntaxMacros Macro+Format.swift
[710/718] Compiling SwiftSyntaxMacros PreambleMacro.swift
[711/718] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[712/719] Wrapping AST for SwiftSyntaxMacros for debugging
[714/728] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[715/729] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[716/729] Emitting module SwiftSyntaxMacroExpansion
[717/729] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[718/729] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[719/729] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[720/729] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[721/729] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[722/729] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[723/729] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[724/730] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[726/742] Emitting module SwiftCompilerPluginMessageHandling
[727/742] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[728/742] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[729/743] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[730/743] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[731/743] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[732/743] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[733/743] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[734/743] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[735/743] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[736/743] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[737/743] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[738/743] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[739/746] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[741/746] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[742/746] Emitting module SwiftCompilerPlugin
[743/747] Wrapping AST for SwiftCompilerPlugin for debugging
[745/753] Compiling SwiftNetworkRequestMacros Plugin.swift
[746/753] Compiling SwiftNetworkRequestMacros Models.swift
[747/753] Emitting module SwiftNetworkRequestMacros
[748/753] Compiling SwiftNetworkRequestMacros Helpers.swift
[749/753] Compiling SwiftNetworkRequestMacros RequestMacros.swift
[750/753] Compiling SwiftNetworkRequestMacros RequestBuilder.swift
[751/754] Wrapping AST for SwiftNetworkRequestMacros for debugging
[752/754] Write Objects.LinkFileList
[753/754] Linking SwiftNetworkRequestMacros-tool
[755/776] Compiling SwiftNetworkRequest Post.swift
[756/777] Compiling SwiftNetworkRequest KeyValuePair.swift
[757/777] Compiling SwiftNetworkRequest RequestAuthorization.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 |
[758/777] Compiling SwiftNetworkRequest URLSession.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 |
[759/778] Compiling SwiftNetworkRequest Get.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[760/778] Compiling SwiftNetworkRequest HelperMacros.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[761/778] Compiling SwiftNetworkRequest Post.swift
[762/778] Compiling SwiftNetworkRequest Put.swift
[763/778] Compiling SwiftNetworkRequest DynamicAPIResponse.swift
[764/778] Compiling SwiftNetworkRequest KeyValuePair.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[767/778] 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 |
[768/778] 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 |
/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: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
/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: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
error: emit-module command failed with exit code 1 (use -v to see invocation)
[771/778] 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: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[772/778] Compiling SwiftNetworkRequest RequestConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[773/778] 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: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
/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>
[776/778] Compiling SwiftNetworkRequest Put.swift
[777/778] Compiling SwiftNetworkRequest DynamicAPIResponse.swift
[778/778] Compiling SwiftNetworkRequest RequestConfig.swift
BUILD FAILURE 6.3 linux