Build Information
Failed to build JunimoFire, reference 0.2.0 (618144
), with Swift 5.9 for Linux on 27 Jun 2024 08:51:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/J0onYEong/Junimofire.git
Reference: 0.2.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/J0onYEong/Junimofire
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 618144b [Release: 0.2.0] Session기본 interceptor기능 추가(test완료)
Cloned https://github.com/J0onYEong/Junimofire.git
Revision (git rev-parse @):
618144b51bc9335f785525ee8f92d999efd147a5
SUCCESS checkout https://github.com/J0onYEong/Junimofire.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/J0onYEong/Junimofire.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:bf2706fb3ad57f47449cad6c85f40e5d27f055fda5f2d8da4d3c25f3a5524d1a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/10] Compiling JunimoFire JFError.swift
[2/11] Compiling JunimoFire JuniosSessionDelegate.swift
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:18:34: error: cannot find type 'URLSessionTaskDelegate' in scope
extension JuniosSessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:20:142: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:20:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:20:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:22:28: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, URLCredential(trust: challenge.protectionSpace.serverTrust!))
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:22:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
completionHandler(.useCredential, URLCredential(trust: challenge.protectionSpace.serverTrust!))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:22:74: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
completionHandler(.useCredential, URLCredential(trust: challenge.protectionSpace.serverTrust!))
~~~~~~~~~ ^~~~~~~~~~~~~~~
[3/11] Compiling JunimoFire JFDataRequest.swift
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:74: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:46: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
unowned var session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:17:36: error: cannot find type 'URLRequest' in scope
var requests: MutableProperty<[URLRequest]>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:23:36: error: cannot find type 'URLRequest' in scope
func currentRequest() async -> URLRequest { await requests.value.last! }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:24:36: error: cannot find type 'URLRequest' in scope
func initialRequest() async -> URLRequest { await requests.value.first! }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:27:18: error: cannot find type 'URLRequest' in scope
request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
session: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:37:43: error: cannot find type 'URLRequest' in scope
public func requestIsUpdated(request: URLRequest) async {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:93:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func perform() async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:107:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func startValidation(data: Data, response: URLResponse) async throws -> ValidationInfo? {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:118:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func retry(validationInfo: ValidationInfo, response: URLResponse, data: Data) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:118:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func retry(validationInfo: ValidationInfo, response: URLResponse, data: Data) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:23:49: warning: no 'async' operations occur within 'await' expression
func currentRequest() async -> URLRequest { await requests.value.last! }
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:24:49: warning: no 'async' operations occur within 'await' expression
func initialRequest() async -> URLRequest { await requests.value.first! }
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:95:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: currentRequest())
~~~~~~~ ^~~~
[4/11] Compiling JunimoFire JFRetrier.swift
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:12:35: error: cannot find type 'URLRequest' in scope
case retryImediately(request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:13:34: error: cannot find type 'URLRequest' in scope
case retryWithDelay(request: URLRequest, seconds: Int)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:18:52: error: cannot find type 'URLRequest' in scope
public typealias JFRetryHandler = (ValidationInfo, URLRequest, URLResponse, Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:41:64: error: cannot find type 'URLRequest' in scope
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:41:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:24:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate = JuniosSessionDelegate(),
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:12:58: error: cannot infer contextual base in reference to member 'default'
static let `default` = JuniosSession(configuration: .default)
~^~~~~~~
[5/11] Compiling JunimoFire JF.swift
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:12:35: error: cannot find type 'URLRequest' in scope
case retryImediately(request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:13:34: error: cannot find type 'URLRequest' in scope
case retryWithDelay(request: URLRequest, seconds: Int)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:18:52: error: cannot find type 'URLRequest' in scope
public typealias JFRetryHandler = (ValidationInfo, URLRequest, URLResponse, Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:41:64: error: cannot find type 'URLRequest' in scope
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:41:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:24:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate = JuniosSessionDelegate(),
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:12:58: error: cannot infer contextual base in reference to member 'default'
static let `default` = JuniosSession(configuration: .default)
~^~~~~~~
[6/11] Compiling JunimoFire MutableProperty.swift
[7/11] Compiling JunimoFire JuniosSession.swift
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:24:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate = JuniosSessionDelegate(),
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:12:58: error: cannot infer contextual base in reference to member 'default'
static let `default` = JuniosSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:14:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:15:26: error: cannot find type 'URLSessionDelegate' in scope
let sessionDelegate: URLSessionDelegate
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:74: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:46: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:23:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
configuration: URLSessionConfiguration,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:44:27: error: cannot find type 'URLRequest' in scope
func request(request: URLRequest, interceptor: JFRequestInterceptor? = nil) async -> JFDataRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration, delegate: sessionDelegate, delegateQueue: queue)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:27:18: error: cannot find type 'URLRequest' in scope
request: URLRequest,
^~~~~~~~~~
[8/11] Compiling JunimoFire JFValidation.swift
/host/spi-builder-workspace/Sources/JunimoFire/Request/JFValidation.swift:10:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias JFValidation = (Data?, URLResponse) -> JFValidationResult
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module JunimoFire
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:74: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:46: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:17:50: error: cannot find type 'URLRequest' in scope
public typealias JFAdpaterHandler = (URLSession, URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:17:78: error: cannot find type 'URLRequest' in scope
public typealias JFAdpaterHandler = (URLSession, URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:81: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:53: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:81: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:53: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:45:64: error: cannot find type 'URLRequest' in scope
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:45:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:12:35: error: cannot find type 'URLRequest' in scope
case retryImediately(request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:13:34: error: cannot find type 'URLRequest' in scope
case retryWithDelay(request: URLRequest, seconds: Int)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:18:52: error: cannot find type 'URLRequest' in scope
public typealias JFRetryHandler = (ValidationInfo, URLRequest, URLResponse, Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:41:64: error: cannot find type 'URLRequest' in scope
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:41:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:24:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate = JuniosSessionDelegate(),
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:12:58: error: cannot infer contextual base in reference to member 'default'
static let `default` = JuniosSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
unowned var session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:17:36: error: cannot find type 'URLRequest' in scope
var requests: MutableProperty<[URLRequest]>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:23:36: error: cannot find type 'URLRequest' in scope
func currentRequest() async -> URLRequest { await requests.value.last! }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:24:36: error: cannot find type 'URLRequest' in scope
func initialRequest() async -> URLRequest { await requests.value.first! }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:27:18: error: cannot find type 'URLRequest' in scope
request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
session: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:37:43: error: cannot find type 'URLRequest' in scope
public func requestIsUpdated(request: URLRequest) async {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:93:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func perform() async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:107:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func startValidation(data: Data, response: URLResponse) async throws -> ValidationInfo? {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:118:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func retry(validationInfo: ValidationInfo, response: URLResponse, data: Data) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:118:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func retry(validationInfo: ValidationInfo, response: URLResponse, data: Data) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Request/JFValidation.swift:10:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias JFValidation = (Data?, URLResponse) -> JFValidationResult
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:14:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:15:26: error: cannot find type 'URLSessionDelegate' in scope
let sessionDelegate: URLSessionDelegate
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:23:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
configuration: URLSessionConfiguration,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSession.swift:44:27: error: cannot find type 'URLRequest' in scope
func request(request: URLRequest, interceptor: JFRequestInterceptor? = nil) async -> JFDataRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:18:34: error: cannot find type 'URLSessionTaskDelegate' in scope
extension JuniosSessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:20:142: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:20:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Session/JuniosSessionDelegate.swift:20:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
[10/11] Compiling JunimoFire JFAdapter.swift
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:74: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:46: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:17:50: error: cannot find type 'URLRequest' in scope
public typealias JFAdpaterHandler = (URLSession, URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:17:78: error: cannot find type 'URLRequest' in scope
public typealias JFAdpaterHandler = (URLSession, URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:81: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:53: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:81: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:53: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:45:64: error: cannot find type 'URLRequest' in scope
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:45:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[11/11] Compiling JunimoFire JFInterceptor.swift
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:74: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:46: error: cannot find type 'URLRequest' in scope
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:14:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:17:50: error: cannot find type 'URLRequest' in scope
public typealias JFAdpaterHandler = (URLSession, URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:17:78: error: cannot find type 'URLRequest' in scope
public typealias JFAdpaterHandler = (URLSession, URLRequest) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:81: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:53: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFAdapter.swift:29:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFRetrier.swift:24:57: error: cannot find type 'URLRequest' in scope
func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:81: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:53: error: cannot find type 'URLRequest' in scope
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:28:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func adapt(session: URLSession, request: URLRequest) async throws -> URLRequest {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:45:64: error: cannot find type 'URLRequest' in scope
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JunimoFire/Interceptor/JFInterceptor.swift:45:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func retry(validationInfo: ValidationInfo, request: URLRequest, response: URLResponse, data: Data?) async throws -> RetryCondition {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
error: fatalError
BUILD FAILURE 5.9 linux