Build Information
Failed to build MoyaNC with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
602 |
603 | /// Closure called on the `urlSession(_:downloadTask:didFinishDownloadingTo:)` event.
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/Alamofire/Source/EventMonitor.swift:601:75: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
599 |
600 | /// Closure called on the `urlSession(_:dataTask:willCacheResponse:completionHandler:)` event.
601 | open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> Void)?
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
602 |
603 | /// Closure called on the `urlSession(_:downloadTask:didFinishDownloadingTo:)` event.
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/Alamofire/Source/EventMonitor.swift:604:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
602 |
603 | /// Closure called on the `urlSession(_:downloadTask:didFinishDownloadingTo:)` event.
604 | open var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> Void)?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
605 |
606 | /// Closure called on the `urlSession(_:downloadTask:didWriteData:totalBytesWritten: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/Alamofire/Source/EventMonitor.swift:604:67: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
602 |
603 | /// Closure called on the `urlSession(_:downloadTask:didFinishDownloadingTo:)` event.
604 | open var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> Void)?
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
605 |
606 | /// Closure called on the `urlSession(_:downloadTask:didWriteData:totalBytesWritten: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/Alamofire/Source/EventMonitor.swift:608:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
606 | /// Closure called on the `urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)`
607 | /// event.
608 | open var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
609 |
610 | /// Closure called on the `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)` event.
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/Alamofire/Source/EventMonitor.swift:608:54: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
606 | /// Closure called on the `urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)`
607 | /// event.
608 | open var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
609 |
610 | /// Closure called on the `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)` event.
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/Alamofire/Source/EventMonitor.swift:611:47: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
609 |
610 | /// Closure called on the `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)` event.
611 | open var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
612 |
613 | // MARK: - Request Events
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/Alamofire/Source/EventMonitor.swift:611:59: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
609 |
610 | /// Closure called on the `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)` event.
611 | open var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
612 |
613 | // MARK: - Request Events
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/Alamofire/Source/EventMonitor.swift:616:60: error: cannot find type 'URLRequest' in scope
614 |
615 | /// Closure called on the `request(_:didCreateInitialURLRequest:)` event.
616 | open var requestDidCreateInitialURLRequest: ((Request, URLRequest) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
617 |
618 | /// Closure called on the `request(_:didFailToCreateURLRequestWithError:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:622:72: error: cannot find type 'URLRequest' in scope
620 |
621 | /// Closure called on the `request(_:didAdaptInitialRequest:to:)` event.
622 | open var requestDidAdaptInitialRequestToAdaptedRequest: ((Request, URLRequest, URLRequest) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
623 |
624 | /// Closure called on the `request(_:didFailToAdaptURLRequest:withError:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:622:84: error: cannot find type 'URLRequest' in scope
620 |
621 | /// Closure called on the `request(_:didAdaptInitialRequest:to:)` event.
622 | open var requestDidAdaptInitialRequestToAdaptedRequest: ((Request, URLRequest, URLRequest) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
623 |
624 | /// Closure called on the `request(_:didFailToAdaptURLRequest:withError:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:625:67: error: cannot find type 'URLRequest' in scope
623 |
624 | /// Closure called on the `request(_:didFailToAdaptURLRequest:withError:)` event.
625 | open var requestDidFailToAdaptURLRequestWithError: ((Request, URLRequest, AFError) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
626 |
627 | /// Closure called on the `request(_:didCreateURLRequest:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:628:53: error: cannot find type 'URLRequest' in scope
626 |
627 | /// Closure called on the `request(_:didCreateURLRequest:)` event.
628 | open var requestDidCreateURLRequest: ((Request, URLRequest) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
629 |
630 | /// Closure called on the `request(_:didCreateTask:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:631:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
629 |
630 | /// Closure called on the `request(_:didCreateTask:)` event.
631 | open var requestDidCreateTask: ((Request, URLSessionTask) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
632 |
633 | /// Closure called on the `request(_:didGatherMetrics:)` event.
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/Alamofire/Source/EventMonitor.swift:634:50: error: cannot find type 'URLSessionTaskMetrics' in scope
632 |
633 | /// Closure called on the `request(_:didGatherMetrics:)` event.
634 | open var requestDidGatherMetrics: ((Request, URLSessionTaskMetrics) -> Void)?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
635 |
636 | /// Closure called on the `request(_:didFailTask:earlyWithError:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:637:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
635 |
636 | /// Closure called on the `request(_:didFailTask:earlyWithError:)` event.
637 | open var requestDidFailTaskEarlyWithError: ((Request, URLSessionTask, AFError) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
638 |
639 | /// Closure called on the `request(_:didCompleteTask:with:)` event.
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/Alamofire/Source/EventMonitor.swift:640:58: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
638 |
639 | /// Closure called on the `request(_:didCompleteTask:with:)` event.
640 | open var requestDidCompleteTaskWithError: ((Request, URLSessionTask, AFError?) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
641 |
642 | /// Closure called on the `requestIsRetrying(_:)` event.
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/Alamofire/Source/EventMonitor.swift:652:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
650 |
651 | /// Closure called on the `request(_:didResumeTask:)` event.
652 | open var requestDidResumeTask: ((Request, URLSessionTask) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
653 |
654 | /// Closure called on the `requestDidSuspend(_:)` event.
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/Alamofire/Source/EventMonitor.swift:658:48: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
656 |
657 | /// Closure called on the `request(_:didSuspendTask:)` event.
658 | open var requestDidSuspendTask: ((Request, URLSessionTask) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
659 |
660 | /// Closure called on the `requestDidCancel(_:)` event.
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/Alamofire/Source/EventMonitor.swift:664:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
662 |
663 | /// Closure called on the `request(_:didCancelTask:)` event.
664 | open var requestDidCancelTask: ((Request, URLSessionTask) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
665 |
666 | /// Closure called on the `request(_:didValidateRequest:response:data:withResult:)` event.
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/Alamofire/Source/EventMonitor.swift:667:78: error: cannot find type 'URLRequest' in scope
665 |
666 | /// Closure called on the `request(_:didValidateRequest:response:data:withResult:)` event.
667 | open var requestDidValidateRequestResponseDataWithResult: ((DataRequest, URLRequest?, HTTPURLResponse, Data?, Request.ValidationResult) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
668 |
669 | /// Closure called on the `request(_:didParseResponse:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:673:80: error: cannot find type 'URLRequest' in scope
671 |
672 | /// Closure called on the `request(_:didValidateRequest:response:withResult:)` event.
673 | open var requestDidValidateRequestResponseWithResult: ((DataStreamRequest, URLRequest?, HTTPURLResponse, Request.ValidationResult) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
674 |
675 | /// Closure called on the `request(_:didCreateUploadable:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:685:81: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
683 |
684 | /// Closure called on the `request(_:didFinishDownloadingUsing:with:)` event.
685 | open var requestDidFinishDownloadingUsingTaskWithResult: ((DownloadRequest, URLSessionTask, Result<URL, AFError>) -> Void)?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
686 |
687 | /// Closure called on the `request(_:didCreateDestinationURL:)` event.
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/Alamofire/Source/EventMonitor.swift:691:85: error: cannot find type 'URLRequest' in scope
689 |
690 | /// Closure called on the `request(_:didValidateRequest:response:temporaryURL:destinationURL:withResult:)` event.
691 | open var requestDidValidateRequestResponseFileURLWithResult: ((DownloadRequest, URLRequest?, HTTPURLResponse, URL?, Request.ValidationResult) -> Void)?
| `- error: cannot find type 'URLRequest' in scope
692 |
693 | /// Closure called on the `request(_:didParseResponse:)` event.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:705:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
703 | }
704 |
705 | open 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.
706 | sessionDidBecomeInvalidWithError?(session, error)
707 | }
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/Alamofire/Source/EventMonitor.swift:709:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
707 | }
708 |
709 | open func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
710 | taskDidReceiveChallenge?(session, task, challenge)
711 | }
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/Alamofire/Source/EventMonitor.swift:709:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
707 | }
708 |
709 | open func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
710 | taskDidReceiveChallenge?(session, task, challenge)
711 | }
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/Alamofire/Source/EventMonitor.swift:709:93: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
707 | }
708 |
709 | open func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) {
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
710 | taskDidReceiveChallenge?(session, task, challenge)
711 | }
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/Alamofire/Source/EventMonitor.swift:713:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
711 | }
712 |
713 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
714 | task: URLSessionTask,
715 | didSendBodyData bytesSent: Int64,
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/Alamofire/Source/EventMonitor.swift:714:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
712 |
713 | open func urlSession(_ session: URLSession,
714 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
715 | didSendBodyData bytesSent: Int64,
716 | totalBytesSent: Int64,
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/Alamofire/Source/EventMonitor.swift:721:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
719 | }
720 |
721 | open func urlSession(_ session: URLSession, taskNeedsNewBodyStream task: URLSessionTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
722 | taskNeedNewBodyStream?(session, task)
723 | }
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/Alamofire/Source/EventMonitor.swift:721:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
719 | }
720 |
721 | open func urlSession(_ session: URLSession, taskNeedsNewBodyStream task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
722 | taskNeedNewBodyStream?(session, task)
723 | }
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/Alamofire/Source/EventMonitor.swift:728:46: error: cannot find type 'URLRequest' in scope
726 | task: URLSessionTask,
727 | willPerformHTTPRedirection response: HTTPURLResponse,
728 | newRequest request: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
729 | taskWillPerformHTTPRedirection?(session, task, response, request)
730 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:725:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
723 | }
724 |
725 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
726 | task: URLSessionTask,
727 | willPerformHTTPRedirection response: HTTPURLResponse,
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/Alamofire/Source/EventMonitor.swift:726:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
724 |
725 | open func urlSession(_ session: URLSession,
726 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
727 | willPerformHTTPRedirection response: HTTPURLResponse,
728 | newRequest request: URLRequest) {
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/Alamofire/Source/EventMonitor.swift:727:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
725 | open func urlSession(_ session: URLSession,
726 | task: URLSessionTask,
727 | willPerformHTTPRedirection response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
728 | newRequest request: URLRequest) {
729 | taskWillPerformHTTPRedirection?(session, task, response, request)
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/Alamofire/Source/EventMonitor.swift:732:100: error: cannot find type 'URLSessionTaskMetrics' in scope
730 | }
731 |
732 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
733 | taskDidFinishCollectingMetrics?(session, task, metrics)
734 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:732:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
730 | }
731 |
732 | open 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.
733 | taskDidFinishCollectingMetrics?(session, task, metrics)
734 | }
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/Alamofire/Source/EventMonitor.swift:732:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
730 | }
731 |
732 | open 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.
733 | taskDidFinishCollectingMetrics?(session, task, metrics)
734 | }
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/Alamofire/Source/EventMonitor.swift:736:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
734 | }
735 |
736 | open 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.
737 | taskDidComplete?(session, task, error)
738 | }
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/Alamofire/Source/EventMonitor.swift:736:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
734 | }
735 |
736 | open 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.
737 | taskDidComplete?(session, task, error)
738 | }
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/Alamofire/Source/EventMonitor.swift:740:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 | }
739 |
740 | open 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.
741 | taskIsWaitingForConnectivity?(session, task)
742 | }
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/Alamofire/Source/EventMonitor.swift:740:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 | }
739 |
740 | open 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.
741 | taskIsWaitingForConnectivity?(session, task)
742 | }
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/Alamofire/Source/EventMonitor.swift:744:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
742 | }
743 |
744 | open 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.
745 | dataTaskDidReceiveData?(session, dataTask, data)
746 | }
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/Alamofire/Source/EventMonitor.swift:744:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
742 | }
743 |
744 | open 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.
745 | dataTaskDidReceiveData?(session, dataTask, data)
746 | }
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/Alamofire/Source/EventMonitor.swift:748:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
746 | }
747 |
748 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
749 | dataTaskWillCacheResponse?(session, dataTask, proposedResponse)
750 | }
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/Alamofire/Source/EventMonitor.swift:748:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
746 | }
747 |
748 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
749 | dataTaskWillCacheResponse?(session, dataTask, proposedResponse)
750 | }
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/Alamofire/Source/EventMonitor.swift:748:115: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
746 | }
747 |
748 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
749 | dataTaskWillCacheResponse?(session, dataTask, proposedResponse)
750 | }
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/Alamofire/Source/EventMonitor.swift:752:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
750 | }
751 |
752 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
753 | downloadTask: URLSessionDownloadTask,
754 | didResumeAtOffset fileOffset: Int64,
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/Alamofire/Source/EventMonitor.swift:753:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
751 |
752 | open func urlSession(_ session: URLSession,
753 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
754 | didResumeAtOffset fileOffset: Int64,
755 | expectedTotalBytes: Int64) {
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/Alamofire/Source/EventMonitor.swift:759:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
757 | }
758 |
759 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
760 | downloadTask: URLSessionDownloadTask,
761 | didWriteData bytesWritten: Int64,
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/Alamofire/Source/EventMonitor.swift:760:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
758 |
759 | open func urlSession(_ session: URLSession,
760 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
761 | didWriteData bytesWritten: Int64,
762 | totalBytesWritten: Int64,
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/Alamofire/Source/EventMonitor.swift:767:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
765 | }
766 |
767 | open 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.
768 | downloadTaskDidFinishDownloadingToURL?(session, downloadTask, location)
769 | }
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/Alamofire/Source/EventMonitor.swift:767:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
765 | }
766 |
767 | open 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.
768 | downloadTaskDidFinishDownloadingToURL?(session, downloadTask, location)
769 | }
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/Alamofire/Source/EventMonitor.swift:773:82: error: cannot find type 'URLRequest' in scope
771 | // MARK: Request Events
772 |
773 | open func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
774 | requestDidCreateInitialURLRequest?(request, urlRequest)
775 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:781:82: error: cannot find type 'URLRequest' in scope
779 | }
780 |
781 | open func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
782 | requestDidAdaptInitialRequestToAdaptedRequest?(request, initialRequest, adaptedRequest)
783 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:781:113: error: cannot find type 'URLRequest' in scope
779 | }
780 |
781 | open func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
782 | requestDidAdaptInitialRequestToAdaptedRequest?(request, initialRequest, adaptedRequest)
783 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:785:84: error: cannot find type 'URLRequest' in scope
783 | }
784 |
785 | open func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError) {
| `- error: cannot find type 'URLRequest' in scope
786 | requestDidFailToAdaptURLRequestWithError?(request, initialRequest, error)
787 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:789:75: error: cannot find type 'URLRequest' in scope
787 | }
788 |
789 | open func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
790 | requestDidCreateURLRequest?(request, urlRequest)
791 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:793:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
791 | }
792 |
793 | open func request(_ request: Request, didCreateTask task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
794 | requestDidCreateTask?(request, task)
795 | }
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/Alamofire/Source/EventMonitor.swift:797:69: error: cannot find type 'URLSessionTaskMetrics' in scope
795 | }
796 |
797 | open func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
798 | requestDidGatherMetrics?(request, metrics)
799 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:801:61: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
799 | }
800 |
801 | open func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
802 | requestDidFailTaskEarlyWithError?(request, task, error)
803 | }
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/Alamofire/Source/EventMonitor.swift:805:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
803 | }
804 |
805 | open func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
806 | requestDidCompleteTaskWithError?(request, task, error)
807 | }
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/Alamofire/Source/EventMonitor.swift:821:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
819 | }
820 |
821 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
822 | requestDidResumeTask?(request, task)
823 | }
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/Alamofire/Source/EventMonitor.swift:829:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
827 | }
828 |
829 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
830 | requestDidSuspendTask?(request, task)
831 | }
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/Alamofire/Source/EventMonitor.swift:837:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
835 | }
836 |
837 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
838 | requestDidCancelTask?(request, task)
839 | }
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/Alamofire/Source/EventMonitor.swift:842:54: error: cannot find type 'URLRequest' in scope
840 |
841 | open func request(_ request: DataRequest,
842 | didValidateRequest urlRequest: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
843 | response: HTTPURLResponse,
844 | data: Data?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:843:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
841 | open func request(_ request: DataRequest,
842 | didValidateRequest urlRequest: URLRequest?,
843 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
844 | data: Data?,
845 | withResult result: Request.ValidationResult) {
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/Alamofire/Source/EventMonitor.swift:853:86: error: cannot find type 'URLRequest' in scope
851 | }
852 |
853 | public func request(_ request: DataStreamRequest, didValidateRequest urlRequest: URLRequest?, response: HTTPURLResponse, withResult result: Request.ValidationResult) {
| `- error: cannot find type 'URLRequest' in scope
854 | requestDidValidateRequestResponseWithResult?(request, urlRequest, response, result)
855 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:853:109: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
851 | }
852 |
853 | public func request(_ request: DataStreamRequest, didValidateRequest urlRequest: URLRequest?, response: HTTPURLResponse, withResult result: Request.ValidationResult) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
854 | requestDidValidateRequestResponseWithResult?(request, urlRequest, response, result)
855 | }
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/Alamofire/Source/EventMonitor.swift:869:83: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
867 | }
868 |
869 | open func request(_ request: DownloadRequest, didFinishDownloadingUsing task: URLSessionTask, with result: Result<URL, AFError>) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
870 | requestDidFinishDownloadingUsingTaskWithResult?(request, task, result)
871 | }
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/Alamofire/Source/EventMonitor.swift:878:54: error: cannot find type 'URLRequest' in scope
876 |
877 | open func request(_ request: DownloadRequest,
878 | didValidateRequest urlRequest: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
879 | response: HTTPURLResponse,
880 | fileURL: URL?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:879:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
877 | open func request(_ request: DownloadRequest,
878 | didValidateRequest urlRequest: URLRequest?,
879 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
880 | fileURL: URL?,
881 | withResult result: Request.ValidationResult) {
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/Alamofire/Source/EventMonitor.swift:364:26: error: incorrect argument labels in call (have '_:task:willPerformHTTPRedirection:newRequest:', expected '_:downloadTask:didResumeAtOffset:expectedTotalBytes:')
362 | newRequest request: URLRequest) {
363 | performEvent {
364 | $0.urlSession(session,
| `- error: incorrect argument labels in call (have '_:task:willPerformHTTPRedirection:newRequest:', expected '_:downloadTask:didResumeAtOffset:expectedTotalBytes:')
365 | task: task,
366 | willPerformHTTPRedirection: response,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:366:55: error: 'HTTPURLResponse' (aka 'AnyObject') is not convertible to 'Int64'
364 | $0.urlSession(session,
365 | task: task,
366 | willPerformHTTPRedirection: response,
| |- error: 'HTTPURLResponse' (aka 'AnyObject') is not convertible to 'Int64'
| `- note: did you mean to use 'as!' to force downcast?
367 | newRequest: request)
368 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:372:27: error: no exact matches in call to instance method 'urlSession'
41 |
42 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:task:didReceive:completionHandler:)` method.
43 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge)
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
44 |
45 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)` method.
:
63 |
64 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:task:didCompleteWithError:)` method.
65 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?)
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
66 |
67 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:taskIsWaitingForConnectivity:)` method.
:
228 |
229 | public func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {}
230 | public func urlSession(_ session: URLSession,
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
231 | task: URLSessionTask,
232 | didReceive challenge: URLAuthenticationChallenge) {}
:
244 | task: URLSessionTask,
245 | didFinishCollecting metrics: URLSessionTaskMetrics) {}
246 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
247 | public func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {}
248 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {}
:
370 |
371 | public func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
372 | performEvent { $0.urlSession(session, task: task, didFinishCollecting: metrics) }
| `- error: no exact matches in call to instance method 'urlSession'
373 | }
374 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:427:27: error: no exact matches in call to instance method 'request'
102 |
103 | /// Event called when the attempt to create a `URLRequest` from a `Request`'s original `URLRequestConvertible` value fails.
104 | func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
105 |
106 | /// Event called when a `RequestAdapter` adapts the `Request`'s initial `URLRequest`.
:
114 |
115 | /// Event called when a `URLSessionTask` subclass instance is created for a `Request`.
116 | func request(_ request: Request, didCreateTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCreateTask:)')
117 |
118 | /// Event called when a `Request` receives a `URLSessionTaskMetrics` value.
:
136 |
137 | /// Event called when a `Request`'s associated `URLSessionTask` is resumed.
138 | func request(_ request: Request, didResumeTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didResumeTask:)')
139 |
140 | /// Event called when a `Request` receives a `suspend` call.
:
142 |
143 | /// Event called when a `Request`'s associated `URLSessionTask` is suspended.
144 | func request(_ request: Request, didSuspendTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didSuspendTask:)')
145 |
146 | /// Event called when a `Request` receives a `cancel` call.
:
148 |
149 | /// Event called when a `Request`'s associated `URLSessionTask` is cancelled.
150 | func request(_ request: Request, didCancelTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCancelTask:)')
151 |
152 | // MARK: DataRequest Events
:
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
:
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCreateTask:)')
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
:
278 | public func requestDidFinish(_ request: Request) {}
279 | public func requestDidResume(_ request: Request) {}
280 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didResumeTask:)')
281 | public func requestDidSuspend(_ request: Request) {}
282 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didSuspendTask:)')
283 | public func requestDidCancel(_ request: Request) {}
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCancelTask:)')
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
:
425 |
426 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {
427 | performEvent { $0.request(request, didCreateInitialURLRequest: urlRequest) }
| `- error: no exact matches in call to instance method 'request'
428 | }
429 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:435:27: error: no exact matches in call to instance method 'request'
120 |
121 | /// Event called when a `Request` fails due to an error created by Alamofire. e.g. When certificate pinning fails.
122 | func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError)
| `- note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didFailTask:earlyWithError:)')
123 |
124 | /// Event called when a `Request`'s task completes, possibly with an error. A `Request` may receive this event
125 | /// multiple times if it is retried.
126 | func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?)
| `- note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didCompleteTask:with:)')
127 |
128 | /// Event called when a `Request` is about to be retried.
:
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
| `- note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didFailTask:earlyWithError:)')
276 | public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {}
| `- note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didCompleteTask:with:)')
277 | public func requestIsRetrying(_ request: Request) {}
278 | public func requestDidFinish(_ request: Request) {}
:
433 |
434 | public func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest) {
435 | performEvent { $0.request(request, didAdaptInitialRequest: initialRequest, to: adaptedRequest) }
| `- error: no exact matches in call to instance method 'request'
436 | }
437 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:439:34: error: incorrect argument labels in call (have '_:didFailToAdaptURLRequest:withError:', expected '_:didFailTask:earlyWithError:')
437 |
438 | public func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError) {
439 | performEvent { $0.request(request, didFailToAdaptURLRequest: initialRequest, withError: error) }
| `- error: incorrect argument labels in call (have '_:didFailToAdaptURLRequest:withError:', expected '_:didFailTask:earlyWithError:')
440 | }
441 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:443:27: error: no exact matches in call to instance method 'request'
102 |
103 | /// Event called when the attempt to create a `URLRequest` from a `Request`'s original `URLRequestConvertible` value fails.
104 | func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
105 |
106 | /// Event called when a `RequestAdapter` adapts the `Request`'s initial `URLRequest`.
:
114 |
115 | /// Event called when a `URLSessionTask` subclass instance is created for a `Request`.
116 | func request(_ request: Request, didCreateTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCreateTask:)')
117 |
118 | /// Event called when a `Request` receives a `URLSessionTaskMetrics` value.
:
136 |
137 | /// Event called when a `Request`'s associated `URLSessionTask` is resumed.
138 | func request(_ request: Request, didResumeTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didResumeTask:)')
139 |
140 | /// Event called when a `Request` receives a `suspend` call.
:
142 |
143 | /// Event called when a `Request`'s associated `URLSessionTask` is suspended.
144 | func request(_ request: Request, didSuspendTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didSuspendTask:)')
145 |
146 | /// Event called when a `Request` receives a `cancel` call.
:
148 |
149 | /// Event called when a `Request`'s associated `URLSessionTask` is cancelled.
150 | func request(_ request: Request, didCancelTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCancelTask:)')
151 |
152 | // MARK: DataRequest Events
:
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
:
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCreateTask:)')
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
:
278 | public func requestDidFinish(_ request: Request) {}
279 | public func requestDidResume(_ request: Request) {}
280 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didResumeTask:)')
281 | public func requestDidSuspend(_ request: Request) {}
282 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didSuspendTask:)')
283 | public func requestDidCancel(_ request: Request) {}
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCancelTask:)')
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
:
441 |
442 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {
443 | performEvent { $0.request(request, didCreateURLRequest: urlRequest) }
| `- error: no exact matches in call to instance method 'request'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:451:27: error: no exact matches in call to instance method 'request'
102 |
103 | /// Event called when the attempt to create a `URLRequest` from a `Request`'s original `URLRequestConvertible` value fails.
104 | func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didFailToCreateURLRequestWithError:)')
105 |
106 | /// Event called when a `RequestAdapter` adapts the `Request`'s initial `URLRequest`.
:
114 |
115 | /// Event called when a `URLSessionTask` subclass instance is created for a `Request`.
116 | func request(_ request: Request, didCreateTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCreateTask:)')
117 |
118 | /// Event called when a `Request` receives a `URLSessionTaskMetrics` value.
:
136 |
137 | /// Event called when a `Request`'s associated `URLSessionTask` is resumed.
138 | func request(_ request: Request, didResumeTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didResumeTask:)')
139 |
140 | /// Event called when a `Request` receives a `suspend` call.
:
142 |
143 | /// Event called when a `Request`'s associated `URLSessionTask` is suspended.
144 | func request(_ request: Request, didSuspendTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didSuspendTask:)')
145 |
146 | /// Event called when a `Request` receives a `cancel` call.
:
148 |
149 | /// Event called when a `Request`'s associated `URLSessionTask` is cancelled.
150 | func request(_ request: Request, didCancelTask task: URLSessionTask)
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCancelTask:)')
151 |
152 | // MARK: DataRequest Events
:
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didFailToCreateURLRequestWithError:)')
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
:
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCreateTask:)')
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
:
278 | public func requestDidFinish(_ request: Request) {}
279 | public func requestDidResume(_ request: Request) {}
280 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didResumeTask:)')
281 | public func requestDidSuspend(_ request: Request) {}
282 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didSuspendTask:)')
283 | public func requestDidCancel(_ request: Request) {}
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
| `- note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCancelTask:)')
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
:
449 |
450 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {
451 | performEvent { $0.request(request, didGatherMetrics: metrics) }
| `- error: no exact matches in call to instance method 'request'
452 | }
453 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:499:27: error: no exact matches in call to instance method 'request'
102 |
103 | /// Event called when the attempt to create a `URLRequest` from a `Request`'s original `URLRequestConvertible` value fails.
104 | func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
| `- note: candidate has partially matching parameter list (Request, didFailToCreateURLRequestWithError: AFError)
105 |
106 | /// Event called when a `RequestAdapter` adapts the `Request`'s initial `URLRequest`.
:
114 |
115 | /// Event called when a `URLSessionTask` subclass instance is created for a `Request`.
116 | func request(_ request: Request, didCreateTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didCreateTask: URLSessionTask)
117 |
118 | /// Event called when a `Request` receives a `URLSessionTaskMetrics` value.
:
136 |
137 | /// Event called when a `Request`'s associated `URLSessionTask` is resumed.
138 | func request(_ request: Request, didResumeTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didResumeTask: URLSessionTask)
139 |
140 | /// Event called when a `Request` receives a `suspend` call.
:
142 |
143 | /// Event called when a `Request`'s associated `URLSessionTask` is suspended.
144 | func request(_ request: Request, didSuspendTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didSuspendTask: URLSessionTask)
145 |
146 | /// Event called when a `Request` receives a `cancel` call.
:
148 |
149 | /// Event called when a `Request`'s associated `URLSessionTask` is cancelled.
150 | func request(_ request: Request, didCancelTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didCancelTask: URLSessionTask)
151 |
152 | // MARK: DataRequest Events
:
160 |
161 | /// Event called when a `DataRequest` creates a `DataResponse<Data?>` value without calling a `ResponseSerializer`.
162 | func request(_ request: DataRequest, didParseResponse response: DataResponse<Data?, AFError>)
| `- note: candidate has partially matching parameter list (DataRequest, didParseResponse: DataResponse<Data?, AFError>)
163 |
164 | /// Event called when a `DataRequest` calls a `ResponseSerializer` and creates a generic `DataResponse<Value, AFError>`.
:
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
| `- note: candidate has partially matching parameter list (Request, didFailToCreateURLRequestWithError: AFError)
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
:
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didCreateTask: URLSessionTask)
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
:
278 | public func requestDidFinish(_ request: Request) {}
279 | public func requestDidResume(_ request: Request) {}
280 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didResumeTask: URLSessionTask)
281 | public func requestDidSuspend(_ request: Request) {}
282 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didSuspendTask: URLSessionTask)
283 | public func requestDidCancel(_ request: Request) {}
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didCancelTask: URLSessionTask)
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
:
288 | data: Data?,
289 | withResult result: Request.ValidationResult) {}
290 | public func request(_ request: DataRequest, didParseResponse response: DataResponse<Data?, AFError>) {}
| `- note: candidate has partially matching parameter list (DataRequest, didParseResponse: DataResponse<Data?, AFError>)
291 | public func request<Value>(_ request: DataRequest, didParseResponse response: DataResponse<Value, AFError>) {}
292 | public func request(_ request: DataStreamRequest,
:
497 | data: Data?,
498 | withResult result: Request.ValidationResult) {
499 | performEvent { $0.request(request,
| `- error: no exact matches in call to instance method 'request'
500 | didValidateRequest: urlRequest,
501 | response: response,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:519:27: error: no exact matches in call to instance method 'request'
102 |
103 | /// Event called when the attempt to create a `URLRequest` from a `Request`'s original `URLRequestConvertible` value fails.
104 | func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
| `- note: candidate has partially matching parameter list (Request, didFailToCreateURLRequestWithError: AFError)
105 |
106 | /// Event called when a `RequestAdapter` adapts the `Request`'s initial `URLRequest`.
:
114 |
115 | /// Event called when a `URLSessionTask` subclass instance is created for a `Request`.
116 | func request(_ request: Request, didCreateTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didCreateTask: URLSessionTask)
117 |
118 | /// Event called when a `Request` receives a `URLSessionTaskMetrics` value.
:
136 |
137 | /// Event called when a `Request`'s associated `URLSessionTask` is resumed.
138 | func request(_ request: Request, didResumeTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didResumeTask: URLSessionTask)
139 |
140 | /// Event called when a `Request` receives a `suspend` call.
:
142 |
143 | /// Event called when a `Request`'s associated `URLSessionTask` is suspended.
144 | func request(_ request: Request, didSuspendTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didSuspendTask: URLSessionTask)
145 |
146 | /// Event called when a `Request` receives a `cancel` call.
:
148 |
149 | /// Event called when a `Request`'s associated `URLSessionTask` is cancelled.
150 | func request(_ request: Request, didCancelTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didCancelTask: URLSessionTask)
151 |
152 | // MARK: DataRequest Events
:
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
| `- note: candidate has partially matching parameter list (Request, didFailToCreateURLRequestWithError: AFError)
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
:
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didCreateTask: URLSessionTask)
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
:
278 | public func requestDidFinish(_ request: Request) {}
279 | public func requestDidResume(_ request: Request) {}
280 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didResumeTask: URLSessionTask)
281 | public func requestDidSuspend(_ request: Request) {}
282 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didSuspendTask: URLSessionTask)
283 | public func requestDidCancel(_ request: Request) {}
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didCancelTask: URLSessionTask)
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
:
517 | response: HTTPURLResponse,
518 | withResult result: Request.ValidationResult) {
519 | performEvent { $0.request(request,
| `- error: no exact matches in call to instance method 'request'
520 | didValidateRequest: urlRequest,
521 | response: response,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:555:27: error: no exact matches in call to instance method 'request'
102 |
103 | /// Event called when the attempt to create a `URLRequest` from a `Request`'s original `URLRequestConvertible` value fails.
104 | func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
| `- note: candidate has partially matching parameter list (Request, didFailToCreateURLRequestWithError: AFError)
105 |
106 | /// Event called when a `RequestAdapter` adapts the `Request`'s initial `URLRequest`.
:
114 |
115 | /// Event called when a `URLSessionTask` subclass instance is created for a `Request`.
116 | func request(_ request: Request, didCreateTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didCreateTask: URLSessionTask)
117 |
118 | /// Event called when a `Request` receives a `URLSessionTaskMetrics` value.
:
136 |
137 | /// Event called when a `Request`'s associated `URLSessionTask` is resumed.
138 | func request(_ request: Request, didResumeTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didResumeTask: URLSessionTask)
139 |
140 | /// Event called when a `Request` receives a `suspend` call.
:
142 |
143 | /// Event called when a `Request`'s associated `URLSessionTask` is suspended.
144 | func request(_ request: Request, didSuspendTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didSuspendTask: URLSessionTask)
145 |
146 | /// Event called when a `Request` receives a `cancel` call.
:
148 |
149 | /// Event called when a `Request`'s associated `URLSessionTask` is cancelled.
150 | func request(_ request: Request, didCancelTask task: URLSessionTask)
| `- note: candidate has partially matching parameter list (Request, didCancelTask: URLSessionTask)
151 |
152 | // MARK: DataRequest Events
:
205 | /// Event called when a `DownloadRequest`'s `Destination` closure is called and creates the destination URL the
206 | /// downloaded file will be moved to.
207 | func request(_ request: DownloadRequest, didCreateDestinationURL url: URL)
| `- note: candidate has partially matching parameter list (DownloadRequest, didCreateDestinationURL: URL)
208 |
209 | /// Event called when a `DownloadRequest` calls a `Validation`.
:
215 |
216 | /// Event called when a `DownloadRequest` creates a `DownloadResponse<URL?, AFError>` without calling a `ResponseSerializer`.
217 | func request(_ request: DownloadRequest, didParseResponse response: DownloadResponse<URL?, AFError>)
| `- note: candidate has partially matching parameter list (DownloadRequest, didParseResponse: DownloadResponse<URL?, AFError>)
218 |
219 | /// Event called when a `DownloadRequest` calls a `DownloadResponseSerializer` and creates a generic `DownloadResponse<Value, AFError>`
:
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
| `- note: candidate has partially matching parameter list (Request, didFailToCreateURLRequestWithError: AFError)
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
:
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didCreateTask: URLSessionTask)
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
:
278 | public func requestDidFinish(_ request: Request) {}
279 | public func requestDidResume(_ request: Request) {}
280 | public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didResumeTask: URLSessionTask)
281 | public func requestDidSuspend(_ request: Request) {}
282 | public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didSuspendTask: URLSessionTask)
283 | public func requestDidCancel(_ request: Request) {}
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
| `- note: candidate has partially matching parameter list (Request, didCancelTask: URLSessionTask)
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
:
299 | public func request(_ request: UploadRequest, didProvideInputStream stream: InputStream) {}
300 | public func request(_ request: DownloadRequest, didFinishDownloadingUsing task: URLSessionTask, with result: Result<URL, AFError>) {}
301 | public func request(_ request: DownloadRequest, didCreateDestinationURL url: URL) {}
| `- note: candidate has partially matching parameter list (DownloadRequest, didCreateDestinationURL: URL)
302 | public func request(_ request: DownloadRequest,
303 | didValidateRequest urlRequest: URLRequest?,
:
305 | fileURL: URL?,
306 | withResult result: Request.ValidationResult) {}
307 | public func request(_ request: DownloadRequest, didParseResponse response: DownloadResponse<URL?, AFError>) {}
| `- note: candidate has partially matching parameter list (DownloadRequest, didParseResponse: DownloadResponse<URL?, AFError>)
308 | public func request<Value>(_ request: DownloadRequest, didParseResponse response: DownloadResponse<Value, AFError>) {}
309 | }
:
553 | fileURL: URL?,
554 | withResult result: Request.ValidationResult) {
555 | performEvent { $0.request(request,
| `- error: no exact matches in call to instance method 'request'
556 | didValidateRequest: urlRequest,
557 | response: response,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:374:33: error: cannot find 'kCFBundleExecutableKey' in scope
372 | public static let defaultUserAgent: HTTPHeader = {
373 | let info = Bundle.main.infoDictionary
374 | let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
| `- error: cannot find 'kCFBundleExecutableKey' in scope
375 | (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 | "Unknown"
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:377:28: error: cannot find 'kCFBundleIdentifierKey' in scope
375 | (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 | "Unknown"
377 | let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
| `- error: cannot find 'kCFBundleIdentifierKey' in scope
378 | let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 | let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:379:30: error: cannot find 'kCFBundleVersionKey' in scope
377 | let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
378 | let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 | let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
| `- error: cannot find 'kCFBundleVersionKey' in scope
380 |
381 | let osNameVersion: String = {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
426 | // MARK: - System Type Extensions
427 |
428 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
429 | /// Returns `allHTTPHeaderFields` as `HTTPHeaders`.
430 | public var headers: HTTPHeaders {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
434 | }
435 |
436 | extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
437 | /// Returns `allHeaderFields` as `HTTPHeaders`.
438 | public var headers: HTTPHeaders {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
441 | }
442 |
443 | public extension URLSessionConfiguration {
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
444 | /// Returns `httpAdditionalHeaders` as `HTTPHeaders`.
445 | var headers: HTTPHeaders {
[34/42] Compiling Alamofire ParameterEncoder.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
46 | }
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/Alamofire/Source/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/Alamofire/Source/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[35/42] Compiling Alamofire ParameterEncoding.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
46 | }
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/Alamofire/Source/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/Alamofire/Source/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[36/42] Compiling Alamofire Protected.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
46 | }
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/Alamofire/Source/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/Alamofire/Source/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[37/42] Compiling Alamofire RedirectHandler.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
46 | }
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/Alamofire/Source/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/Alamofire/Source/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/Alamofire/Source/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:130:31: error: cannot find type 'SecTrust' in scope
128 | public let host: String
129 | /// The `SecTrust` value which was evaluated.
130 | public let trust: SecTrust
| `- error: cannot find type 'SecTrust' in scope
131 | /// The `OSStatus` of evaluation operation.
132 | public let status: OSStatus
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:132:32: error: cannot find type 'OSStatus' in scope
130 | public let trust: SecTrust
131 | /// The `OSStatus` of evaluation operation.
132 | public let status: OSStatus
| `- error: cannot find type 'OSStatus' in scope
133 | /// The result of the evaluation operation.
134 | public let result: SecTrustResultType
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:134:32: error: cannot find type 'SecTrustResultType' in scope
132 | public let status: OSStatus
133 | /// The result of the evaluation operation.
134 | public let result: SecTrustResultType
| `- error: cannot find type 'SecTrustResultType' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:43: error: cannot find type 'SecTrust' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
137 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'SecTrust' in scope
138 | self.host = host
139 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:63: error: cannot find type 'OSStatus' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
137 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'OSStatus' in scope
138 | self.host = host
139 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:83: error: cannot find type 'SecTrustResultType' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
137 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'SecTrustResultType' in scope
138 | self.host = host
139 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:45: error: cannot find type 'SecTrust' in scope
150 | case noPublicKeysFound
151 | /// During evaluation, application of the associated `SecPolicy` failed.
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'SecTrust' in scope
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:63: error: cannot find type 'SecPolicy' in scope
150 | case noPublicKeysFound
151 | /// During evaluation, application of the associated `SecPolicy` failed.
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'SecPolicy' in scope
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:82: error: cannot find type 'OSStatus' in scope
150 | case noPublicKeysFound
151 | /// During evaluation, application of the associated `SecPolicy` failed.
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:54: error: cannot find type 'OSStatus' in scope
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
| `- error: cannot find type 'OSStatus' in scope
155 | /// During evaluation, creation of the revocation policy failed.
156 | case revocationPolicyCreationFailed
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:79: error: cannot find type 'SecCertificate' in scope
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
155 | /// During evaluation, creation of the revocation policy failed.
156 | case revocationPolicyCreationFailed
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:60: error: cannot find type 'SecTrust' in scope
164 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
165 | /// Certificate pinning failed.
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecTrust' in scope
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:91: error: cannot find type 'SecCertificate' in scope
164 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
165 | /// Certificate pinning failed.
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:129: error: cannot find type 'SecCertificate' in scope
164 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
165 | /// Certificate pinning failed.
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:58: error: cannot find type 'SecTrust' in scope
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecTrust' in scope
169 | /// Custom server trust evaluation failed due to the associated `Error`.
170 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:81: error: cannot find type 'SecKey' in scope
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecKey' in scope
169 | /// Custom server trust evaluation failed due to the associated `Error`.
170 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:103: error: cannot find type 'SecKey' in scope
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecKey' in scope
169 | /// Custom server trust evaluation failed due to the associated `Error`.
170 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:139:30: error: cannot find type 'CFOptionFlags' in scope
137 |
138 | /// The raw value of the option.
139 | public let rawValue: CFOptionFlags
| `- error: cannot find type 'CFOptionFlags' in scope
140 |
141 | /// Creates an `Options` value with the given `CFOptionFlags`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:59:63: error: cannot find type 'URLRequest' in scope
57 | /// - credential: The `Credential`.
58 | /// - urlRequest: The `URLRequest`.
59 | func apply(_ credential: Credential, to urlRequest: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
60 |
61 | /// Refreshes the `Credential` and executes the `completion` closure with the `Result` once complete.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:35: error: cannot find type 'URLRequest' in scope
107 | ///
108 | /// - Returns: `true` if the `URLRequest` failed due to an authentication error, `false` otherwise.
109 | func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
| `- error: cannot find type 'URLRequest' in scope
110 |
111 | /// Determines whether the `URLRequest` is authenticated with the `Credential`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 | ///
108 | /// - Returns: `true` if the `URLRequest` failed due to an authentication error, `false` otherwise.
109 | func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 | /// Determines whether the `URLRequest` is authenticated with the `Credential`.
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/Alamofire/Source/AuthenticationInterceptor.swift:141:34: error: cannot find type 'URLRequest' in scope
139 | ///
140 | /// - Returns: `true` if the `URLRequest` is authenticated with the `Credential`, `false` otherwise.
141 | func isRequest(_ urlRequest: URLRequest, authenticatedWith credential: Credential) -> Bool
| `- error: cannot find type 'URLRequest' in scope
142 | }
143 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:194:25: error: cannot find type 'URLRequest' in scope
192 |
193 | private struct AdaptOperation {
194 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
195 | let session: Session
196 | let completion: (Result<URLRequest, Error>) -> Void
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:196:33: error: cannot find type 'URLRequest' in scope
194 | let urlRequest: URLRequest
195 | let session: Session
196 | let completion: (Result<URLRequest, Error>) -> Void
| `- error: cannot find type 'URLRequest' in scope
197 | }
198 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:37: error: cannot find type 'URLRequest' in scope
249 | // MARK: Adapt
250 |
251 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
252 | let adaptResult: AdaptResult = $mutableState.write { mutableState in
253 | // Queue the adapt operation if a refresh is already in place.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:101: error: cannot find type 'URLRequest' in scope
249 | // MARK: Adapt
250 |
251 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
252 | let adaptResult: AdaptResult = $mutableState.write { mutableState in
253 | // Queue the adapt operation if a refresh is already in place.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:30: error: cannot find type 'URLRequest' in scope
33 | /// - session: The `Session` that will execute the `URLRequest`.
34 | /// - completion: The completion handler that must be called when adaptation is complete.
35 | func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:94: error: cannot find type 'URLRequest' in scope
33 | /// - session: The `Session` that will execute the `URLRequest`.
34 | /// - completion: The completion handler that must be called when adaptation is complete.
35 | func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:281:25: error: cannot infer contextual base in reference to member 'success'
279 | var authenticatedRequest = urlRequest
280 | authenticator.apply(credential, to: &authenticatedRequest)
281 | completion(.success(authenticatedRequest))
| `- error: cannot infer contextual base in reference to member 'success'
282 |
283 | case let .doNotAdapt(adaptError):
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:284:25: error: cannot infer contextual base in reference to member 'failure'
282 |
283 | case let .doNotAdapt(adaptError):
284 | completion(.failure(adaptError))
| `- error: cannot infer contextual base in reference to member 'failure'
285 |
286 | case .adaptDeferred:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:198:25: error: cannot find type 'URLRequest' in scope
196 | public var lastRequest: URLRequest? { requests.last }
197 | /// Current `URLRequest` created on behalf of the `Request`.
198 | public var request: URLRequest? { lastRequest }
| `- error: cannot find type 'URLRequest' in scope
199 |
200 | /// `URLRequest`s from all of the `URLSessionTask`s executed on behalf of the `Request`. May be different from
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
94 |
95 | extension RequestInterceptor {
96 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
97 | completion(.success(urlRequest))
98 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
94 |
95 | extension RequestInterceptor {
96 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
97 | completion(.success(urlRequest))
98 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:381:21: error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
379 |
380 | // Dispatch to queue to hop out of the mutable state lock
381 | queue.async {
| `- error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
382 | adaptOperations.forEach { self.adapt($0.urlRequest, for: $0.session, completion: $0.completion) }
383 | requestsToRetry.forEach { $0(.retry) }
Dispatch.DispatchQueue:62:17: note: 'async(execute:)' declared here
60 | public func sync(execute workItem: DispatchWorkItem)
61 | @available(macOS 10.10, iOS 8.0, *)
62 | public func async(execute workItem: DispatchWorkItem)
| `- note: 'async(execute:)' declared here
63 | @available(macOS 10.10, iOS 8.0, *)
64 | public func async(group: DispatchGroup, execute workItem: DispatchWorkItem)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:398:54: error: cannot infer contextual base in reference to member 'failure'
396 | // Dispatch to queue to hop out of the mutable state lock
397 | queue.async {
398 | adaptOperations.forEach { $0.completion(.failure(error)) }
| `- error: cannot infer contextual base in reference to member 'failure'
399 | requestsToRetry.forEach { $0(.doNotRetryWithError(error)) }
400 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | /// - response: The cached response to potentially store in the cache.
40 | /// - completion: The closure to execute containing cached response, a modified response, or `nil`.
41 | func dataTask(_ task: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | willCacheResponse response: CachedURLResponse,
43 | completion: @escaping (CachedURLResponse?) -> Void)
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/Alamofire/Source/CachedResponseHandler.swift:42:47: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - completion: The closure to execute containing cached response, a modified response, or `nil`.
41 | func dataTask(_ task: URLSessionDataTask,
42 | willCacheResponse response: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | completion: @escaping (CachedURLResponse?) -> Void)
44 | }
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/Alamofire/Source/CachedResponseHandler.swift:43:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | func dataTask(_ task: URLSessionDataTask,
42 | willCacheResponse response: CachedURLResponse,
43 | completion: @escaping (CachedURLResponse?) -> Void)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
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/Alamofire/Source/CachedResponseHandler.swift:58:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
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/Alamofire/Source/CachedResponseHandler.swift:58:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
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/Alamofire/Source/CachedResponseHandler.swift:58:64: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
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/Alamofire/Source/CachedResponseHandler.swift:78:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |
77 | extension ResponseCacher: CachedResponseHandler {
78 | public func dataTask(_ task: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | willCacheResponse response: CachedURLResponse,
80 | completion: @escaping (CachedURLResponse?) -> Void) {
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/Alamofire/Source/CachedResponseHandler.swift:79:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | extension ResponseCacher: CachedResponseHandler {
78 | public func dataTask(_ task: URLSessionDataTask,
79 | willCacheResponse response: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | completion: @escaping (CachedURLResponse?) -> Void) {
81 | switch behavior {
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
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Combine.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protected.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/StringEncoding+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.1zNBdP/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AuthenticationInterceptor.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While walking into 'AFError' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:29:8)
4. While walking into 'ServerTrustFailureReason' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:124:12)
5. While evaluating request USRGenerationRequest(Alamofire.(file).AFError.ServerTrustFailureReason.certificatePinningFailed(host:trust:pinnedCertificates:serverCertificates:).host@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:39)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000557fb0b31497
1 swift-frontend 0x0000557fb0b2f1ee
2 swift-frontend 0x0000557fb0b31b0a
3 libc.so.6 0x00007fc9c849a520
4 libc.so.6 0x00007fc9c84ee9fc pthread_kill + 300
5 libc.so.6 0x00007fc9c849a476 raise + 22
6 libc.so.6 0x00007fc9c84807f3 abort + 211
7 swift-frontend 0x0000557fabc61055
8 swift-frontend 0x0000557fab8ae934
9 swift-frontend 0x0000557fabc2366f
10 swift-frontend 0x0000557fab42754c
11 swift-frontend 0x0000557faa00d9ce
12 swift-frontend 0x0000557faa00d67a
13 swift-frontend 0x0000557faa00c8d2
14 swift-frontend 0x0000557fabc2419a
15 swift-frontend 0x0000557fa9fdbdab
16 swift-frontend 0x0000557fa9fdb2f7
17 swift-frontend 0x0000557fa9fd8c29
18 swift-frontend 0x0000557faad55226
19 swift-frontend 0x0000557fab90d89c
20 swift-frontend 0x0000557fab90f38c
21 swift-frontend 0x0000557fab912240
22 swift-frontend 0x0000557fab90d8ba
23 swift-frontend 0x0000557fab912d5f
24 swift-frontend 0x0000557fab91198f
25 swift-frontend 0x0000557fab90d8ba
26 swift-frontend 0x0000557fab912d5f
27 swift-frontend 0x0000557fab91198f
28 swift-frontend 0x0000557fab90d8ba
29 swift-frontend 0x0000557fab90d7b3
30 swift-frontend 0x0000557fabaf381f
31 swift-frontend 0x0000557faad52bd4
32 swift-frontend 0x0000557fa9fd7c51
33 swift-frontend 0x0000557fa9fd7afa
34 swift-frontend 0x0000557fa9fcc12c
35 swift-frontend 0x0000557fa9fcbb15
36 swift-frontend 0x0000557fa9d7e572
37 swift-frontend 0x0000557fa9d7c67c
38 swift-frontend 0x0000557fa9d77198
39 swift-frontend 0x0000557fa9d754fc
40 swift-frontend 0x0000557fa9b31dde
41 libc.so.6 0x00007fc9c8481d90
42 libc.so.6 0x00007fc9c8481e40 __libc_start_main + 128
43 swift-frontend 0x0000557fa9b30e85
BUILD FAILURE 6.0 linux