Build Information
Failed to build ATProtoKit, reference 0.31.2 (504882
), with Swift 6.1 for Wasm on 22 Aug 2025 11:14:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[784/807] Compiling ATProtoKit UserSessionRegistry.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[785/807] Compiling ATProtoKit ATProtoKit.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[786/807] Compiling ATProtoKit ATProtoError.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[787/807] Compiling ATProtoKit ATEventStreamConfiguration.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[788/807] Compiling ATProtoKit ATLabelDataStreamModels.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[789/807] Compiling ATProtoKit FirehoseEventRepresentable.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[790/807] Compiling ATProtoKit ATRecordViewProtocol.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[791/807] Compiling ATProtoKit ATRecordViewProtocolExtensions.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[792/807] Compiling ATProtoKit SessionToken.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[793/807] Compiling ATProtoKit ATUnion.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[794/807] Compiling ATProtoKit ATUnionProtocol.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[795/807] Compiling ATProtoKit Lexicons.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[796/807] Compiling ATProtoKit AppBskyActorDefs.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[797/807] Compiling ATProtoKit AppBskyActorGetPreferences.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[798/807] Compiling ATProtoKit AppBskyActorGetProfile.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[799/807] Compiling ATProtoKit AppBskyActorGetProfiles.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[800/807] Compiling ATProtoKit AppBskyActorGetSuggestions.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[801/807] Compiling ATProtoKit AppBskyActorProfile.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[802/807] Compiling ATProtoKit AppBskyActorPutPreferences.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[803/807] Compiling ATProtoKit AppBskyActorSearchActors.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[804/807] Compiling ATProtoKit AppBskyActorSearchActorsTypeahead.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[805/807] Compiling ATProtoKit AppBskyActorStatus.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[806/807] Compiling ATProtoKit AppBskyLexicon.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
[807/807] Compiling ATProtoKit AppBskyEmbedDefs.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift:69:45: error: cannot find type 'URLRequest' in scope
67 | ///
68 | /// - Throws: An error if the request fails or cannot be processed.
69 | typealias ResponseProvider = @Sendable (URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
70 |
71 | /// Creates an a new account for the user.
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:54:24: error: cannot find type 'URLSessionDelegate' in scope
52 | public init(
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
55 | delegateQueue: OperationQueue? = nil,
56 | responseProvider: ATRequestExecutor? = nil,
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/APIClientConfiguration.swift:55:24: error: cannot find type 'OperationQueue' in scope
53 | urlSessionConfiguration: URLSessionConfiguration? = nil,
54 | delegate: (any URLSessionDelegate)? = nil,
55 | delegateQueue: OperationQueue? = nil,
| `- error: cannot find type 'OperationQueue' in scope
56 | responseProvider: ATRequestExecutor? = nil,
57 | logger: SessionDebuggable? = nil
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:180:145: error: reference to member 'default' cannot be resolved without a contextual type
178 |
179 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
180 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
181 |
182 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:308:145: error: reference to member 'default' cannot be resolved without a contextual type
306 |
307 | var finalConfiguration = apiClientConfiguration ?? APIClientConfiguration()
308 | finalConfiguration.urlSessionConfiguration = apiClientConfiguration?.urlSessionConfiguration ?? sessionConfiguration?.configuration ?? .default
| `- error: reference to member 'default' cannot be resolved without a contextual type
309 |
310 | self.apiClientService = APIClientService(
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:47:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// The configuration object that defines the behaviours and polices for a URL session in the
46 | /// event stream.
47 | var urlSession: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:50:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// The configuration object that defines behavior and policies for a URL session.
50 | var urlSessionConfiguration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:53:24: error: cannot find type 'URLSessionWebSocketTask' in scope
51 |
52 | /// The URL session task that communicates over the WebSockets protocol standard.
53 | var webSocketTask: URLSessionWebSocketTask { get }
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
54 |
55 | /// Creates a new instance to prepare for the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:70:25: error: cannot find type 'URLSessionWebSocketTask' in scope
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
70 | webSocketTask: URLSessionWebSocketTask) async throws
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
71 |
72 | /// Connects the client to the event stream.
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:69:129: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | /// - webSocketTask: The URL session task that communicates over the WebSockets
68 | /// protocol standard.
69 | init(relayURL: String, namespacedIdentifiertURL: String, cursor: Int64?, sequencePosition: Int64?, urlSessionConfiguration: URLSessionConfiguration,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | webSocketTask: URLSessionWebSocketTask) async throws
71 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Common/ATEventStreamConfiguration/ATEventStreamConfiguration.swift:95:37: error: cannot find type 'URLSessionWebSocketTask' in scope
93 | /// - closeCode: A code that indicates why the event stream connection closed.
94 | /// - reason: The reason why the client disconnected from the server.
95 | func disconnect(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
96 |
97 | /// Attempts to reconnect the client to the event stream after a disconnect.
BUILD FAILURE 6.1 wasm