The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MastodonSwift, reference 2.1.2 (26d970), with Swift 6.2 for Android on 19 Jun 2025 23:43:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Swiftodon/Mastodon.swift.git
Reference: 2.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Swiftodon/Mastodon.swift
 * tag               2.1.2      -> FETCH_HEAD
HEAD is now at 26d970a Merge pull request #34 from Swiftodon/fix/Status.url-optional
Cloned https://github.com/Swiftodon/Mastodon.swift.git
Revision (git rev-parse @):
26d970a92d31cbb0b797f8031746e07f656aee2b
SUCCESS checkout https://github.com/Swiftodon/Mastodon.swift.git at 2.1.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Swiftodon/Mastodon.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/38] Compiling MastodonSwift Blocks.swift
[4/38] Compiling MastodonSwift Favourites.swift
[5/38] Compiling MastodonSwift FollowRequests.swift
[6/38] Compiling MastodonSwift Follows.swift
[7/38] Compiling MastodonSwift Instances.swift
[8/38] Compiling MastodonSwift Tag.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[9/38] Compiling MastodonSwift Primitive+AsString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[10/38] Compiling MastodonSwift String+AsURL.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[11/38] Compiling MastodonSwift URL+OptionalString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[12/38] Compiling MastodonSwift MastodonClient+Convenience.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/42] Compiling MastodonSwift AccessToken.swift
[14/42] Compiling MastodonSwift Account.swift
[15/42] Compiling MastodonSwift App.swift
[16/42] Compiling MastodonSwift Application.swift
[17/42] Compiling MastodonSwift Attachment.swift
[18/42] Emitting module MastodonSwift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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
[19/42] Compiling MastodonSwift Mastodon.swift
[20/42] Compiling MastodonSwift Media.swift
[21/42] Compiling MastodonSwift Mutes.swift
[22/42] Compiling MastodonSwift Notifications.swift
[23/42] Compiling MastodonSwift OAuth.swift
[24/42] Compiling MastodonSwift Card.swift
[25/42] Compiling MastodonSwift Context.swift
[26/42] Compiling MastodonSwift Error.swift
[27/42] Compiling MastodonSwift Instance.swift
[28/42] Compiling MastodonSwift Mention.swift
[29/42] Compiling MastodonSwift Notification.swift
[30/42] Compiling MastodonSwift Relationship.swift
[31/42] Compiling MastodonSwift Report.swift
[32/42] Compiling MastodonSwift Result.swift
[33/42] Compiling MastodonSwift Status.swift
[34/42] Compiling MastodonSwift MastodonClient.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[35/42] Compiling MastodonSwift MultipartFormData.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[36/42] Compiling MastodonSwift TargetType.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[37/42] Compiling MastodonSwift Accounts.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[38/42] Compiling MastodonSwift Apps.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[39/42] Compiling MastodonSwift Reports.swift
[40/42] Compiling MastodonSwift Search.swift
[41/42] Compiling MastodonSwift Statuses.swift
[42/42] Compiling MastodonSwift Timelines.swift
BUILD FAILURE 6.2 android