Build Information
Failed to build JellyfinAPI, reference 3.3.0 (8ce10a), with Swift 6.2 for Wasm on 4 Oct 2026 11:12:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jellyfin/jellyfin-sdk-swift.git
Reference: 3.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jellyfin/jellyfin-sdk-swift
* tag 3.3.0 -> FETCH_HEAD
HEAD is now at 8ce10a1 Generate 12.1, update generator (#64)
Cloned https://github.com/jellyfin/jellyfin-sdk-swift.git
Revision (git rev-parse @):
8ce10a167ad0b4145b2bc005acf8bebcfe6ebe46
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jellyfin/jellyfin-sdk-swift.git at 3.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jellyfin/jellyfin-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/kean/Get
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[2/5218] Fetching swift-nio-transport-services, get
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Fetched https://github.com/kean/Get from cache (0.56s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (2.26s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.42s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.69s)
[1/86265] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.54s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/7104] Fetching swift-system
[7105/35642] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.77s)
[1142/28538] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.91s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Downloading binary artifact https://github.com/LePips/openapi-generator/releases/download/v0.8.0/openapi-generator.artifactbundle.zip
[16375/6128024] Downloading https://github.com/LePips/openapi-generator/releases/download/v0.8.0/openapi-generator.artifactbundle.zip
Downloaded https://github.com/LePips/openapi-generator/releases/download/v0.8.0/openapi-generator.artifactbundle.zip (1.15s)
[1/1] Compiling plugin GenerateAPI
Building for debugging...
[1/29] Write sources
[15/29] Compiling _AtomicsShims.c
[16/29] Compiling CNIOWindows WSAStartup.c
[17/29] Compiling CNIOPosix event_loop_id.c
[18/29] Compiling CNIOFreeBSD shim.c
[18/29] Compiling CNIOWindows shim.c
[20/29] Compiling CNIOLinux liburing_shims.c
[20/29] Write sources
[22/29] Compiling CNIODarwin shim.c
[23/29] Compiling CNIOWASI CNIOWASI.c
[24/29] Compiling CNIOOpenBSD shim.c
[25/29] Compiling CNIOLinux shim.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/87] Emitting module _NIODataStructures
[29/87] Emitting module Atomics
[29/89] Compiling c-nioatomics.c
[30/89] Compiling c-atomics.c
[32/96] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[33/96] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[34/96] Compiling InternalCollectionsUtilities Debugging.swift
[35/96] Compiling InternalCollectionsUtilities Descriptions.swift
[36/96] Emitting module InternalCollectionsUtilities
[37/99] Compiling _NIOBase64 Base64.swift
[38/99] Emitting module _NIOBase64
[39/100] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[40/100] Compiling InternalCollectionsUtilities Integer rank.swift
[41/100] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[42/100] Compiling InternalCollectionsUtilities UInt+reversed.swift
[44/100] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[45/100] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[46/100] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[47/100] Compiling InternalCollectionsUtilities Span+Extras.swift
[48/100] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[49/100] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[50/100] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[51/100] Compiling InternalCollectionsUtilities MutableRef.swift
[55/100] Compiling Atomics IntegerOperations.swift
[56/100] Compiling Atomics Unmanaged extensions.swift
[59/100] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[62/100] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[63/100] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[64/100] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[65/100] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[66/100] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[67/100] Compiling InternalCollectionsUtilities String+Padding.swift
[68/100] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[69/100] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[76/100] Emitting module NIOConcurrencyHelpers
[77/100] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[78/100] Compiling InternalCollectionsUtilities _SortedCollection.swift
[79/100] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[88/106] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[89/106] Compiling _NIODataStructures PriorityQueue.swift
[90/106] Compiling _NIODataStructures _TinyArray.swift
[91/106] Compiling SpanPreview InputSpan.swift
[92/106] Emitting module SpanPreview
[93/106] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[95/149] Compiling NIOConcurrencyHelpers lock.swift
[96/149] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[97/149] Compiling _NIODataStructures Heap.swift
[99/150] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[100/150] Compiling NIOConcurrencyHelpers NIOLock.swift
[101/150] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[102/150] Compiling NIOConcurrencyHelpers atomics.swift
[104/151] Compiling DequeModule Deque+Extras.swift
[105/151] Compiling DequeModule Deque+Hashable.swift
[106/151] Compiling DequeModule Deque+Testing.swift
[107/151] Compiling DequeModule Deque._Storage.swift
[108/151] Compiling DequeModule Deque._UnsafeHandle.swift
[109/151] Compiling DequeModule Deque.swift
[110/156] Compiling DequeModule RigidDeque+Descriptions.swift
[111/156] Compiling DequeModule RigidDeque+Equatable.swift
[112/156] Compiling DequeModule RigidDeque+Hashable.swift
[113/156] Compiling DequeModule RigidDeque+Initializers.swift
[114/156] Compiling DequeModule RigidDeque+Insertions.swift
[115/156] Compiling DequeModule RigidDeque+Iterable.swift
[116/156] Compiling DequeModule _DequeBuffer.swift
[117/156] Compiling DequeModule _DequeBufferHeader.swift
[118/156] Compiling DequeModule RigidDeque+Append.swift
[119/156] Compiling DequeModule RigidDeque+Consumption.swift
[120/156] Compiling DequeModule RigidDeque+ContainerOperations.swift
[121/156] Compiling DequeModule RigidDeque+Deprecations.swift
[122/156] Compiling DequeModule UniqueDeque+Consumption.swift
[123/156] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[124/156] Compiling DequeModule UniqueDeque+Deprecations.swift
[125/156] Compiling DequeModule UniqueDeque+Descriptions.swift
[126/156] Compiling DequeModule UniqueDeque+Equatable.swift
[127/156] Compiling DequeModule UniqueDeque+Hashable.swift
[128/156] Compiling DequeModule UniqueDeque+Initializers.swift
[129/156] Compiling DequeModule UniqueDeque+Insertions.swift
[130/156] Compiling DequeModule UniqueDeque+Iterable.swift
[131/156] Compiling DequeModule UniqueDeque+Prepend.swift
[132/156] Compiling DequeModule UniqueDeque+Removals.swift
[133/156] Compiling Get Response.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:16:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public let value: T
15 | /// Original response.
16 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | /// Response HTTP status code.
18 | public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
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/.build/checkouts/Get/Sources/Get/Response.swift:22:33: error: cannot find type 'URLRequest' in scope
20 | public let data: Data
21 | /// Original request.
22 | public var originalRequest: URLRequest? { task.originalRequest }
| `- error: cannot find type 'URLRequest' in scope
23 | /// The URL request object currently being handled by the task. May be
24 | /// different from the original request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:25:32: error: cannot find type 'URLRequest' in scope
23 | /// The URL request object currently being handled by the task. May be
24 | /// different from the original request.
25 | public var currentRequest: URLRequest? { task.currentRequest }
| `- error: cannot find type 'URLRequest' in scope
26 | /// Completed task.
27 | public let task: URLSessionTask
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:27:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | public var currentRequest: URLRequest? { task.currentRequest }
26 | /// Completed task.
27 | public let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | /// Task metrics collected for the request.
29 | public let metrics: URLSessionTaskMetrics?
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:29:25: error: cannot find type 'URLSessionTaskMetrics' in scope
27 | public let task: URLSessionTask
28 | /// Task metrics collected for the request.
29 | public let metrics: URLSessionTaskMetrics?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
30 |
31 | /// Initializes the response.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:93: error: cannot find type 'URLSessionTaskMetrics' in scope
30 |
31 | /// Initializes the response.
32 | public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
33 | self.value = value
34 | self.data = data
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 | /// Initializes the response.
32 | public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | self.value = value
34 | self.data = data
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/.build/checkouts/Get/Sources/Get/Response.swift:32:68: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 | /// Initializes the response.
32 | public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | self.value = value
34 | self.data = data
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:18:67: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 | public let response: URLResponse
17 | /// Response HTTP status code.
18 | public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 | /// Original response data.
20 | public let data: Data
[134/156] Compiling Get Request.swift
[135/156] Compiling DequeModule RigidDeque+Prepend.swift
[136/156] Compiling DequeModule RigidDeque+Removals.swift
[137/156] Compiling DequeModule RigidDeque+Replacements.swift
[138/156] Compiling DequeModule RigidDeque+Testing.swift
[139/156] Compiling DequeModule RigidDeque.swift
[140/156] Compiling DequeModule UniqueDeque+Append.swift
[141/156] Compiling DequeModule Deque+Codable.swift
[142/156] Compiling DequeModule Deque+Collection.swift
[143/156] Compiling DequeModule Deque+CustomReflectable.swift
[144/156] Compiling DequeModule Deque+Descriptions.swift
[145/156] Compiling DequeModule Deque+Equatable.swift
[146/156] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[147/156] Emitting module DequeModule
[148/156] Compiling DequeModule UniqueDeque+Replacements.swift
[149/156] Compiling DequeModule UniqueDeque.swift
[150/156] Compiling DequeModule _DequeSlot.swift
[151/156] Compiling DequeModule _UnsafeDequeHandle.swift
[152/156] Compiling DequeModule _UnsafeDequeSegments.swift
[154/221] Compiling NIOCore NIOCoreSendableMetatype.swift
[155/221] Compiling NIOCore NIODecodedAsyncSequence.swift
[156/221] Compiling NIOCore NIOLoopBound.swift
[157/221] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[158/221] Compiling NIOCore NIOScheduledCallback.swift
[159/221] Compiling NIOCore NIOSendable.swift
[160/221] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[161/221] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[162/221] Compiling NIOCore RecvByteBufferAllocator.swift
[163/229] Compiling NIOCore IPProtocol.swift
[164/229] Compiling NIOCore IntegerBitPacking.swift
[165/229] Compiling NIOCore IntegerTypes.swift
[166/229] Compiling NIOCore Interfaces.swift
[167/229] Compiling NIOCore Linux.swift
[168/229] Compiling NIOCore MarkedCircularBuffer.swift
[169/229] Compiling NIOCore MulticastChannel.swift
[170/229] Compiling NIOCore NIOAny.swift
[171/229] Compiling NIOCore NIOCloseOnErrorHandler.swift
[172/229] Compiling NIOCore EventLoopFuture+Deprecated.swift
[173/229] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[174/229] Compiling NIOCore EventLoopFuture.swift
[175/229] Compiling NIOCore FileDescriptor.swift
[176/229] Compiling NIOCore FileHandle.swift
[177/229] Compiling NIOCore FileRegion.swift
[178/229] Compiling NIOCore GlobalSingletons.swift
[179/229] Compiling NIOCore IO.swift
[180/229] Compiling NIOCore IOData.swift
[181/229] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[182/229] Compiling NIOCore SocketAddresses.swift
[183/229] Compiling NIOCore SocketOptionProvider.swift
[184/229] Compiling NIOCore SystemCallHelpers.swift
[185/229] Compiling NIOCore TimeAmount+Duration.swift
[186/229] Compiling NIOCore TypeAssistedChannelHandler.swift
[187/229] Compiling NIOCore UniversalBootstrapSupport.swift
[188/229] Compiling NIOCore Utilities.swift
[189/229] Compiling NIOCore CircularBuffer.swift
[190/229] Compiling NIOCore Codec.swift
[191/229] Compiling NIOCore ConvenienceOptionSupport.swift
[192/229] Compiling NIOCore DeadChannel.swift
[193/229] Compiling NIOCore DispatchQueue+WithFuture.swift
[194/229] Compiling NIOCore EventLoop+Deprecated.swift
[195/229] Compiling NIOCore EventLoop+SerialExecutor.swift
[196/229] Compiling NIOCore EventLoop.swift
[197/229] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[198/229] Compiling NIOCore AddressedEnvelope.swift
[199/229] Compiling NIOCore AsyncAwaitSupport.swift
[200/229] Compiling NIOCore AsyncChannel.swift
[201/229] Compiling NIOCore AsyncChannelHandler.swift
[202/229] Compiling NIOCore AsyncChannelInboundStream.swift
[203/229] Compiling NIOCore AsyncChannelOutboundWriter.swift
[204/229] Compiling NIOCore NIOAsyncSequenceProducer.swift
[205/229] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[206/229] Compiling NIOCore NIOAsyncWriter.swift
[207/229] Emitting module NIOCore
[208/229] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[209/229] Compiling NIOCore BSDSocketAPI.swift
[210/229] Compiling NIOCore ByteBuffer-aux.swift
[211/229] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[212/229] Compiling NIOCore ByteBuffer-conversions.swift
[213/229] Compiling NIOCore ByteBuffer-core.swift
[214/229] Compiling NIOCore ByteBuffer-hex.swift
[215/229] Compiling NIOCore ByteBuffer-int.swift
[216/229] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[217/229] Compiling NIOCore ByteBuffer-multi-int.swift
[218/229] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[219/229] Compiling NIOCore ByteBuffer-views.swift
[220/229] Compiling NIOCore Channel.swift
[221/229] Compiling NIOCore ChannelHandler.swift
[222/229] Compiling NIOCore ChannelHandlers.swift
[223/229] Compiling NIOCore ChannelInvoker.swift
[224/229] Compiling NIOCore ChannelOption.swift
[225/229] Compiling NIOCore ChannelPipeline.swift
[227/290] Compiling NIOPosix SelectorWSAPoll.swift
[228/290] Compiling NIOPosix ServerSocket.swift
[229/290] Compiling NIOPosix Socket.swift
[230/290] Compiling NIOPosix SocketChannel.swift
[231/290] Compiling NIOPosix SocketProtocols.swift
[232/290] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[233/290] Compiling NIOPosix System.swift
[234/297] Compiling NIOPosix Selectable.swift
[235/297] Compiling NIOPosix SelectableChannel.swift
[236/297] Compiling NIOPosix SelectableEventLoop.swift
[237/297] Compiling NIOPosix SelectorEpoll.swift
[238/297] Compiling NIOPosix SelectorGeneric.swift
[239/297] Compiling NIOPosix SelectorKqueue.swift
[240/297] Compiling NIOPosix SelectorUring.swift
[241/297] Compiling NIOPosix PipeChannel.swift
[242/297] Compiling NIOPosix PipePair.swift
[243/297] Compiling NIOPosix Pool.swift
[244/297] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[245/297] Compiling NIOPosix PosixSingletons.swift
[246/297] Compiling NIOPosix RawSocketBootstrap.swift
[247/297] Compiling NIOPosix Resolver.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[248/297] Emitting module NIOPosix
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
[249/297] Compiling NIOTLS TLSEvents.swift
[250/297] Emitting module NIOTLS
[251/297] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[252/297] Compiling NIOPosix NIOPosixSendableMetatype.swift
[253/297] Compiling NIOPosix NIORandomizedDNSResolver.swift
[254/297] Compiling NIOPosix NIOThreadPool.swift
[255/297] Compiling NIOPosix NonBlockingFileIO.swift
[256/297] Compiling NIOPosix PendingDatagramWritesManager.swift
[257/297] Compiling NIOPosix PendingWritesManager.swift
[258/297] Compiling NIOPosix HappyEyeballs.swift
[259/297] Compiling NIOPosix IO.swift
[260/297] Compiling NIOPosix IntegerBitPacking.swift
[261/297] Compiling NIOPosix IntegerTypes.swift
[262/297] Compiling NIOPosix Linux.swift
[263/297] Compiling NIOPosix LinuxCPUSet.swift
[264/297] Compiling NIOPosix LinuxUring.swift
[265/297] Compiling NIOPosix BSDSocketAPICommon.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[266/297] Compiling NIOPosix BSDSocketAPIPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[267/297] Compiling NIOPosix BSDSocketAPIWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[268/297] Compiling NIOPosix BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[269/297] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[270/297] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[271/297] Compiling NIOPosix BaseSocketChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:11: error: cannot find type 'BaseSocketChannel' in scope
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: cannot find type 'BaseSocketChannel' in scope
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:11: error: cannot find type 'BaseSocketChannel' in scope
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: cannot find type 'BaseSocketChannel' in scope
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:42:11: error: cannot find type 'SocketChannel' in scope
40 | }
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'SocketChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:43:11: error: cannot find type 'ServerSocketChannel' in scope
41 |
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'ServerSocketChannel' in scope
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:44:11: error: cannot find type 'DatagramChannel' in scope
42 | extension SocketChannel: NIOTransportAccessibleChannelCore {}
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'DatagramChannel' in scope
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:45:11: error: cannot find type 'PipeChannel' in scope
43 | extension ServerSocketChannel: NIOTransportAccessibleChannelCore {}
44 | extension DatagramChannel: NIOTransportAccessibleChannelCore {}
45 | extension PipeChannel: NIOTransportAccessibleChannelCore {}
| `- error: cannot find type 'PipeChannel' in scope
46 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:17:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
15 | import NIOCore
16 |
17 | extension BaseSocketChannel where SocketType: BaseSocket {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
18 | /// The underlying transport type backing this channel.
19 | typealias Transport = NIOBSDSocket.Handle
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel+AccessibleTransport.swift:27:29: error: 'where' clause cannot be applied to a non-generic top-level declaration
25 | }
26 |
27 | extension BaseSocketChannel where SocketType: PipePair {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
28 | /// The underlying transport type backing this channel.
29 | typealias Transport = NIOBSDSocket.PipeHandle
[272/297] Compiling NIOPosix BaseStreamSocketChannel.swift
[273/297] Compiling NIOPosix Bootstrap.swift
[274/297] Compiling NIOPosix ControlMessage.swift
[275/297] Compiling NIOPosix DatagramVectorReadManager.swift
[276/297] Compiling NIOPosix Errors+Any.swift
[277/297] Compiling NIOPosix FileDescriptor.swift
[278/297] Compiling NIOPosix GetaddrinfoResolver.swift
[279/297] Compiling NIOPosix Thread.swift
[280/297] Compiling NIOPosix ThreadPosix.swift
[281/297] Compiling NIOPosix ThreadWindows.swift
[282/297] Compiling NIOPosix Utilities.swift
[283/297] Compiling NIOPosix VsockAddress.swift
[284/297] Compiling NIOPosix VsockChannelEvents.swift
[285/297] Compiling NIOPosix Windows.swift
[286/297] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[287/297] Compiling Get APIClient.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public nonisolated let configuration: Configuration
14 | /// The underlying `URLSession` instance.
15 | public nonisolated let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | private let decoder: JSONDecoder
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:69: error: cannot find type 'URLRequest' in scope
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- error: cannot find type 'URLRequest' in scope
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public var delegate: APIClientDelegate?
28 | /// By default, `URLSessionConfiguration.default`.
29 | public var sessionConfiguration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
31 | public var sessionDelegate: URLSessionDelegate?
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:69: error: value of type '_' expected to be instance of class or class-constrained type
27 | public var delegate: APIClientDelegate?
28 | /// By default, `URLSessionConfiguration.default`.
29 | public var sessionConfiguration: URLSessionConfiguration = .default
| `- error: value of type '_' expected to be instance of class or class-constrained type
30 | /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
31 | public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | public var delegate: APIClientDelegate?
28 | /// By default, `URLSessionConfiguration.default`.
29 | public var sessionConfiguration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
31 | public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:31:37: error: cannot find type 'URLSessionDelegate' in scope
29 | public var sessionConfiguration: URLSessionConfiguration = .default
30 | /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
31 | public var sessionDelegate: URLSessionDelegate?
| `- error: cannot find type 'URLSessionDelegate' in scope
32 | /// Overrides the default delegate queue.
33 | public var sessionDelegateQueue: OperationQueue?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:42: error: cannot find type 'OperationQueue' in scope
31 | public var sessionDelegate: URLSessionDelegate?
32 | /// Overrides the default delegate queue.
33 | public var sessionDelegateQueue: OperationQueue?
| `- error: cannot find type 'OperationQueue' in scope
34 | /// By default, uses `.iso8601` date decoding strategy.
35 | public var decoder: JSONDecoder
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | public init(
41 | baseURL: URL?,
42 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | delegate: APIClientDelegate? = nil
44 | ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:62: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
40 | public init(
41 | baseURL: URL?,
42 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
43 | delegate: APIClientDelegate? = nil
44 | ) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:62: error: value of type '_' expected to be instance of class or class-constrained type
40 | public init(
41 | baseURL: URL?,
42 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: value of type '_' expected to be instance of class or class-constrained type
43 | delegate: APIClientDelegate? = nil
44 | ) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:103:19: error: cannot find type 'URLSessionDataDelegate' in scope
101 | @discardableResult public func send<T: Decodable>(
102 | _ request: Request<T>,
103 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
104 | configure: ((inout URLRequest) throws -> Void)? = nil
105 | ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:104:28: error: cannot find type 'URLRequest' in scope
102 | _ request: Request<T>,
103 | delegate: URLSessionDataDelegate? = nil,
104 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
105 | ) async throws -> Response<T> {
106 | let response = try await data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:122:19: error: cannot find type 'URLSessionDataDelegate' in scope
120 | @discardableResult public func send(
121 | _ request: Request<Void>,
122 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
123 | configure: ((inout URLRequest) throws -> Void)? = nil
124 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:123:28: error: cannot find type 'URLRequest' in scope
121 | _ request: Request<Void>,
122 | delegate: URLSessionDataDelegate? = nil,
123 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
124 | ) async throws -> Response<Void> {
125 | try await data(for: request, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:140:19: error: cannot find type 'URLSessionDataDelegate' in scope
138 | public func data<T>(
139 | for request: Request<T>,
140 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
141 | configure: ((inout URLRequest) throws -> Void)? = nil
142 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:141:28: error: cannot find type 'URLRequest' in scope
139 | for request: Request<T>,
140 | delegate: URLSessionDataDelegate? = nil,
141 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
142 | ) async throws -> Response<Data> {
143 | let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:174:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
172 | public func download<T>(
173 | for request: Request<T>,
174 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
175 | configure: ((inout URLRequest) throws -> Void)? = nil
176 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:175:28: error: cannot find type 'URLRequest' in scope
173 | for request: Request<T>,
174 | delegate: URLSessionDownloadDelegate? = nil,
175 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
176 | ) async throws -> Response<URL> {
177 | var urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:189:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
187 | public func download(
188 | resumeFrom resumeData: Data,
189 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
190 | ) async throws -> Response<URL> {
191 | let task = session.downloadTask(withResumeData: resumeData)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:197:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
195 | private func _startDownloadTask(
196 | _ task: URLSessionDownloadTask,
197 | delegate: URLSessionDownloadDelegate?
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
198 | ) async throws -> Response<URL> {
199 | let response = try await dataLoader.startDownloadTask(task, session: session, delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:196:17: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
194 |
195 | private func _startDownloadTask(
196 | _ task: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
197 | delegate: URLSessionDownloadDelegate?
198 | ) async throws -> Response<URL> {
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:221:19: error: cannot find type 'URLSessionTaskDelegate' in scope
219 | for request: Request<T>,
220 | fromFile fileURL: URL,
221 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
222 | configure: ((inout URLRequest) throws -> Void)? = nil
223 | ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:222:28: error: cannot find type 'URLRequest' in scope
220 | fromFile fileURL: URL,
221 | delegate: URLSessionTaskDelegate? = nil,
222 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
223 | ) async throws -> Response<T> {
224 | let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:242:19: error: cannot find type 'URLSessionTaskDelegate' in scope
240 | for request: Request<Void>,
241 | fromFile fileURL: URL,
242 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
243 | configure: ((inout URLRequest) throws -> Void)? = nil
244 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:243:28: error: cannot find type 'URLRequest' in scope
241 | fromFile fileURL: URL,
242 | delegate: URLSessionTaskDelegate? = nil,
243 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
244 | ) async throws -> Response<Void> {
245 | try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:251:19: error: cannot find type 'URLSessionTaskDelegate' in scope
249 | for request: Request<T>,
250 | fromFile fileURL: URL,
251 | delegate: URLSessionTaskDelegate?,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
252 | configure: ((inout URLRequest) throws -> Void)?
253 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:252:28: error: cannot find type 'URLRequest' in scope
250 | fromFile fileURL: URL,
251 | delegate: URLSessionTaskDelegate?,
252 | configure: ((inout URLRequest) throws -> Void)?
| `- error: cannot find type 'URLRequest' in scope
253 | ) async throws -> Response<Data> {
254 | let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:284:19: error: cannot find type 'URLSessionTaskDelegate' in scope
282 | for request: Request<T>,
283 | from data: Data,
284 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
285 | configure: ((inout URLRequest) throws -> Void)? = nil
286 | ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:285:28: error: cannot find type 'URLRequest' in scope
283 | from data: Data,
284 | delegate: URLSessionTaskDelegate? = nil,
285 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
286 | ) async throws -> Response<T> {
287 | let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:305:19: error: cannot find type 'URLSessionTaskDelegate' in scope
303 | for request: Request<Void>,
304 | from data: Data,
305 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
306 | configure: ((inout URLRequest) throws -> Void)? = nil
307 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:306:28: error: cannot find type 'URLRequest' in scope
304 | from data: Data,
305 | delegate: URLSessionTaskDelegate? = nil,
306 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
307 | ) async throws -> Response<Void> {
308 | try await _upload(for: request, from: data, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:314:19: error: cannot find type 'URLSessionTaskDelegate' in scope
312 | for request: Request<T>,
313 | from data: Data,
314 | delegate: URLSessionTaskDelegate?,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
315 | configure: ((inout URLRequest) throws -> Void)?
316 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:315:28: error: cannot find type 'URLRequest' in scope
313 | from data: Data,
314 | delegate: URLSessionTaskDelegate?,
315 | configure: ((inout URLRequest) throws -> Void)?
| `- error: cannot find type 'URLRequest' in scope
316 | ) async throws -> Response<Data> {
317 | let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:335:76: error: cannot find type 'URLRequest' in scope
333 |
334 | /// Creates `URLRequest` for the given request.
335 | public func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
336 | try await makeURLRequest(for: request, { _ in })
337 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:341:30: error: cannot find type 'URLRequest' in scope
339 | private func makeURLRequest<T>(
340 | for request: Request<T>,
341 | _ configure: ((inout URLRequest) throws -> Void)?
| `- error: cannot find type 'URLRequest' in scope
342 | ) async throws -> URLRequest {
343 | let url = try makeURL(for: request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:342:23: error: cannot find type 'URLRequest' in scope
340 | for request: Request<T>,
341 | _ configure: ((inout URLRequest) throws -> Void)?
342 | ) async throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
343 | let url = try makeURL(for: request)
344 | var urlRequest = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:83:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
81 | self.configuration = configuration
82 | let delegateQueue = configuration.sessionDelegateQueue ?? .serial()
83 | self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
84 | self.dataLoader.userSessionDelegate = configuration.sessionDelegate
85 | self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:14:30: error: cannot find type 'URLSessionDelegate' in scope
12 | private let handlers = TaskHandlersDictionary()
13 |
14 | var userSessionDelegate: URLSessionDelegate? {
| `- error: cannot find type 'URLSessionDelegate' in scope
15 | didSet {
16 | userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:81:69: error: cannot find type 'URLRequest' in scope
79 |
80 | public extension APIClientDelegate {
81 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
82 | // Do nothing
83 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:178:33: error: no exact matches in call to instance method 'client'
176 | ) async throws -> Response<URL> {
177 | var urlRequest = try await makeURLRequest(for: request, configure)
178 | try await self.delegate.client(self, willSendRequest: &urlRequest)
| `- error: no exact matches in call to instance method 'client'
179 | let task = session.downloadTask(with: urlRequest)
180 | return try await _startDownloadTask(task, delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:59:10: note: found this candidate
57 | /// - returns: The URL for the request. Return `nil` to use the default
58 | /// logic used by client.
59 | func client<T>(_ client: APIClient, makeURLForRequest request: Request<T>) throws -> URL?
| `- note: found this candidate
60 |
61 | /// Allows you to override the client's encoder for a specific request.
:
66 | /// - Returns: The JSONEncoder for the request. Return `nil` to use the default
67 | /// encoder set in the client.
68 | func client<T>(_ client: APIClient, encoderForRequest request: Request<T>) -> JSONEncoder?
| `- note: found this candidate
69 |
70 | /// Allows you to override the client's decoder for a specific request.
:
75 | /// - Returns: The JSONDecoder for the request. Return `nil` to use the default
76 | /// decoder set in the client.
77 | func client<T>(_ client: APIClient, decoderForRequest request: Request<T>) -> JSONDecoder?
| `- note: found this candidate
78 | }
79 |
:
93 | }
94 |
95 | func client<T>(_ client: APIClient, makeURLForRequest request: Request<T>) throws -> URL? {
| `- note: found this candidate
96 | nil // Use default handlings
97 | }
98 |
99 | func client<T>(_ client: APIClient, encoderForRequest request: Request<T>) -> JSONEncoder? {
| `- note: found this candidate
100 | nil
101 | }
102 |
103 | func client<T>(_ client: APIClient, decoderForRequest request: Request<T>) -> JSONDecoder? {
| `- note: found this candidate
104 | nil
105 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:179:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
177 | var urlRequest = try await makeURLRequest(for: request, configure)
178 | try await self.delegate.client(self, willSendRequest: &urlRequest)
179 | let task = session.downloadTask(with: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
180 | return try await _startDownloadTask(task, delegate: delegate)
181 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
189 | delegate: URLSessionDownloadDelegate? = nil
190 | ) async throws -> Response<URL> {
191 | let task = session.downloadTask(withResumeData: resumeData)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
192 | return try await _startDownloadTask(task, delegate: delegate)
193 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
43 | }
44 |
45 | func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
46 | try await withTaskCancellationHandler(operation: {
47 | try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:200:13: error: generic parameter 'T' could not be inferred
198 | ) async throws -> Response<URL> {
199 | let response = try await dataLoader.startDownloadTask(task, session: session, delegate: delegate)
200 | try validate(response)
| `- error: generic parameter 'T' could not be inferred
201 | return response
202 | }
:
401 | }
402 |
403 | private func validate<T>(_ response: Response<T>) throws {
| `- note: in call to function 'validate'
404 | guard let httpResponse = response.response as? HTTPURLResponse else { return }
405 | try delegate.client(self, validateResponse: httpResponse, data: response.data, task: response.task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:344:26: error: cannot find 'URLRequest' in scope
342 | ) async throws -> URLRequest {
343 | let url = try makeURL(for: request)
344 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
345 | urlRequest.allHTTPHeaderFields = request.headers
346 | urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:351:25: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
349 | urlRequest.httpBody = try await encode(body, using: encoder)
350 | if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil &&
351 | session.configuration.httpAdditionalHeaders?["Content-Type"] == nil {
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
352 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
353 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:356:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
354 | }
355 | if urlRequest.value(forHTTPHeaderField: "Accept") == nil &&
356 | session.configuration.httpAdditionalHeaders?["Accept"] == nil {
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
357 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
358 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:404:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
402 |
403 | private func validate<T>(_ response: Response<T>) throws {
404 | guard let httpResponse = response.response as? HTTPURLResponse else { return }
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
405 | try delegate.client(self, validateResponse: httpResponse, data: response.data, task: response.task)
406 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[288/297] Compiling Get APIClientDelegate.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:69: error: cannot find type 'URLRequest' in scope
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- error: cannot find type 'URLRequest' in scope
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | ///
47 | /// - returns: Return `true` to retry the request.
48 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | /// Constructs URL for the given request.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:81:69: error: cannot find type 'URLRequest' in scope
79 |
80 | public extension APIClientDelegate {
81 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
82 | // Do nothing
83 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:85:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | }
84 |
85 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
86 | false // Disabled by default
87 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:90:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
90 | guard (200..<300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | throw APIError.unacceptableStatusCode(response.statusCode)
92 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:91:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
92 | }
93 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:35: error: cannot find type 'URLSessionDataDelegate' in scope
9 |
10 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
11 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
12 | private let handlers = TaskHandlersDictionary()
13 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:59: error: cannot find type 'URLSessionDownloadDelegate' in scope
9 |
10 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
11 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
12 | private let handlers = TaskHandlersDictionary()
13 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:14:30: error: cannot find type 'URLSessionDelegate' in scope
12 | private let handlers = TaskHandlersDictionary()
13 |
14 | var userSessionDelegate: URLSessionDelegate? {
| `- error: cannot find type 'URLSessionDelegate' in scope
15 | didSet {
16 | userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:21:35: error: cannot find type 'URLSessionTaskDelegate' in scope
19 | }
20 | }
21 | private var userTaskDelegate: URLSessionTaskDelegate?
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
22 | private var userDataDelegate: URLSessionDataDelegate?
23 | private var userDownloadDelegate: URLSessionDownloadDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:16:56: error: cannot find type 'URLSessionTaskDelegate' in scope
14 | var userSessionDelegate: URLSessionDelegate? {
15 | didSet {
16 | userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
17 | userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
18 | userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:22:35: error: cannot find type 'URLSessionDataDelegate' in scope
20 | }
21 | private var userTaskDelegate: URLSessionTaskDelegate?
22 | private var userDataDelegate: URLSessionDataDelegate?
| `- error: cannot find type 'URLSessionDataDelegate' in scope
23 | private var userDownloadDelegate: URLSessionDownloadDelegate?
24 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:17:56: error: cannot find type 'URLSessionDataDelegate' in scope
15 | didSet {
16 | userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
17 | userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
| `- error: cannot find type 'URLSessionDataDelegate' in scope
18 | userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
19 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:23:39: error: cannot find type 'URLSessionDownloadDelegate' in scope
21 | private var userTaskDelegate: URLSessionTaskDelegate?
22 | private var userDataDelegate: URLSessionDataDelegate?
23 | private var userDownloadDelegate: URLSessionDownloadDelegate?
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
24 |
25 | private static let downloadDirectoryURL: URL = {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:18:60: error: cannot find type 'URLSessionDownloadDelegate' in scope
16 | userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
17 | userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
18 | userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
19 | }
20 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:83: error: cannot find type 'URLSessionDataDelegate' in scope
29 | }()
30 |
31 | func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
32 | try await withTaskCancellationHandler(operation: {
33 | try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | }()
30 |
31 | func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | try await withTaskCancellationHandler(operation: {
33 | try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:61: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | }()
30 |
31 | func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | try await withTaskCancellationHandler(operation: {
33 | try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
43 | }
44 |
45 | func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
46 | try await withTaskCancellationHandler(operation: {
47 | try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | }
44 |
45 | func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | try await withTaskCancellationHandler(operation: {
47 | try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | }
44 |
45 | func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | try await withTaskCancellationHandler(operation: {
47 | try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:87: error: cannot find type 'URLSessionTaskDelegate' in scope
57 | }
58 |
59 | func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
60 | try await withTaskCancellationHandler(operation: {
61 | try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | try await withTaskCancellationHandler(operation: {
61 | try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | try await withTaskCancellationHandler(operation: {
61 | try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:75:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | // MARK: - URLSessionDelegate
74 |
75 | func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | #if os(Linux)
77 | userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: error)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:84:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 |
83 | #if !os(Linux)
84 | func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | if #available(macOS 11.0, *) {
86 | userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
93 | // MARK: - URLSessionTaskDelegate
94 |
95 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | guard let handler = handlers[task] else { return assertionFailure() }
97 | handlers[task] = nil
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
93 | // MARK: - URLSessionTaskDelegate
94 |
95 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | guard let handler = handlers[task] else { return assertionFailure() }
97 | handlers[task] = nil
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:95: error: cannot find type 'URLSessionTaskMetrics' in scope
124 | }
125 |
126 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
127 | let handler = handlers[task]
128 | handler?.metrics = metrics
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 | }
125 |
126 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | let handler = handlers[task]
128 | handler?.metrics = metrics
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 | }
125 |
126 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | let handler = handlers[task]
128 | handler?.metrics = metrics
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:140: error: cannot find type 'URLRequest' in scope
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:182: error: cannot find type 'URLRequest' in scope
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 | #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:64: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 | #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
166 | #endif
167 |
168 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
169 | #if os(Linux)
170 | handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 | handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 | handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 | handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:99: error: cannot find type 'URLRequest' in scope
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:179: error: cannot find type 'URLRequest' in scope
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 | }
191 |
192 | func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
193 | #if os(Linux)
194 | handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 | }
191 |
192 | func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
193 | #if os(Linux)
194 | handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
202 | // MARK: - URLSessionDataDelegate
203 |
204 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
205 | #if os(Linux)
206 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 | // MARK: - URLSessionDataDelegate
203 |
204 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 | // MARK: - URLSessionDataDelegate
203 |
204 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 | // MARK: - URLSessionDataDelegate
203 |
204 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 | }
215 |
216 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 | guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
218 | #if os(Linux)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 | }
215 |
216 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 | guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
218 | #if os(Linux)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 | }
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 | }
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 | }
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' 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 URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
230 |
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
| `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
235 | }
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
| `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 | // MARK: - URLSessionDownloadDelegate
256 |
257 | func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | let handler = (handlers[downloadTask] as? DownloadTaskHandler)
259 | let downloadsURL = DataLoader.downloadDirectoryURL
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 | // MARK: - URLSessionDownloadDelegate
256 |
257 | func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | let handler = (handlers[downloadTask] as? DownloadTaskHandler)
259 | let downloadsURL = DataLoader.downloadDirectoryURL
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 | }
267 |
268 | func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 | #if os(Linux)
270 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 | }
267 |
268 | func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 | #if os(Linux)
270 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | }
277 |
278 | func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | #if os(Linux)
280 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | }
277 |
278 | func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | #if os(Linux)
280 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:292:19: error: cannot find type 'URLSessionTaskDelegate' in scope
290 |
291 | private class TaskHandler {
292 | let delegate: URLSessionTaskDelegate?
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
293 | var metrics: URLSessionTaskMetrics?
294 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:293:18: error: cannot find type 'URLSessionTaskMetrics' in scope
291 | private class TaskHandler {
292 | let delegate: URLSessionTaskDelegate?
293 | var metrics: URLSessionTaskMetrics?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
294 |
295 | init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:295:20: error: cannot find type 'URLSessionTaskDelegate' in scope
293 | var metrics: URLSessionTaskMetrics?
294 |
295 | init(delegate: URLSessionTaskDelegate?) {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
296 | self.delegate = delegate
297 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:303:23: error: cannot find type 'URLSessionDataDelegate' in scope
301 | typealias Completion = (Result<Response<Data>, Error>) -> Void
302 |
303 | let dataDelegate: URLSessionDataDelegate?
| `- error: cannot find type 'URLSessionDataDelegate' in scope
304 | var completion: Completion?
305 | var data: Data?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:307:29: error: cannot find type 'URLSessionTaskDelegate' in scope
305 | var data: Data?
306 |
307 | override init(delegate: URLSessionTaskDelegate?) {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
308 | self.dataDelegate = delegate as? URLSessionDataDelegate
309 | super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:316:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
314 | typealias Completion = (Result<Response<URL>, Error>) -> Void
315 |
316 | let downloadDelegate: URLSessionDownloadDelegate?
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
317 | var completion: Completion?
318 | var location: URL?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:320:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
318 | var location: URL?
319 |
320 | init(delegate: URLSessionDownloadDelegate?) {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
321 | self.downloadDelegate = delegate
322 | super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:331:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |
330 | struct DataLoaderError: Error {
331 | let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 | let error: Error
333 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:335:11: error: cannot find type 'OperationQueue' in scope
333 | }
334 |
335 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
336 | static func serial() -> OperationQueue {
337 | let queue = OperationQueue()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
377 | private final class TaskHandlersDictionary {
378 | private let lock = NSLock()
379 | private var handlers = [URLSessionTask: TaskHandler]()
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
380 |
381 | subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
377 | private final class TaskHandlersDictionary {
378 | private let lock = NSLock()
379 | private var handlers = [URLSessionTask: TaskHandler]()
| `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
380 |
381 | subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:381:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 | private var handlers = [URLSessionTask: TaskHandler]()
380 |
381 | subscript(task: URLSessionTask) -> TaskHandler? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 | get {
383 | lock.lock()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:41:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
39 | }
40 | }, onCancel: {
41 | task.cancel()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
42 | })
43 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:55:18: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
53 | }
54 | }, onCancel: {
55 | task.cancel()
| `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
56 | })
57 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:69:18: error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
67 | }
68 | }, onCancel: {
69 | task.cancel()
| `- error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
70 | })
71 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:107:36: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
105 | switch handler {
106 | case let handler as DataTaskHandler:
107 | if let response = task.response, error == nil {
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
108 | let data = handler.data ?? Data()
109 | let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:93: error: cannot find type 'URLSessionTaskMetrics' in scope
30 |
31 | /// Initializes the response.
32 | public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
33 | self.value = value
34 | self.data = data
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:109:32: error: generic parameter 'T' could not be inferred
107 | if let response = task.response, error == nil {
108 | let data = handler.data ?? Data()
109 | let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
| |- error: generic parameter 'T' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
110 | handler.completion?(.success(response))
111 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:12:24: note: 'T' declared as parameter to type 'Response'
10 |
11 | /// A response with an associated value and metadata.
12 | public struct Response<T> {
| `- note: 'T' declared as parameter to type 'Response'
13 | /// Decoded response value.
14 | public let value: T
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:115:69: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
113 | }
114 | case let handler as DownloadTaskHandler:
115 | if let location = handler.location, let response = task.response, error == nil {
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
116 | let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
117 | handler.completion?(.success(response))
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:116:32: error: generic parameter 'T' could not be inferred
114 | case let handler as DownloadTaskHandler:
115 | if let location = handler.location, let response = task.response, error == nil {
116 | let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
| |- error: generic parameter 'T' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
117 | handler.completion?(.success(response))
118 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:12:24: note: 'T' declared as parameter to type 'Response'
10 |
11 | /// A response with an associated value and metadata.
12 | public struct Response<T> {
| `- note: 'T' declared as parameter to type 'Response'
13 | /// Decoded response value.
14 | public let value: T
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:144:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
142 | completionHandler(request)
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
146 | completionHandler(request)
BUILD FAILURE 6.2 wasm