Build Information
Failed to build papyrus, reference main (be7dd2
), with Swift 6.1 for Android on 29 May 2025 09:40:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[221/233] Wrapping AST for SwiftSyntaxBuilder for debugging
[223/250] Emitting module SwiftSyntaxMacros
<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
[224/252] 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
[225/252] 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
[226/252] 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
[227/252] 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
[228/252] 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
[229/252] 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
[230/252] 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
[231/252] 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
[232/252] 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
[233/252] 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
[234/252] 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
[235/252] 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
[236/252] 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
[237/252] 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
[238/252] 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
[239/252] 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
[240/252] 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
[241/252] 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
[242/253] Wrapping AST for SwiftSyntaxMacros for debugging
[244/262] 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
[245/263] 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
[246/263] 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
[247/263] 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
[248/263] 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
[249/263] 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
[250/263] 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
[251/263] 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
[252/263] 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
[253/263] 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
[254/264] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[256/276] 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
[257/277] 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
[258/277] 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
[259/277] 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
[260/277] 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
[261/277] 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
[262/277] 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
[263/277] 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
[264/277] 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
[265/277] 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
[266/277] 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
[267/277] 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
[268/277] 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
[269/280] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[271/280] 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
[272/280] 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
[273/281] Wrapping AST for SwiftCompilerPlugin for debugging
[275/293] Compiling PapyrusPlugin PapyrusPluginError.swift
[276/294] Compiling PapyrusPlugin EndpointParameter.swift
[277/294] Compiling PapyrusPlugin EndpointAttribute.swift
[278/294] Compiling PapyrusPlugin Plugin.swift
[279/294] Emitting module PapyrusPlugin
[280/294] Compiling PapyrusPlugin String+Utilities.swift
[281/294] Compiling PapyrusPlugin SwiftSyntax+Utilities.swift
[282/294] Compiling PapyrusPlugin MockMacro.swift
[283/294] Compiling PapyrusPlugin RoutesMacro.swift
[284/294] Compiling PapyrusPlugin APIMacro.swift
[285/294] Compiling PapyrusPlugin DecoratorMacro.swift
[286/294] Compiling PapyrusPlugin API.swift
[287/294] Compiling PapyrusPlugin Declaration.swift
[288/295] Wrapping AST for PapyrusPlugin for debugging
[289/295] Write Objects.LinkFileList
[290/295] Linking PapyrusPlugin-tool
[292/343] Compiling Papyrus Part.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 }
[293/343] Compiling Papyrus KeyMapping.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 }
[294/343] Compiling Papyrus MultipartDecoder.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 }
[295/346] Compiling Papyrus RouterRequest.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
[296/346] Compiling Papyrus RouterResponse.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
[297/346] Compiling Papyrus URLEncodedForm.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
[298/346] Compiling Papyrus HTTPBodyEncoder.swift
[299/346] Compiling Papyrus HTTPService.swift
[300/346] Compiling Papyrus CurlInterceptor.swift
[301/346] Compiling Papyrus KeyMappable.swift
[302/346] Compiling Papyrus KeyMapping.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 | }
[303/346] Compiling Papyrus MultipartDecoder.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 | }
[304/346] Compiling Papyrus MultipartEncoder.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 | }
[305/346] 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
[306/346] Compiling Papyrus MultipartEncoder.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/346] Compiling Papyrus Part.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/346] Compiling Papyrus PapyrusError.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 |
[309/346] Compiling Papyrus PapyrusMacros.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 |
[310/346] Compiling Papyrus RequestBuilder.swift
[311/346] Compiling Papyrus PapyrusRouter.swift
[312/346] Compiling Papyrus RequestParser.swift
[313/346] Compiling Papyrus PapyrusRequest.swift
[314/346] Compiling Papyrus PapyrusResponse.swift
[315/346] Compiling Papyrus Provider.swift
[316/346] Compiling Papyrus URLEncodedFormDecoder.swift
[317/346] Compiling Papyrus URLEncodedFormEncoder.swift
[318/346] Compiling Papyrus URLEncodedFormNode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[320/347] 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
/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 {
/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/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 | }
[344/350] Compiling Papyrus URLEncodedFormDecoder.swift
[345/350] Compiling Papyrus URLEncodedFormEncoder.swift
[346/350] Compiling Papyrus URLEncodedFormNode.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/22] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module SwiftSyntax510
[3/28] Compiling SwiftSyntax600 Empty.swift
[4/28] Emitting module SwiftSyntax600
[6/29] Compiling SwiftSyntax510 Empty.swift
[7/30] Emitting module SwiftSyntax509
[8/30] Compiling SwiftSyntax509 Empty.swift
[11/92] Compiling SwiftSyntax SyntaxNodeFactory.swift
[12/92] Compiling SwiftSyntax SyntaxNodeStructure.swift
[13/92] Compiling SwiftSyntax SyntaxProtocol.swift
[14/92] Compiling SwiftSyntax SyntaxText.swift
[15/92] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[16/92] Compiling SwiftSyntax TokenDiagnostic.swift
[17/92] Compiling SwiftSyntax TokenSequence.swift
[18/92] Compiling SwiftSyntax TokenSyntax.swift
[19/92] Compiling SwiftSyntax Trivia.swift
[20/100] Compiling SwiftSyntax MemoryLayout.swift
[21/100] Compiling SwiftSyntax MissingNodeInitializers.swift
[22/100] Compiling SwiftSyntax RawSyntax.swift
[23/100] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[24/100] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[25/100] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/100] Compiling SwiftSyntax SourceEdit.swift
[27/100] Compiling SwiftSyntax SourceLength.swift
[28/100] Compiling SwiftSyntax SourceLocation.swift
[29/100] Compiling SwiftSyntax AbsolutePosition.swift
[30/100] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[31/100] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[32/100] Compiling SwiftSyntax Assert.swift
[33/100] Compiling SwiftSyntax BumpPtrAllocator.swift
[34/100] Compiling SwiftSyntax CommonAncestor.swift
[35/100] Compiling SwiftSyntax Convenience.swift
[36/100] Compiling SwiftSyntax CustomTraits.swift
[37/100] Compiling SwiftSyntax Identifier.swift
[38/100] Compiling SwiftSyntax SourcePresence.swift
[39/100] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[40/100] Compiling SwiftSyntax Syntax.swift
[41/100] Compiling SwiftSyntax SyntaxArena.swift
[42/100] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[43/100] Compiling SwiftSyntax SyntaxChildren.swift
[44/100] Compiling SwiftSyntax SyntaxCollection.swift
[45/100] Compiling SwiftSyntax SyntaxHashable.swift
[46/100] Compiling SwiftSyntax SyntaxIdentifier.swift
[47/100] Emitting module SwiftSyntax
[48/100] Compiling SwiftSyntax SyntaxKind.swift
[49/100] Compiling SwiftSyntax SyntaxRewriter.swift
[50/100] Compiling SwiftSyntax SyntaxTraits.swift
[51/100] Compiling SwiftSyntax SyntaxVisitor.swift
[52/100] Compiling SwiftSyntax TokenKind.swift
[53/100] Compiling SwiftSyntax Tokens.swift
[54/100] Compiling SwiftSyntax TriviaPieces.swift
[55/100] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[56/100] Compiling SwiftSyntax RawSyntaxNodesC.swift
[57/100] Compiling SwiftSyntax RawSyntaxNodesD.swift
[58/100] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[59/100] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[60/100] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[61/100] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[62/100] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[63/100] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[64/100] Compiling SwiftSyntax RawSyntaxValidation.swift
[65/100] Compiling SwiftSyntax SyntaxNodesAB.swift
[66/100] Compiling SwiftSyntax Utils.swift
[67/100] Compiling SwiftSyntax ChildNameForKeyPath.swift
[68/100] Compiling SwiftSyntax Keyword.swift
[69/100] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[70/100] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[71/100] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[72/100] Compiling SwiftSyntax SyntaxBaseNodes.swift
[73/100] Compiling SwiftSyntax SyntaxCollections.swift
[74/100] Compiling SwiftSyntax SyntaxEnum.swift
[75/100] Compiling SwiftSyntax SyntaxNodesC.swift
[76/100] Compiling SwiftSyntax SyntaxNodesD.swift
[77/100] Compiling SwiftSyntax SyntaxNodesEF.swift
[78/100] Compiling SwiftSyntax SyntaxNodesGHI.swift
[79/100] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[80/100] Compiling SwiftSyntax SyntaxNodesOP.swift
[81/100] Compiling SwiftSyntax SyntaxNodesQRS.swift
[82/100] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[84/116] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[85/116] Compiling SwiftBasicFormat Syntax+Extensions.swift
[86/116] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[87/157] Compiling SwiftBasicFormat InferIndentation.swift
[88/157] Compiling SwiftDiagnostics Message.swift
[89/157] Emitting module SwiftDiagnostics
[90/157] Compiling SwiftDiagnostics FixIt.swift
[91/157] Compiling SwiftParser Attributes.swift
[92/157] Compiling SwiftParser Availability.swift
[93/157] Compiling SwiftParser CharacterInfo.swift
[94/157] Compiling SwiftParser CollectionNodes+Parsable.swift
[95/158] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[96/158] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[97/158] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[98/158] Compiling SwiftDiagnostics Note.swift
[100/159] Emitting module SwiftBasicFormat
[101/159] Compiling SwiftBasicFormat BasicFormat.swift
[103/158] Compiling SwiftParser LexemeSequence.swift
[104/158] Compiling SwiftParser Lexer.swift
[105/158] Compiling SwiftParser RegexLiteralLexer.swift
[106/158] Compiling SwiftParser UnicodeScalarExtensions.swift
[107/158] Compiling SwiftParser Lookahead.swift
[108/158] Compiling SwiftParser LoopProgressCondition.swift
[109/163] Compiling SwiftParser Modifiers.swift
[110/163] Compiling SwiftParser Names.swift
[111/163] Compiling SwiftParser Nominals.swift
[112/163] Compiling SwiftParser Parameters.swift
[113/163] Compiling SwiftParser ParseSourceFile.swift
[114/163] Compiling SwiftParser Parser.swift
[115/163] Compiling SwiftParser SwiftParserCompatibility.swift
[116/163] Compiling SwiftParser SwiftVersion.swift
[117/163] Compiling SwiftParser SyntaxUtils.swift
[118/163] Compiling SwiftParser TokenConsumer.swift
[119/163] Compiling SwiftParser TokenPrecedence.swift
[120/163] Compiling SwiftParser TokenSpec.swift
[121/163] Compiling SwiftParser TokenSpecSet.swift
[122/163] Compiling SwiftParser TopLevel.swift
[123/163] Compiling SwiftParser TriviaParser.swift
[124/163] Compiling SwiftParser Types.swift
[125/163] Compiling SwiftParser Patterns.swift
[126/163] Compiling SwiftParser Recovery.swift
[127/163] Compiling SwiftParser Specifiers.swift
[128/163] Compiling SwiftParser Statements.swift
[129/163] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[130/163] Compiling SwiftParser StringLiterals.swift
[135/163] Compiling SwiftParser Declarations.swift
[136/163] Compiling SwiftParser Directives.swift
[137/163] Emitting module SwiftParser
[138/163] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[139/163] Compiling SwiftParser Expressions.swift
[140/163] Compiling SwiftParser IncrementalParseTransition.swift
[141/163] Compiling SwiftParser IsValidIdentifier.swift
[142/163] Compiling SwiftParser Cursor.swift
[143/163] Compiling SwiftParser Lexeme.swift
[144/163] Compiling SwiftParser ExperimentalFeatures.swift
[145/163] Compiling SwiftParser IsLexerClassified.swift
[146/163] Compiling SwiftParser LayoutNodes+Parsable.swift
[147/163] Compiling SwiftParser Parser+TokenSpecSet.swift
[148/163] Compiling SwiftParser TokenSpecStaticMembers.swift
[150/186] Compiling SwiftOperators PrecedenceGroup.swift
[151/187] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[152/187] Compiling SwiftOperators PrecedenceGraph.swift
[153/188] Compiling SwiftOperators OperatorTable.swift
[154/188] Compiling SwiftOperators SyntaxSynthesis.swift
[155/188] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[156/188] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[157/188] Compiling SwiftParserDiagnostics MissingNodesError.swift
[158/188] Compiling SwiftParserDiagnostics MissingTokenError.swift
[159/188] Compiling SwiftOperators OperatorTable+Semantics.swift
[160/188] Emitting module SwiftOperators
[161/188] Compiling SwiftOperators OperatorTable+Folding.swift
[163/189] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[164/189] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[165/189] Compiling SwiftParserDiagnostics Utils.swift
[166/189] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[167/189] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[168/189] Compiling SwiftParserDiagnostics PresenceUtils.swift
[171/189] Emitting module SwiftParserDiagnostics
[174/188] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[175/188] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[177/203] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[178/203] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[179/204] Compiling SwiftSyntaxBuilder Indenter.swift
[180/204] Compiling SwiftSyntaxBuilder ListBuilder.swift
[181/204] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[182/204] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[183/204] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[184/204] Emitting module SwiftSyntaxBuilder
[185/204] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[186/204] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[187/204] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[188/204] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[189/204] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[190/204] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[191/204] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[192/204] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[194/221] Compiling SwiftSyntaxMacros Macro.swift
[195/221] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[196/223] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[197/223] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[198/223] Emitting module SwiftSyntaxMacros
[199/223] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[200/223] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[201/223] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[202/223] Compiling SwiftSyntaxMacros Macro+Format.swift
[203/223] Compiling SwiftSyntaxMacros MemberMacro.swift
[204/223] Compiling SwiftSyntaxMacros PeerMacro.swift
[205/223] Compiling SwiftSyntaxMacros AccessorMacro.swift
[206/223] Compiling SwiftSyntaxMacros AttachedMacro.swift
[207/223] Compiling SwiftSyntaxMacros BodyMacro.swift
[208/223] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[209/223] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[210/223] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[211/223] Compiling SwiftSyntaxMacros PreambleMacro.swift
[212/223] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[214/232] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[215/233] Emitting module SwiftSyntaxMacroExpansion
[216/233] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[217/233] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[218/233] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[219/233] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[220/233] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[221/233] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[222/233] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[223/233] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[225/245] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[226/245] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[227/246] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[228/246] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[229/246] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[230/246] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[231/246] Emitting module SwiftCompilerPluginMessageHandling
[232/246] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[233/246] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[234/246] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[235/246] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[236/246] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[237/246] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[239/248] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[240/248] Emitting module SwiftCompilerPlugin
[242/260] Compiling PapyrusPlugin PapyrusPluginError.swift
[243/261] Compiling PapyrusPlugin EndpointParameter.swift
[244/261] Compiling PapyrusPlugin Plugin.swift
[245/261] Compiling PapyrusPlugin APIMacro.swift
[246/261] Compiling PapyrusPlugin DecoratorMacro.swift
[247/261] Compiling PapyrusPlugin String+Utilities.swift
[248/261] Compiling PapyrusPlugin SwiftSyntax+Utilities.swift
[249/261] Compiling PapyrusPlugin MockMacro.swift
[250/261] Compiling PapyrusPlugin RoutesMacro.swift
[251/261] Emitting module PapyrusPlugin
[252/261] Compiling PapyrusPlugin EndpointAttribute.swift
[253/261] Compiling PapyrusPlugin API.swift
[254/261] Compiling PapyrusPlugin Declaration.swift
[255/261] Write Objects.LinkFileList
[256/261] Linking PapyrusPlugin-tool
[258/309] Compiling Papyrus RouterRequest.swift
[259/309] Compiling Papyrus RouterResponse.swift
[260/309] Compiling Papyrus URLEncodedForm.swift
[261/312] Compiling Papyrus PapyrusRequest.swift
[262/312] Compiling Papyrus PapyrusResponse.swift
[263/312] Compiling Papyrus Provider.swift
[264/312] Emitting module Papyrus
[265/312] Compiling Papyrus Coders.swift
[266/312] Compiling Papyrus String+Multipart.swift
[267/312] Compiling Papyrus URLSession+Papyrus.swift
[268/312] Compiling Papyrus HTTPBodyDecoder.swift
[272/315] Compiling Papyrus HTTPBodyEncoder.swift
[273/315] Compiling Papyrus HTTPService.swift
[274/315] Compiling Papyrus CurlInterceptor.swift
[275/315] Compiling Papyrus KeyMappable.swift
[276/315] Compiling Papyrus KeyMapping.swift
[277/315] Compiling Papyrus MultipartDecoder.swift
[278/315] Compiling Papyrus MultipartEncoder.swift
[279/315] Compiling Papyrus RequestBuilder.swift
[280/315] Compiling Papyrus PapyrusRouter.swift
[281/315] Compiling Papyrus RequestParser.swift
[282/315] Compiling Papyrus Part.swift
[283/315] Compiling Papyrus PapyrusError.swift
[284/315] Compiling Papyrus PapyrusMacros.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[305/315] 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 }
[306/315] Compiling Papyrus URLEncodedFormDecoder.swift
[307/315] Compiling Papyrus URLEncodedFormEncoder.swift
[308/315] Compiling Papyrus URLEncodedFormNode.swift
BUILD FAILURE 6.1 android