The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PexelsSwift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukepistrol/Pexels-Swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/lukepistrol/Pexels-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 070ca30 Update FUNDING.yml
Cloned https://github.com/lukepistrol/Pexels-Swift.git
Revision (git rev-parse @):
070ca30171684a4c6579b1e93e233aec2eb7470a
SUCCESS checkout https://github.com/lukepistrol/Pexels-Swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/lukepistrol/Pexels-Swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1457] Fetching swift-docc-plugin
[1458/3941] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.51s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.52s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.41s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.44s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/25] Emitting module PexelsSwift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
[6/25] Compiling PexelsSwift Int+String.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:80:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        logMessage.append("Code: \(response.statusCode),")
                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:81:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        logMessage.append("URL: \(response.url?.absoluteString ?? "Invalid URL"),")
                                  ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:82:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (200...299).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:83:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
            logMessage.append("Rate Limit: \(response.pexelsLimit?.string ?? "Fetching failed"),")
                                             ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:84:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
            logMessage.append("Remaining: \(response.pexelsRemaining?.string ?? "Fetching failed"),")
                                            ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:85:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
            logMessage.append("Reset on: \(response.pexelsReset?.description ?? "Fetching Failed")")
                                           ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:87:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            logMessage.append("Response: \(response.description)")
                                           ~~~~~~~~ ^~~~~~~~~~~
[7/25] Compiling PexelsSwift PSLogLevel.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:80:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        logMessage.append("Code: \(response.statusCode),")
                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:81:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        logMessage.append("URL: \(response.url?.absoluteString ?? "Invalid URL"),")
                                  ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:82:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (200...299).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:83:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
            logMessage.append("Rate Limit: \(response.pexelsLimit?.string ?? "Fetching failed"),")
                                             ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:84:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
            logMessage.append("Remaining: \(response.pexelsRemaining?.string ?? "Fetching failed"),")
                                            ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:85:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
            logMessage.append("Reset on: \(response.pexelsReset?.description ?? "Fetching Failed")")
                                           ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:87:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            logMessage.append("Response: \(response.description)")
                                           ~~~~~~~~ ^~~~~~~~~~~
[8/25] Compiling PexelsSwift PSLogger.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:80:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        logMessage.append("Code: \(response.statusCode),")
                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:81:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        logMessage.append("URL: \(response.url?.absoluteString ?? "Invalid URL"),")
                                  ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:82:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (200...299).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:83:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
            logMessage.append("Rate Limit: \(response.pexelsLimit?.string ?? "Fetching failed"),")
                                             ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:84:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
            logMessage.append("Remaining: \(response.pexelsRemaining?.string ?? "Fetching failed"),")
                                            ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:85:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
            logMessage.append("Reset on: \(response.pexelsReset?.description ?? "Fetching Failed")")
                                           ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:87:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            logMessage.append("Response: \(response.description)")
                                           ~~~~~~~~ ^~~~~~~~~~~
[9/27] Compiling PexelsSwift PexelsSwift+Color.swift
[10/27] Compiling PexelsSwift PexelsSwift+Orientation+Size+Locale.swift
[11/27] Compiling PexelsSwift PexelsSwift+QueryParameter.swift
[12/27] Compiling PexelsSwift PSError.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[13/27] Compiling PexelsSwift Data+PrettyJSON.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[14/27] Compiling PexelsSwift HTTPURLResponse+.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[15/27] Compiling PexelsSwift PSVideo.swift
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:20:29: error: cannot find type 'URLRequest' in scope
    func _data(for request: URLRequest) async throws -> (Data, URLResponse) {
                            ^~~~~~~~~~
[16/27] Compiling PexelsSwift URLSession+DataForRequest.swift
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:20:29: error: cannot find type 'URLRequest' in scope
    func _data(for request: URLRequest) async throws -> (Data, URLResponse) {
                            ^~~~~~~~~~
[17/27] Compiling PexelsSwift PSPagingInfo.swift
[18/27] Compiling PexelsSwift PSPhoto.swift
[19/27] Compiling PexelsSwift PexelsSwift+Videos.swift
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:159:19: error: cannot find 'URLRequest' in scope
        var req = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:163:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            var response: URLResponse
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:165:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                (data, response) = try await urlSession.data(for: req)
                                             ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:167:57: error: value of type 'URLSession' (aka 'AnyObject') has no member '_data'
                (data, response) = try await urlSession._data(for: req)
                                             ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
            guard let response = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            guard let response = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:178:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            guard (200...299).contains(response.statusCode) else {
                                       ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:179:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                logger.error(.httpResponse(response.statusCode))
                                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:180:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .failure(.httpResponse(response.statusCode))
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:199:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
        guard let limit = response.pexelsLimit,
                          ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:200:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
              let remaining = response.pexelsRemaining,
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:201:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
              let reset = response.pexelsReset
                          ~~~~~~~~ ^~~~~~~~~~~
[20/27] Compiling PexelsSwift PexelsSwift.swift
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:159:19: error: cannot find 'URLRequest' in scope
        var req = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:163:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            var response: URLResponse
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:165:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                (data, response) = try await urlSession.data(for: req)
                                             ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:167:57: error: value of type 'URLSession' (aka 'AnyObject') has no member '_data'
                (data, response) = try await urlSession._data(for: req)
                                             ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
            guard let response = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            guard let response = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:178:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            guard (200...299).contains(response.statusCode) else {
                                       ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:179:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                logger.error(.httpResponse(response.statusCode))
                                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:180:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .failure(.httpResponse(response.statusCode))
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:199:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
        guard let limit = response.pexelsLimit,
                          ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:200:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
              let remaining = response.pexelsRemaining,
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:201:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
              let reset = response.pexelsReset
                          ~~~~~~~~ ^~~~~~~~~~~
[21/27] Compiling PexelsSwift PSCollection.swift
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:159:19: error: cannot find 'URLRequest' in scope
        var req = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:163:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            var response: URLResponse
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:165:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                (data, response) = try await urlSession.data(for: req)
                                             ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:167:57: error: value of type 'URLSession' (aka 'AnyObject') has no member '_data'
                (data, response) = try await urlSession._data(for: req)
                                             ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
            guard let response = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            guard let response = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:178:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            guard (200...299).contains(response.statusCode) else {
                                       ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:179:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                logger.error(.httpResponse(response.statusCode))
                                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:180:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .failure(.httpResponse(response.statusCode))
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:199:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
        guard let limit = response.pexelsLimit,
                          ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:200:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
              let remaining = response.pexelsRemaining,
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:201:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
              let reset = response.pexelsReset
                          ~~~~~~~~ ^~~~~~~~~~~
[22/27] Compiling PexelsSwift MockURLProtocol.swift
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:29:48: error: cannot find 'request' in scope
            let (response, data) = try handler(request)
                                               ^~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:82: error: cannot infer contextual base in reference to member 'notAllowed'
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:34:17: error: cannot find 'client' in scope
                client?.urlProtocol(self, didLoad: data)
                ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:37:13: error: cannot find 'client' in scope
            client?.urlProtocolDidFinishLoading(self)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:39:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didFailWithError: error)
            ^~~~~~
[23/27] Compiling PexelsSwift PexelsSwift+Collections.swift
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:29:48: error: cannot find 'request' in scope
            let (response, data) = try handler(request)
                                               ^~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:82: error: cannot infer contextual base in reference to member 'notAllowed'
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:34:17: error: cannot find 'client' in scope
                client?.urlProtocol(self, didLoad: data)
                ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:37:13: error: cannot find 'client' in scope
            client?.urlProtocolDidFinishLoading(self)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:39:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didFailWithError: error)
            ^~~~~~
[24/27] Compiling PexelsSwift PexelsSwift+API.swift
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:29:48: error: cannot find 'request' in scope
            let (response, data) = try handler(request)
                                               ^~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:82: error: cannot infer contextual base in reference to member 'notAllowed'
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:34:17: error: cannot find 'client' in scope
                client?.urlProtocol(self, didLoad: data)
                ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:37:13: error: cannot find 'client' in scope
            client?.urlProtocolDidFinishLoading(self)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:39:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didFailWithError: error)
            ^~~~~~
[25/27] Compiling PexelsSwift PexelsSwift+RateLimit.swift
[26/27] Compiling PexelsSwift PexelsSwift+Results.swift
[27/27] Compiling PexelsSwift PexelsSwift+Photos.swift
error: fatalError
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling PexelsSwift PexelsSwift.swift
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:159:19: error: cannot find 'URLRequest' in scope
        var req = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:163:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            var response: URLResponse
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:165:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                (data, response) = try await urlSession.data(for: req)
                                             ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:167:57: error: value of type 'URLSession' (aka 'AnyObject') has no member '_data'
                (data, response) = try await urlSession._data(for: req)
                                             ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
            guard let response = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            guard let response = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:178:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            guard (200...299).contains(response.statusCode) else {
                                       ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:179:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                logger.error(.httpResponse(response.statusCode))
                                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:180:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .failure(.httpResponse(response.statusCode))
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:199:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
        guard let limit = response.pexelsLimit,
                          ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:200:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
              let remaining = response.pexelsRemaining,
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:201:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
              let reset = response.pexelsReset
                          ~~~~~~~~ ^~~~~~~~~~~
[5/17] Compiling PexelsSwift PSCollection.swift
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:159:19: error: cannot find 'URLRequest' in scope
        var req = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:163:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            var response: URLResponse
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:165:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                (data, response) = try await urlSession.data(for: req)
                                             ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:167:57: error: value of type 'URLSession' (aka 'AnyObject') has no member '_data'
                (data, response) = try await urlSession._data(for: req)
                                             ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
            guard let response = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:170:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            guard let response = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:178:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            guard (200...299).contains(response.statusCode) else {
                                       ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:179:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                logger.error(.httpResponse(response.statusCode))
                                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:180:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .failure(.httpResponse(response.statusCode))
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:199:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
        guard let limit = response.pexelsLimit,
                          ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:200:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
              let remaining = response.pexelsRemaining,
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:201:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
              let reset = response.pexelsReset
                          ~~~~~~~~ ^~~~~~~~~~~
[6/18] Compiling PexelsSwift URLSession+DataForRequest.swift
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:20:29: error: cannot find type 'URLRequest' in scope
    func _data(for request: URLRequest) async throws -> (Data, URLResponse) {
                            ^~~~~~~~~~
[7/18] Compiling PexelsSwift PexelsSwift+API.swift
[8/18] Compiling PexelsSwift PexelsSwift+Videos.swift
[9/18] Compiling PexelsSwift MockURLProtocol.swift
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:29:48: error: cannot find 'request' in scope
            let (response, data) = try handler(request)
                                               ^~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:82: error: cannot infer contextual base in reference to member 'notAllowed'
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:34:17: error: cannot find 'client' in scope
                client?.urlProtocol(self, didLoad: data)
                ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:37:13: error: cannot find 'client' in scope
            client?.urlProtocolDidFinishLoading(self)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:39:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didFailWithError: error)
            ^~~~~~
[10/18] Compiling PexelsSwift PexelsSwift+Collections.swift
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:29:48: error: cannot find 'request' in scope
            let (response, data) = try handler(request)
                                               ^~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:31:82: error: cannot infer contextual base in reference to member 'notAllowed'
            client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:34:17: error: cannot find 'client' in scope
                client?.urlProtocol(self, didLoad: data)
                ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:37:13: error: cannot find 'client' in scope
            client?.urlProtocolDidFinishLoading(self)
            ^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:39:13: error: cannot find 'client' in scope
            client?.urlProtocol(self, didFailWithError: error)
            ^~~~~~
[11/21] Compiling PexelsSwift PSError.swift
[12/21] Compiling PexelsSwift Data+PrettyJSON.swift
[13/21] Compiling PexelsSwift HTTPURLResponse+.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[14/21] Compiling PexelsSwift Int+String.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/21] Emitting module PexelsSwift
/host/spi-builder-workspace/Sources/PexelsSwift/Extensions/HTTPURLResponse+.swift:10:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:13:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:17:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:21:34: error: cannot find type 'URLRequest' in scope
    static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:23:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:43:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:13: error: only protocols can inherit from 'AnyObject'
final class MockURLProtocol: URLProtocol {
            ^
/host/spi-builder-workspace/Sources/PexelsSwift/MockURLProtocol/MockURLProtocol.swift:11:30: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class MockURLProtocol: URLProtocol {
                             ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:13:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(urlSession: URLSession = .shared) {
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:15:45: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    internal init(urlSession: URLSession = .shared) {
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:26:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:39:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:45:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:52:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:56:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal typealias PSResult<T> = Result<(data: T, response: HTTPURLResponse), PSError>
                                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/PexelsSwift.swift:198:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func saveRateLimits(for response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/_Deprecated/URLSession+DataForRequest.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
[16/21] Compiling PexelsSwift PSLogLevel.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:80:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        logMessage.append("Code: \(response.statusCode),")
                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:81:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        logMessage.append("URL: \(response.url?.absoluteString ?? "Invalid URL"),")
                                  ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:82:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (200...299).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:83:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
            logMessage.append("Rate Limit: \(response.pexelsLimit?.string ?? "Fetching failed"),")
                                             ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:84:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
            logMessage.append("Remaining: \(response.pexelsRemaining?.string ?? "Fetching failed"),")
                                            ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:85:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
            logMessage.append("Reset on: \(response.pexelsReset?.description ?? "Fetching Failed")")
                                           ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:87:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            logMessage.append("Response: \(response.description)")
                                           ~~~~~~~~ ^~~~~~~~~~~
[17/21] Compiling PexelsSwift PSLogger.swift
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:77:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(_ response: HTTPURLResponse) {
                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:80:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        logMessage.append("Code: \(response.statusCode),")
                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:81:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        logMessage.append("URL: \(response.url?.absoluteString ?? "Invalid URL"),")
                                  ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:82:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (200...299).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:83:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsLimit'
            logMessage.append("Rate Limit: \(response.pexelsLimit?.string ?? "Fetching failed"),")
                                             ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:84:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsRemaining'
            logMessage.append("Remaining: \(response.pexelsRemaining?.string ?? "Fetching failed"),")
                                            ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:85:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'pexelsReset'
            logMessage.append("Reset on: \(response.pexelsReset?.description ?? "Fetching Failed")")
                                           ~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/PexelsSwift/Logger/PSLogger.swift:87:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            logMessage.append("Response: \(response.description)")
                                           ~~~~~~~~ ^~~~~~~~~~~
[18/24] Compiling PexelsSwift PSVideo.swift
[19/24] Compiling PexelsSwift PexelsSwift+QueryParameter.swift
[20/24] Compiling PexelsSwift PexelsSwift+Color.swift
[21/24] Compiling PexelsSwift PexelsSwift+Orientation+Size+Locale.swift
[22/24] Compiling PexelsSwift PexelsSwift+Photos.swift
[23/24] Compiling PexelsSwift PexelsSwift+RateLimit.swift
[24/24] Compiling PexelsSwift PexelsSwift+Results.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1