The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build papyrus, reference main (63fbe1), with Swift 6.1 for Android on 8 Nov 2025 04:56:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[235/263] Compiling SwiftSyntaxMacros MemberMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[236/263] Compiling SwiftSyntaxMacros PeerMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[237/263] Compiling SwiftSyntaxMacros Macro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[238/263] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[239/263] Compiling SwiftSyntaxMacros FreestandingMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[240/263] Compiling SwiftSyntaxMacros Macro+Format.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[241/263] Compiling SwiftSyntaxMacros CodeItemMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[242/263] Compiling SwiftSyntaxMacros DeclarationMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[243/263] Compiling SwiftSyntaxMacros AccessorMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[244/263] Compiling SwiftSyntaxMacros AttachedMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[245/263] Compiling SwiftSyntaxMacros BodyMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[246/263] Compiling SwiftSyntaxMacros ExpressionMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[247/263] Compiling SwiftSyntaxMacros ExtensionMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[248/263] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[249/263] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[250/263] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[251/263] Compiling SwiftSyntaxMacros PreambleMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[252/263] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[253/264] Wrapping AST for SwiftSyntaxMacros for debugging
[255/273] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[256/274] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[257/274] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[258/274] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[259/274] Emitting module SwiftSyntaxMacroExpansion
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[260/274] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[261/274] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[262/274] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[263/274] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[264/274] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[265/275] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[267/287] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[268/287] Compiling SwiftCompilerPluginMessageHandling Macros.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[269/288] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[270/288] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[271/288] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[272/288] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[273/288] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[274/288] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[275/288] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[276/288] Compiling SwiftCompilerPluginMessageHandling JSON.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[277/288] Emitting module SwiftCompilerPluginMessageHandling
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[278/288] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[279/288] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[280/289] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[282/291] Emitting module SwiftCompilerPlugin
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[283/291] Compiling SwiftCompilerPlugin CompilerPlugin.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[284/292] Wrapping AST for SwiftCompilerPlugin for debugging
[286/304] Compiling PapyrusPlugin PapyrusPluginError.swift
[287/305] Compiling PapyrusPlugin EndpointAttribute.swift
[288/305] Compiling PapyrusPlugin EndpointParameter.swift
[289/305] Compiling PapyrusPlugin Plugin.swift
[290/305] Emitting module PapyrusPlugin
[291/305] Compiling PapyrusPlugin String+Utilities.swift
[292/305] Compiling PapyrusPlugin SwiftSyntax+Utilities.swift
[293/305] Compiling PapyrusPlugin MockMacro.swift
[294/305] Compiling PapyrusPlugin RoutesMacro.swift
[295/305] Compiling PapyrusPlugin API.swift
[296/305] Compiling PapyrusPlugin Declaration.swift
[297/305] Compiling PapyrusPlugin APIMacro.swift
[298/305] Compiling PapyrusPlugin DecoratorMacro.swift
[299/306] Wrapping AST for PapyrusPlugin for debugging
[300/306] Write Objects.LinkFileList
[301/306] Linking PapyrusPlugin-tool
[303/354] Emitting module Papyrus
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[304/357] Compiling Papyrus Coders.swift
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
[305/357] Compiling Papyrus String+Multipart.swift
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
[306/357] Compiling Papyrus URLSession+Papyrus.swift
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
[307/357] Compiling Papyrus HTTPBodyDecoder.swift
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
[308/357] Compiling Papyrus RouterRequest.swift
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
[309/357] Compiling Papyrus RouterResponse.swift
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
[310/357] Compiling Papyrus URLEncodedForm.swift
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
[311/357] Compiling Papyrus Part.swift
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[312/357] Compiling Papyrus PapyrusError.swift
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[313/357] Compiling Papyrus PapyrusMacros.swift
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[314/357] Compiling Papyrus HTTPBodyEncoder.swift
[315/357] Compiling Papyrus HTTPService.swift
[316/357] Compiling Papyrus CurlInterceptor.swift
[317/357] Compiling Papyrus KeyMappable.swift
[318/357] Compiling Papyrus PapyrusRequest.swift
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:178:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
176 |                 }
177 |
178 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:195:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
193 |                 }
194 |
195 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 |             }
197 |         }
[319/357] Compiling Papyrus PapyrusResponse.swift
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:178:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
176 |                 }
177 |
178 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:195:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
193 |                 }
194 |
195 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 |             }
197 |         }
[320/357] Compiling Papyrus Provider.swift
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:178:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
176 |                 }
177 |
178 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:195:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
193 |                 }
194 |
195 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 |             }
197 |         }
[321/357] Compiling Papyrus KeyMapping.swift
[322/357] Compiling Papyrus MultipartDecoder.swift
[323/357] Compiling Papyrus MultipartEncoder.swift
[324/357] Compiling Papyrus RequestBuilder.swift
[325/357] Compiling Papyrus PapyrusRouter.swift
[326/357] Compiling Papyrus RequestParser.swift
[327/357] Compiling Papyrus URLEncodedFormDecoder.swift
[328/357] Compiling Papyrus URLEncodedFormEncoder.swift
[329/357] Compiling Papyrus URLEncodedFormNode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[331/358] Emitting module Papyrus
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[335/361] Compiling Papyrus URLEncodedFormDecoder.swift
[336/361] Compiling Papyrus URLEncodedFormEncoder.swift
[337/361] Compiling Papyrus URLEncodedFormNode.swift
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:178:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
176 |                 }
177 |
178 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:195:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
193 |                 }
194 |
195 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 |             }
197 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:178:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
176 |                 }
177 |
178 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:195:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
193 |                 }
194 |
195 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 |             }
197 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:178:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
176 |                 }
177 |
178 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |         }
/host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift:195:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
193 |                 }
194 |
195 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 |             }
197 |         }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: PapyrusRequest?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusRequest)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
/host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift:3:17: note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol PapyrusRequest {
  |                 `- note: protocol 'PapyrusRequest' does not conform to the 'Sendable' protocol
4 |     var url: URL? { get set }
5 |     var method: String { get set }
/host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 6 |     public let request: PapyrusRequest?
 7 |     /// Error related response.
 8 |     public let response: PapyrusResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any PapyrusResponse)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift:3:17: note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol PapyrusResponse {
   |                 `- note: protocol 'PapyrusResponse' does not conform to the 'Sendable' protocol
 4 |     var request: PapyrusRequest? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:5:16: warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |     // MARK: HTTP Body
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
   |                |- warning: static property 'defaultHTTPBodyEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
 7 |
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:6:16: warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     static var defaultHTTPBodyEncoder: HTTPBodyEncoder = .json()
 6 |     static var defaultHTTPBodyDecoder: HTTPBodyDecoder = .json()
   |                |- warning: static property 'defaultHTTPBodyDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultHTTPBodyDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultHTTPBodyDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     // MARK: Query
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:10:16: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     // MARK: Query
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
   |                |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
12 | }
/host/spi-builder-workspace/Papyrus/Sources/Coders.swift:11:16: warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     static var defaultQueryEncoder = URLEncodedFormEncoder()
11 |     static var defaultQueryDecoder = URLEncodedFormDecoder()
   |                |- warning: static property 'defaultQueryDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultQueryDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultQueryDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/24] Write swift-version-24593BA9C3E375BF.txt
[2/34] Emitting module SwiftSyntax602
[3/34] Compiling SwiftSyntax601 Empty.swift
[4/34] Emitting module SwiftSyntax601
[5/35] Emitting module SwiftSyntax510
[6/35] Compiling SwiftSyntax510 Empty.swift
[7/36] Emitting module SwiftSyntax509
[8/36] Compiling SwiftSyntax509 Empty.swift
[9/36] Emitting module SwiftSyntax600
[10/36] Compiling SwiftSyntax600 Empty.swift
[11/38] Compiling SwiftSyntax602 Empty.swift
[17/97] Compiling SwiftSyntax SourceLength.swift
[18/97] Compiling SwiftSyntax SourceLocation.swift
[19/97] Compiling SwiftSyntax SourcePresence.swift
[20/97] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[21/97] Compiling SwiftSyntax Syntax.swift
[22/97] Compiling SwiftSyntax SyntaxChildren.swift
[23/97] Compiling SwiftSyntax SyntaxCollection.swift
[24/97] Compiling SwiftSyntax SyntaxHashable.swift
[25/97] Compiling SwiftSyntax SyntaxIdentifier.swift
[26/105] Emitting module SwiftSyntax
[27/105] Compiling SwiftSyntax Identifier.swift
[28/105] Compiling SwiftSyntax MemoryLayout.swift
[29/105] Compiling SwiftSyntax MissingNodeInitializers.swift
[30/105] Compiling SwiftSyntax RawSyntax.swift
[31/105] Compiling SwiftSyntax RawSyntaxArena.swift
[32/105] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[33/105] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[34/105] Compiling SwiftSyntax RawSyntaxTokenView.swift
[35/105] Compiling SwiftSyntax SourceEdit.swift
[36/105] Compiling SwiftSyntax AbsolutePosition.swift
[37/105] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[38/105] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[39/105] Compiling SwiftSyntax Assert.swift
[40/105] Compiling SwiftSyntax BumpPtrAllocator.swift
[41/105] Compiling SwiftSyntax CommonAncestor.swift
[42/105] Compiling SwiftSyntax Convenience.swift
[43/105] Compiling SwiftSyntax CustomTraits.swift
[44/105] Compiling SwiftSyntax EditorPlaceholder.swift
[45/105] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[46/105] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[47/105] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[48/105] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[49/105] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[50/105] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[51/105] Compiling SwiftSyntax RawSyntaxValidation.swift
[52/105] Compiling SwiftSyntax SyntaxNodesAB.swift
[53/105] Compiling SwiftSyntax SyntaxNodesC.swift
[54/105] Compiling SwiftSyntax SyntaxNodesD.swift
[55/105] Compiling SwiftSyntax SyntaxNodesEF.swift
[56/105] Compiling SwiftSyntax SyntaxNodesGHI.swift
[57/105] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[58/105] Compiling SwiftSyntax SyntaxNodesOP.swift
[59/105] Compiling SwiftSyntax SyntaxNodesQRS.swift
[60/105] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[61/105] Compiling SwiftSyntax ChildNameForKeyPath.swift
[62/105] Compiling SwiftSyntax Keyword.swift
[63/105] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[64/105] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[65/105] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[66/105] Compiling SwiftSyntax SyntaxBaseNodes.swift
[67/105] Compiling SwiftSyntax SyntaxCollections.swift
[68/105] Compiling SwiftSyntax SyntaxEnum.swift
[69/105] Compiling SwiftSyntax SyntaxKind.swift
[70/105] Compiling SwiftSyntax SyntaxNodeStructure.swift
[71/105] Compiling SwiftSyntax SyntaxProtocol.swift
[72/105] Compiling SwiftSyntax SyntaxText.swift
[73/105] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[74/105] Compiling SwiftSyntax TokenDiagnostic.swift
[75/105] Compiling SwiftSyntax TokenSequence.swift
[76/105] Compiling SwiftSyntax TokenSyntax.swift
[77/105] Compiling SwiftSyntax Trivia.swift
[78/105] Compiling SwiftSyntax Utils.swift
[79/105] Compiling SwiftSyntax SyntaxRewriter.swift
[80/105] Compiling SwiftSyntax SyntaxTraits.swift
[81/105] Compiling SwiftSyntax SyntaxVisitor.swift
[82/105] Compiling SwiftSyntax TokenKind.swift
[83/105] Compiling SwiftSyntax Tokens.swift
[84/105] Compiling SwiftSyntax TriviaPieces.swift
[85/105] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[86/105] Compiling SwiftSyntax RawSyntaxNodesC.swift
[87/105] Compiling SwiftSyntax RawSyntaxNodesD.swift
[89/164] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[90/164] Emitting module SwiftDiagnostics
[91/164] Compiling SwiftParser Directives.swift
[92/164] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[93/164] Compiling SwiftParser Expressions.swift
[94/164] Compiling SwiftParser IncrementalParseTransition.swift
[95/165] Compiling SwiftDiagnostics FixIt.swift
[96/165] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[97/165] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[98/165] Compiling SwiftDiagnostics Message.swift
[99/165] Compiling SwiftBasicFormat InferIndentation.swift
[100/165] Emitting module SwiftBasicFormat
[101/165] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[102/165] Compiling SwiftBasicFormat Syntax+Extensions.swift
[103/165] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[104/165] Compiling SwiftDiagnostics Note.swift
[105/166] Compiling SwiftBasicFormat Indenter.swift
[107/165] Compiling SwiftBasicFormat BasicFormat.swift
[109/165] Emitting module SwiftParser
[110/170] Compiling SwiftParser StringLiterals.swift
[111/170] Compiling SwiftParser SwiftParserCompatibility.swift
[112/170] Compiling SwiftParser SwiftVersion.swift
[113/170] Compiling SwiftParser SyntaxUtils.swift
[114/170] Compiling SwiftParser TokenConsumer.swift
[115/170] Compiling SwiftParser TokenPrecedence.swift
[116/170] Compiling SwiftParser TokenSpec.swift
[117/170] Compiling SwiftParser TokenSpecSet.swift
[118/170] Compiling SwiftParser TopLevel.swift
[119/170] Compiling SwiftParser TriviaParser.swift
[120/170] Compiling SwiftParser Types.swift
[121/170] Compiling SwiftParser LoopProgressCondition.swift
[122/170] Compiling SwiftParser Modifiers.swift
[123/170] Compiling SwiftParser Names.swift
[124/170] Compiling SwiftParser Nominals.swift
[125/170] Compiling SwiftParser Parameters.swift
[126/170] Compiling SwiftParser ParseSourceFile.swift
[127/170] Compiling SwiftParser Lexeme.swift
[128/170] Compiling SwiftParser LexemeSequence.swift
[129/170] Compiling SwiftParser Lexer.swift
[130/170] Compiling SwiftParser RegexLiteralLexer.swift
[131/170] Compiling SwiftParser UnicodeScalarExtensions.swift
[132/170] Compiling SwiftParser Lookahead.swift
[133/170] Compiling SwiftParser Parser.swift
[134/170] Compiling SwiftParser Patterns.swift
[135/170] Compiling SwiftParser Recovery.swift
[136/170] Compiling SwiftParser Specifiers.swift
[137/170] Compiling SwiftParser Statements.swift
[138/170] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[139/170] Compiling SwiftParser Attributes.swift
[140/170] Compiling SwiftParser Availability.swift
[141/170] Compiling SwiftParser CharacterInfo.swift
[142/170] Compiling SwiftParser CollectionNodes+Parsable.swift
[143/170] Compiling SwiftParser CompilerFiles.swift
[144/170] Compiling SwiftParser Declarations.swift
[149/170] Compiling SwiftParser IsValidIdentifier.swift
[150/170] Compiling SwiftParser Cursor.swift
[151/170] Compiling SwiftParser ExperimentalFeatures.swift
[152/170] Compiling SwiftParser IsLexerClassified.swift
[153/170] Compiling SwiftParser LayoutNodes+Parsable.swift
[154/170] Compiling SwiftParser Parser+TokenSpecSet.swift
[155/170] Compiling SwiftParser TokenSpecStaticMembers.swift
[157/193] Compiling SwiftOperators PrecedenceGroup.swift
[158/194] Compiling SwiftOperators SyntaxSynthesis.swift
[159/194] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[160/194] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[161/194] Compiling SwiftOperators OperatorTable+Folding.swift
[162/194] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[163/194] Compiling SwiftOperators PrecedenceGraph.swift
[164/195] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[165/195] Compiling SwiftOperators OperatorTable.swift
[166/195] Compiling SwiftOperators OperatorTable+Semantics.swift
[167/195] Emitting module SwiftParserDiagnostics
[168/195] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[169/195] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[170/195] Emitting module SwiftOperators
[171/196] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[172/196] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[173/196] Compiling SwiftParserDiagnostics Utils.swift
[175/196] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[176/196] Compiling SwiftParserDiagnostics PresenceUtils.swift
[179/195] Compiling SwiftParserDiagnostics MissingNodesError.swift
[180/195] Compiling SwiftParserDiagnostics MissingTokenError.swift
[184/210] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[185/210] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[186/210] Compiling SwiftSyntaxBuilder Indenter.swift
[187/210] Compiling SwiftSyntaxBuilder ListBuilder.swift
[188/211] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[189/211] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[190/211] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[191/211] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[192/211] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[193/211] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[194/211] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[195/211] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[196/211] Emitting module SwiftSyntaxBuilder
[197/211] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[198/211] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[199/211] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[201/228] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[202/228] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[203/230] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[204/230] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[205/230] Compiling SwiftSyntaxMacros Macro.swift
[206/230] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[207/230] Compiling SwiftSyntaxMacros AccessorMacro.swift
[208/230] Compiling SwiftSyntaxMacros AttachedMacro.swift
[209/230] Compiling SwiftSyntaxMacros BodyMacro.swift
[210/230] Compiling SwiftSyntaxMacros MemberMacro.swift
[211/230] Compiling SwiftSyntaxMacros PeerMacro.swift
[212/230] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[213/230] Compiling SwiftSyntaxMacros Macro+Format.swift
[214/230] Emitting module SwiftSyntaxMacros
[215/230] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[216/230] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[217/230] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[218/230] Compiling SwiftSyntaxMacros PreambleMacro.swift
[219/230] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[221/239] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[222/240] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[223/240] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[224/240] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[225/240] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[226/240] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[227/240] Emitting module SwiftSyntaxMacroExpansion
[228/240] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[229/240] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[230/240] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[232/252] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[233/252] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[234/252] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[235/252] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[236/252] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[237/253] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[238/253] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[239/253] Emitting module SwiftCompilerPluginMessageHandling
[240/253] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[241/253] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[242/253] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[243/253] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[244/253] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[246/255] Emitting module SwiftCompilerPlugin
[247/255] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[249/267] Compiling PapyrusPlugin PapyrusPluginError.swift
[250/268] Compiling PapyrusPlugin EndpointParameter.swift
[251/268] Compiling PapyrusPlugin EndpointAttribute.swift
[252/268] Compiling PapyrusPlugin String+Utilities.swift
[253/268] Compiling PapyrusPlugin SwiftSyntax+Utilities.swift
[254/268] Compiling PapyrusPlugin Plugin.swift
[255/268] Compiling PapyrusPlugin MockMacro.swift
[256/268] Compiling PapyrusPlugin RoutesMacro.swift
[257/268] Compiling PapyrusPlugin APIMacro.swift
[258/268] Compiling PapyrusPlugin DecoratorMacro.swift
[259/268] Emitting module PapyrusPlugin
[260/268] Compiling PapyrusPlugin API.swift
[261/268] Compiling PapyrusPlugin Declaration.swift
[262/268] Write Objects.LinkFileList
[263/268] Linking PapyrusPlugin-tool
[265/316] Compiling Papyrus RouterRequest.swift
[266/316] Compiling Papyrus RouterResponse.swift
[267/316] Compiling Papyrus URLEncodedForm.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[268/319] Emitting module Papyrus
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
[269/322] Compiling Papyrus Coders.swift
[270/322] Compiling Papyrus String+Multipart.swift
[271/322] Compiling Papyrus URLSession+Papyrus.swift
[272/322] Compiling Papyrus PapyrusError.swift
[273/322] Compiling Papyrus PapyrusMacros.swift
[274/322] Compiling Papyrus PapyrusRequest.swift
[275/322] Compiling Papyrus RequestParser.swift
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
[279/322] Compiling Papyrus MultipartEncoder.swift
[280/322] Compiling Papyrus HTTPBodyEncoder.swift
[281/322] Compiling Papyrus HTTPService.swift
[285/322] Compiling Papyrus HTTPBodyDecoder.swift
[286/322] Compiling Papyrus PapyrusResponse.swift
[287/322] Compiling Papyrus Provider.swift
[288/322] Compiling Papyrus RequestBuilder.swift
[289/322] Compiling Papyrus PapyrusRouter.swift
[292/322] Compiling Papyrus CurlInterceptor.swift
[293/322] Compiling Papyrus KeyMappable.swift
[294/322] Compiling Papyrus KeyMapping.swift
[295/322] Compiling Papyrus MultipartDecoder.swift
[297/322] Emitting module Papyrus
[303/322] Compiling Papyrus Part.swift
[313/322] Compiling Papyrus URLEncodedFormDecoder.swift
[314/322] Compiling Papyrus URLEncodedFormEncoder.swift
[315/322] Compiling Papyrus URLEncodedFormNode.swift
BUILD FAILURE 6.1 android