This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build MastodonSwift with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
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:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/Swiftodon/Mastodon.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/36] Emitting module MastodonSwift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
[2/40] Compiling MastodonSwift Reports.swift
[3/40] Compiling MastodonSwift Search.swift
[4/40] Compiling MastodonSwift Statuses.swift
[5/40] Compiling MastodonSwift Timelines.swift
[6/40] Compiling MastodonSwift AccessToken.swift
[7/40] Compiling MastodonSwift Account.swift
[8/40] Compiling MastodonSwift App.swift
[9/40] Compiling MastodonSwift Application.swift
[10/40] Compiling MastodonSwift Attachment.swift
[11/40] Compiling MastodonSwift Card.swift
[12/40] Compiling MastodonSwift Context.swift
[13/40] Compiling MastodonSwift Error.swift
[14/40] Compiling MastodonSwift Instance.swift
[15/40] Compiling MastodonSwift Mention.swift
[16/40] Compiling MastodonSwift MastodonClient.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[17/40] Compiling MastodonSwift MultipartFormData.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[18/40] Compiling MastodonSwift TargetType.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[19/40] Compiling MastodonSwift Accounts.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[20/40] Compiling MastodonSwift Apps.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[21/40] Compiling MastodonSwift Notification.swift
[22/40] Compiling MastodonSwift Relationship.swift
[23/40] Compiling MastodonSwift Report.swift
[24/40] Compiling MastodonSwift Result.swift
[25/40] Compiling MastodonSwift Status.swift
[26/40] Compiling MastodonSwift Blocks.swift
[27/40] Compiling MastodonSwift Favourites.swift
[28/40] Compiling MastodonSwift FollowRequests.swift
[29/40] Compiling MastodonSwift Follows.swift
[30/40] Compiling MastodonSwift Instances.swift
[31/40] Compiling MastodonSwift Tag.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[32/40] Compiling MastodonSwift Primitive+AsString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[33/40] Compiling MastodonSwift String+AsURL.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[34/40] Compiling MastodonSwift URL+OptionalString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[35/40] Compiling MastodonSwift MastodonClient+Convenience.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[36/40] Compiling MastodonSwift Mastodon.swift
[37/40] Compiling MastodonSwift Media.swift
[38/40] Compiling MastodonSwift Mutes.swift
[39/40] Compiling MastodonSwift Notifications.swift
[40/40] Compiling MastodonSwift OAuth.swift
[0/1] Planning build
Building for debugging...
[1/10] Compiling MastodonSwift String+AsURL.swift
[2/10] Compiling MastodonSwift URL+OptionalString.swift
[3/11] Compiling MastodonSwift Tag.swift
[4/11] Compiling MastodonSwift Primitive+AsString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Emitting module MastodonSwift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
[6/13] Compiling MastodonSwift MultipartFormData.swift
[7/13] Compiling MastodonSwift MastodonClient.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/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.
    let urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: URL, urlSession: URLSession = .shared) {
                                                       ~^~~~~~
/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(baseURL: URL, urlSession: URLSession, token: Token) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[8/13] Compiling MastodonSwift TargetType.swift
[9/13] Compiling MastodonSwift Accounts.swift
[10/14] Compiling MastodonSwift MastodonClient+Convenience.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
    static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
    public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await urlSession.data(for: request)
                                  ~~~~~~~~~~ ^~~~
[11/18] Compiling MastodonSwift Context.swift
[12/19] Compiling MastodonSwift Application.swift
[13/20] Compiling MastodonSwift Timelines.swift
[14/21] Compiling MastodonSwift Apps.swift
[15/22] Compiling MastodonSwift Account.swift
[16/23] Compiling MastodonSwift Attachment.swift
[17/24] Compiling MastodonSwift Search.swift
[18/24] Compiling MastodonSwift FollowRequests.swift
[19/26] Compiling MastodonSwift Media.swift
[20/26] Compiling MastodonSwift Status.swift
[21/27] Compiling MastodonSwift Card.swift
[22/29] Compiling MastodonSwift Reports.swift
[23/30] Compiling MastodonSwift Instances.swift
[24/31] Compiling MastodonSwift Favourites.swift
[25/31] Compiling MastodonSwift Blocks.swift
[26/31] Compiling MastodonSwift Follows.swift
[27/31] Compiling MastodonSwift Mastodon.swift
[28/31] Compiling MastodonSwift Mutes.swift
[29/31] Compiling MastodonSwift OAuth.swift
[30/31] Compiling MastodonSwift Notifications.swift
[31/31] Compiling MastodonSwift Statuses.swift
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.