Build Information
Failed to build swift-network-request, reference 0.1.0 (8cf48a), with Swift 6.0 for Linux on 29 Jul 2025 14:24:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vadimkrutovlv/swift-network-request.git
Reference: 0.1.0
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
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 8cf48a9 Initial commit
Cloned https://github.com/vadimkrutovlv/swift-network-request.git
Revision (git rev-parse @):
8cf48a9822d49595943ff3337c1eee4b0427a495
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vadimkrutovlv/swift-network-request.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/2094] Fetching swift-docc-plugin
[232/3002] Fetching swift-docc-plugin, swift-macro-testing
[1349/9293] Fetching swift-docc-plugin, swift-macro-testing, swift-dependencies
[5815/80659] Fetching swift-docc-plugin, swift-macro-testing, swift-dependencies, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.94s)
[11481/78565] Fetching swift-macro-testing, swift-dependencies, swift-syntax
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.11s)
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (1.11s)
[8564/71366] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.73s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.24s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2410] Fetching combine-schedulers
[1785/3702] Fetching combine-schedulers, swift-clocks
[2945/9184] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.61s)
[2770/6774] Fetching swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.62s)
[1755/5482] Fetching xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.24s)
[1/878] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.40s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.3 (1.13s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15341] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.92s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.79s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (1.18s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.10s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.17s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3437] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.67s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.24s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (1.20s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.48s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.25s)
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/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-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
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.1
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.0
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.3
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.6
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/46] Write sources
[26/46] Compiling _SwiftSyntaxCShims dummy.c
[27/46] Write swift-version-24593BA9C3E375BF.txt
[29/67] Emitting module SwiftSyntax601
[30/67] Emitting module SwiftSyntax510
[31/67] Compiling SwiftSyntax601 Empty.swift
[32/68] Emitting module IssueReportingPackageSupport
[33/68] Compiling IssueReportingPackageSupport _Test.swift
[34/69] Emitting module ConcurrencyExtras
[35/69] Compiling ConcurrencyExtras ActorIsolated.swift
[36/69] Compiling ConcurrencyExtras AnyHashableSendable.swift
[38/70] Emitting module SwiftSyntax509
[39/70] Compiling SwiftSyntax509 Empty.swift
[41/71] Compiling SwiftSyntax510 Empty.swift
[42/72] Emitting module SwiftSyntax600
[43/72] Compiling SwiftSyntax600 Empty.swift
[45/73] Wrapping AST for SwiftSyntax601 for debugging
[47/73] Wrapping AST for SwiftSyntax600 for debugging
[48/73] Wrapping AST for SwiftSyntax509 for debugging
[50/80] Compiling ConcurrencyExtras UncheckedSendable.swift
[50/83] Wrapping AST for SwiftSyntax510 for debugging
[52/156] Compiling SwiftSyntax AbsolutePosition.swift
[53/156] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[54/158] Emitting module IssueReporting
[55/158] Compiling IssueReporting WithExpectedIssue.swift
[56/158] Compiling IssueReporting WithIssueContext.swift
[57/158] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[58/158] Compiling SwiftSyntax Assert.swift
[59/158] Compiling SwiftSyntax BumpPtrAllocator.swift
[60/158] Compiling SwiftSyntax CommonAncestor.swift
[61/158] Compiling ConcurrencyExtras Result.swift
[62/158] Compiling ConcurrencyExtras Task.swift
[63/158] Compiling SwiftSyntax Syntax.swift
[64/158] Compiling SwiftSyntax SyntaxArena.swift
[65/158] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[66/158] Compiling ConcurrencyExtras MainSerialExecutor.swift
[67/158] Compiling SwiftSyntax SourceLocation.swift
[68/158] Compiling SwiftSyntax SourcePresence.swift
[69/158] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[72/158] Compiling SwiftSyntax Convenience.swift
[73/158] Compiling SwiftSyntax CustomTraits.swift
[74/158] Compiling SwiftSyntax EditorPlaceholder.swift
[77/158] Compiling ConcurrencyExtras LockIsolated.swift
[78/159] Compiling SwiftSyntax SyntaxChildren.swift
[79/159] Compiling SwiftSyntax SyntaxCollection.swift
[80/159] Compiling SwiftSyntax SyntaxHashable.swift
[83/163] Compiling XCTestDynamicOverlay Exports.swift
[84/175] Compiling CombineSchedulers AnyScheduler.swift
[85/175] Compiling CombineSchedulers Concurrency.swift
[86/184] Compiling CombineSchedulers Lock.swift
[87/184] Compiling CombineSchedulers NSRecursiveLock.swift
[88/184] Emitting module CombineSchedulers
[89/184] Compiling CombineSchedulers UIKit.swift
[90/184] Compiling CombineSchedulers UIScheduler.swift
[91/184] Compiling CombineSchedulers SwiftUI.swift
[92/184] Compiling CombineSchedulers TestScheduler.swift
[93/184] Compiling CombineSchedulers ImmediateScheduler.swift
[94/184] Compiling CombineSchedulers Deprecations.swift
[95/184] Compiling CombineSchedulers Timer.swift
[96/184] Compiling CombineSchedulers UnimplementedScheduler.swift
[97/185] Compiling Clocks Timer.swift
[98/186] Compiling Clocks ImmediateClock.swift
[99/186] Compiling Clocks Lock.swift
[101/186] Emitting module XCTestDynamicOverlay
[102/186] Compiling XCTestDynamicOverlay Deprecations.swift
[104/187] Emitting module Clocks
[105/187] Compiling Clocks AnyClock.swift
[106/187] Compiling Clocks _AsyncTimerSequence.swift
[107/187] Compiling Clocks SwiftUI.swift
[108/187] Compiling Clocks TestClock.swift
[109/187] Compiling Clocks UnimplementedClock.swift
[111/211] Compiling Dependencies TypeName.swift
[112/211] Compiling Dependencies UUID.swift
[113/211] Compiling Dependencies WithRandomNumberGenerator.swift
[114/211] Compiling Dependencies AppEntryPoint.swift
[115/211] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[116/211] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[117/211] Compiling SwiftSyntax RawSyntaxTokenView.swift
[118/211] Compiling SwiftSyntax SourceEdit.swift
[119/211] Compiling SwiftSyntax SourceLength.swift
[120/211] Compiling Dependencies FireAndForget.swift
[121/211] Compiling Dependencies Locale.swift
[122/211] Compiling Dependencies MainQueue.swift
[123/211] Compiling Dependencies MainRunLoop.swift
[124/211] Compiling Dependencies OpenURL.swift
[125/211] Compiling Dependencies TimeZone.swift
[126/211] Compiling Dependencies URLSession.swift
[127/211] Compiling Dependencies Deprecations.swift
[128/211] Compiling Dependencies Exports.swift
[129/220] Compiling Dependencies Dependency.swift
[130/220] Compiling Dependencies DependencyContext.swift
[131/220] Compiling Dependencies DependencyKey.swift
[132/220] Compiling Dependencies DependencyValues.swift
[133/220] Compiling Dependencies Assert.swift
[134/220] Compiling Dependencies Calendar.swift
[135/220] Compiling Dependencies Clocks.swift
[136/220] Compiling Dependencies Context.swift
[137/220] Compiling Dependencies Date.swift
[160/223] Emitting module Dependencies
[161/223] Compiling Dependencies PreviewTrait.swift
[162/223] Compiling Dependencies TestTrait.swift
[163/223] Compiling Dependencies WithDependencies.swift
[165/224] Emitting module SwiftSyntax
[166/224] Compiling SwiftSyntax SyntaxEnum.swift
[167/224] Compiling SwiftSyntax SyntaxKind.swift
[168/224] Compiling SwiftSyntax SyntaxRewriter.swift
[169/224] Compiling SwiftSyntax SyntaxTraits.swift
[170/224] Compiling SwiftSyntax SyntaxVisitor.swift
[171/224] Compiling SwiftSyntax TokenKind.swift
[172/224] Compiling SwiftSyntax Tokens.swift
[173/224] Compiling SwiftSyntax TriviaPieces.swift
[174/224] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[175/224] Compiling SwiftSyntax RawSyntaxNodesC.swift
[176/224] Compiling SwiftSyntax RawSyntaxNodesD.swift
[177/224] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[178/224] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[179/224] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[180/224] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[181/224] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[182/224] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[183/224] Compiling SwiftSyntax RawSyntaxValidation.swift
[184/224] Compiling SwiftSyntax SyntaxIdentifier.swift
[185/224] Compiling SwiftSyntax SyntaxNodeFactory.swift
[186/224] Compiling SwiftSyntax SyntaxNodeStructure.swift
[187/224] Compiling SwiftSyntax SyntaxProtocol.swift
[188/224] Compiling SwiftSyntax SyntaxText.swift
[189/224] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[190/224] Compiling SwiftSyntax TokenDiagnostic.swift
[191/224] Compiling SwiftSyntax TokenSequence.swift
[192/224] Compiling SwiftSyntax TokenSyntax.swift
[193/224] Compiling SwiftSyntax Trivia.swift
[194/224] Compiling SwiftSyntax Utils.swift
[195/224] Compiling SwiftSyntax ChildNameForKeyPath.swift
[196/224] Compiling SwiftSyntax Keyword.swift
[197/224] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[198/224] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[199/224] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[200/224] Compiling SwiftSyntax SyntaxBaseNodes.swift
[201/224] Compiling SwiftSyntax SyntaxCollections.swift
[202/224] Compiling SwiftSyntax SyntaxNodesAB.swift
[203/224] Compiling SwiftSyntax SyntaxNodesC.swift
[204/224] Compiling SwiftSyntax SyntaxNodesD.swift
[205/224] Compiling SwiftSyntax SyntaxNodesEF.swift
[206/224] Compiling SwiftSyntax SyntaxNodesGHI.swift
[207/224] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[208/224] Compiling SwiftSyntax SyntaxNodesOP.swift
[209/224] Compiling SwiftSyntax SyntaxNodesQRS.swift
[210/224] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[211/225] Wrapping AST for SwiftSyntax for debugging
[213/283] Emitting module SwiftDiagnostics
[214/284] Compiling SwiftBasicFormat Syntax+Extensions.swift
[215/284] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[216/284] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[217/284] Compiling SwiftDiagnostics Message.swift
[218/284] Compiling SwiftDiagnostics Note.swift
[219/284] Compiling SwiftBasicFormat Indenter.swift
[220/284] Compiling SwiftBasicFormat InferIndentation.swift
[221/284] Compiling SwiftDiagnostics FixIt.swift
[222/284] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[223/284] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[224/284] Compiling SwiftParser Attributes.swift
[225/284] Compiling SwiftParser Availability.swift
[226/284] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[227/284] Compiling SwiftParser CharacterInfo.swift
[228/284] Compiling SwiftParser CollectionNodes+Parsable.swift
[229/285] Wrapping AST for SwiftDiagnostics for debugging
[231/285] Compiling SwiftBasicFormat BasicFormat.swift
[232/285] Emitting module SwiftBasicFormat
[234/286] Compiling SwiftParser SwiftParserCompatibility.swift
[235/286] Compiling SwiftParser SwiftVersion.swift
[236/286] Compiling SwiftParser SyntaxUtils.swift
[237/286] Compiling SwiftParser TokenConsumer.swift
[238/286] Compiling SwiftParser TokenPrecedence.swift
[239/286] Compiling SwiftParser TokenSpec.swift
[240/286] Compiling SwiftParser TokenSpecSet.swift
[241/286] Compiling SwiftParser TopLevel.swift
[242/286] Compiling SwiftParser TriviaParser.swift
[243/286] Compiling SwiftParser Types.swift
[244/291] Compiling SwiftParser LexemeSequence.swift
[245/291] Compiling SwiftParser Lexer.swift
[246/291] Compiling SwiftParser RegexLiteralLexer.swift
[247/291] Compiling SwiftParser UnicodeScalarExtensions.swift
[248/291] Compiling SwiftParser Lookahead.swift
[249/291] Compiling SwiftParser LoopProgressCondition.swift
[250/291] Compiling SwiftParser Modifiers.swift
[251/291] Compiling SwiftParser Names.swift
[252/291] Compiling SwiftParser Nominals.swift
[253/291] Compiling SwiftParser Parameters.swift
[254/291] Compiling SwiftParser ParseSourceFile.swift
[255/291] Compiling SwiftParser Parser.swift
[256/291] Compiling SwiftParser Patterns.swift
[257/291] Compiling SwiftParser Recovery.swift
[258/291] Compiling SwiftParser Specifiers.swift
[259/291] Compiling SwiftParser Statements.swift
[260/291] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[261/291] Compiling SwiftParser StringLiterals.swift
[262/291] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[263/291] Compiling SwiftParser Expressions.swift
[264/291] Compiling SwiftParser IncrementalParseTransition.swift
[265/291] Compiling SwiftParser IsValidIdentifier.swift
[266/291] Compiling SwiftParser Cursor.swift
[267/291] Compiling SwiftParser Lexeme.swift
[272/291] Compiling SwiftParser Declarations.swift
[273/291] Compiling SwiftParser Directives.swift
[274/291] Emitting module SwiftParser
[274/291] Wrapping AST for SwiftBasicFormat for debugging
[276/291] Compiling SwiftParser ExperimentalFeatures.swift
[277/291] Compiling SwiftParser IsLexerClassified.swift
[278/291] Compiling SwiftParser LayoutNodes+Parsable.swift
[279/291] Compiling SwiftParser Parser+TokenSpecSet.swift
[280/291] Compiling SwiftParser TokenSpecStaticMembers.swift
[281/292] Wrapping AST for SwiftParser for debugging
[283/315] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[284/316] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[285/316] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[286/316] Compiling SwiftOperators PrecedenceGroup.swift
[287/316] Compiling SwiftParserDiagnostics MissingNodesError.swift
[288/316] Compiling SwiftParserDiagnostics MissingTokenError.swift
[289/317] Compiling SwiftOperators PrecedenceGraph.swift
[290/317] Compiling SwiftOperators OperatorTable.swift
[291/317] Emitting module SwiftOperators
[292/317] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[293/317] Compiling SwiftOperators OperatorTable+Semantics.swift
[294/317] Compiling SwiftOperators SyntaxSynthesis.swift
[295/317] Compiling SwiftOperators OperatorTable+Folding.swift
[296/317] Emitting module SwiftParserDiagnostics
[298/318] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[299/318] Compiling SwiftParserDiagnostics Utils.swift
[300/318] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[300/318] Wrapping AST for SwiftOperators for debugging
[302/318] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[303/318] Compiling SwiftParserDiagnostics PresenceUtils.swift
[306/318] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[307/318] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[310/319] Wrapping AST for SwiftParserDiagnostics for debugging
[312/334] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[313/334] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[314/335] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[315/335] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[316/335] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[317/335] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[318/335] Emitting module SwiftSyntaxBuilder
[319/335] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[320/335] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[321/335] Compiling SwiftSyntaxBuilder Indenter.swift
[322/335] Compiling SwiftSyntaxBuilder ListBuilder.swift
[323/335] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[324/335] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[325/335] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[326/335] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[327/335] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[328/336] Wrapping AST for SwiftSyntaxBuilder for debugging
[330/353] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[331/353] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[332/355] Compiling SwiftSyntaxMacros AccessorMacro.swift
[333/355] Compiling SwiftSyntaxMacros AttachedMacro.swift
[334/355] Compiling SwiftSyntaxMacros BodyMacro.swift
[335/355] Emitting module SwiftSyntaxMacros
[336/355] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[337/355] Compiling SwiftSyntaxMacros Macro+Format.swift
[338/355] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[339/355] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[340/355] Compiling SwiftSyntaxMacros MemberMacro.swift
[341/355] Compiling SwiftSyntaxMacros PeerMacro.swift
[342/355] Compiling SwiftSyntaxMacros Macro.swift
[343/355] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[344/355] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[345/355] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[346/355] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[347/355] Compiling SwiftSyntaxMacros PreambleMacro.swift
[348/355] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[349/356] Wrapping AST for SwiftSyntaxMacros for debugging
[351/365] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[352/366] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[353/366] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[354/366] Emitting module SwiftSyntaxMacroExpansion
[355/366] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[356/366] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[357/366] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[358/366] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[359/366] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[360/366] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[361/367] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[363/379] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[364/379] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[365/380] Emitting module SwiftCompilerPluginMessageHandling
[366/380] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[367/380] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[368/380] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[369/380] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[370/380] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[371/380] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[372/380] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[373/380] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[374/380] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[375/380] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[376/381] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[378/383] Emitting module SwiftCompilerPlugin
[379/383] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[380/384] Wrapping AST for SwiftCompilerPlugin for debugging
[382/390] Compiling SwiftNetworkRequestMacros Plugin.swift
[383/390] Compiling SwiftNetworkRequestMacros Models.swift
[384/390] Compiling SwiftNetworkRequestMacros RequestMacros.swift
[385/390] Emitting module SwiftNetworkRequestMacros
[386/390] Compiling SwiftNetworkRequestMacros Helpers.swift
[387/390] Compiling SwiftNetworkRequestMacros RequestBuilder.swift
[388/391] Wrapping AST for SwiftNetworkRequestMacros for debugging
[389/391] Write Objects.LinkFileList
[390/391] Linking SwiftNetworkRequestMacros-tool
[392/402] Compiling SwiftNetworkRequest KeyValuePair.swift
[393/403] Compiling SwiftNetworkRequest Get.swift
[394/403] Compiling SwiftNetworkRequest HelperMacros.swift
[395/403] Compiling SwiftNetworkRequest Post.swift
[396/403] Compiling SwiftNetworkRequest URLSession+Request.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
79 | }
80 |
81 | extension URLSession: HTTPSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 | }
[397/403] Compiling SwiftNetworkRequest Delete.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
79 | }
80 |
81 | extension URLSession: HTTPSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 | }
[398/403] 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 |
[399/403] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[400/403] 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
79 | }
80 |
81 | extension URLSession: HTTPSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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
[401/403] Compiling SwiftNetworkRequest DynamicAPIResponse.swift
[402/403] Compiling SwiftNetworkRequest Put.swift
[403/403] Compiling SwiftNetworkRequest RequestConfig.swift
BUILD FAILURE 6.0 linux