The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftyGPT with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.37.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/antonio-war/SwiftyGPT.git
Reference: 3.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/antonio-war/SwiftyGPT
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 7bf281f Merge branch 'release/3.0.0'
Cloned https://github.com/antonio-war/SwiftyGPT.git
Revision (git rev-parse @):
7bf281fb4b854e6ac3ad22ec8675b2e5d66f880c
SUCCESS checkout https://github.com/antonio-war/SwiftyGPT.git at 3.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/antonio-war/SwiftyGPT.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[1/5] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingResponse.swift
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingResponse.swift:11:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var underlyingResponse: HTTPURLResponse
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingResponse.swift:15:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        return underlyingResponse.statusCode
               ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingMethod.swift
[3/5] Emitting module SwiftyGPTNetworking
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = URLSession.shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = URLSession.shared) {
                                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:17:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:19:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest { get throws }
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:10:15: error: type 'SwiftyGPTNetworkingClient' does not conform to protocol 'Equatable'
public struct SwiftyGPTNetworkingClient: Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:17: note: stored property type 'URLSession' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'SwiftyGPTNetworkingClient' to 'Equatable'
    private let session: URLSession
                ^
Swift.==:1:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(SwiftyGPTNetworkingClient, SwiftyGPTNetworkingClient) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:32:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingResponse.swift:11:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var underlyingResponse: HTTPURLResponse
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[4/5] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingClient.swift
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = URLSession.shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = URLSession.shared) {
                                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:17:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:19:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest { get throws }
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:10:15: error: type 'SwiftyGPTNetworkingClient' does not conform to protocol 'Equatable'
public struct SwiftyGPTNetworkingClient: Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:17: note: stored property type 'URLSession' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'SwiftyGPTNetworkingClient' to 'Equatable'
    private let session: URLSession
                ^
Swift.==:1:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(SwiftyGPTNetworkingClient, SwiftyGPTNetworkingClient) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:32:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:18:60: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (body, underlyingResponse) = try await session.data(for: request.underlyingRequest)
                                                   ~~~~~~~ ^~~~
[5/5] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingRequest.swift
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:17:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:19:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest { get throws }
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:32:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:34:31: error: cannot find 'URLRequest' in scope
            var request = try URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
                              ^~~~~~~~~~
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module SwiftyGPTNetworking
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = URLSession.shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = URLSession.shared) {
                                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:17:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:19:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest { get throws }
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:10:15: error: type 'SwiftyGPTNetworkingClient' does not conform to protocol 'Equatable'
public struct SwiftyGPTNetworkingClient: Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:17: note: stored property type 'URLSession' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'SwiftyGPTNetworkingClient' to 'Equatable'
    private let session: URLSession
                ^
Swift.==:1:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(SwiftyGPTNetworkingClient, SwiftyGPTNetworkingClient) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:32:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingResponse.swift:11:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var underlyingResponse: HTTPURLResponse
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[2/4] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingResponse.swift
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingResponse.swift:11:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var underlyingResponse: HTTPURLResponse
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingResponse.swift:15:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        return underlyingResponse.statusCode
               ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[3/4] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingClient.swift
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = URLSession.shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:13:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = URLSession.shared) {
                                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:17:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:19:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest { get throws }
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:10:15: error: type 'SwiftyGPTNetworkingClient' does not conform to protocol 'Equatable'
public struct SwiftyGPTNetworkingClient: Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:11:17: note: stored property type 'URLSession' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'SwiftyGPTNetworkingClient' to 'Equatable'
    private let session: URLSession
                ^
Swift.==:1:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
                       ^
Swift.FloatingPoint:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'FloatingPoint'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.BinaryInteger:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'BinaryInteger'
    public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
                       ^
Swift._Pointer:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift._Pointer:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_Pointer'
    @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
                                  ^
Swift.Strideable:3:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'Strideable'
    @inlinable public static func == (x: Self, y: Self) -> Bool
                                  ^
Swift.StringProtocol:2:35: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'StringProtocol'
    @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
                                  ^
Swift.SIMD:4:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'SIMD'
    public static func == (a: Self, b: Self) -> Bool
                       ^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to 'AttributedStringProtocol'
    public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
                       ^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '__BridgedNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'SwiftyGPTNetworkingClient' conformed to '_BridgedStoredNSError'
    public static func == (lhs: Self, rhs: Self) -> Bool
                       ^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(SwiftyGPTNetworkingClient, SwiftyGPTNetworkingClient) -> Bool'
    static func == (lhs: Self, rhs: Self) -> Bool
                ^
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:32:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Clients/SwiftyGPTNetworkingClient.swift:18:60: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (body, underlyingResponse) = try await session.data(for: request.underlyingRequest)
                                                   ~~~~~~~ ^~~~
[4/4] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingRequest.swift
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:17:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:19:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest { get throws }
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:32:28: error: cannot find type 'URLRequest' in scope
    var underlyingRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyGPTNetworking/Models/SwiftyGPTNetworkingRequest.swift:34:31: error: cannot find 'URLRequest' in scope
            var request = try URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
                              ^~~~~~~~~~
BUILD FAILURE 5.8 linux