The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyJoinMastodonAPI, reference v1.0.0 (9928d1), with Swift 6.1 for Wasm on 30 May 2025 14:07:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/daprice/SwiftyJoinMastodonAPI.git
Reference: v1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/daprice/SwiftyJoinMastodonAPI
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 9928d18 Create LICENSE
Cloned https://github.com/daprice/SwiftyJoinMastodonAPI.git
Revision (git rev-parse @):
9928d18ec4223478bb57ff5bdbb50b52e3288ac8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/daprice/SwiftyJoinMastodonAPI.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/daprice/SwiftyJoinMastodonAPI.git
https://github.com/daprice/SwiftyJoinMastodonAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyJoinMastodonAPI",
  "name" : "SwiftyJoinMastodonAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyJoinMastodonAPI",
      "targets" : [
        "SwiftyJoinMastodonAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyJoinMastodonAPITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyJoinMastodonAPITests",
      "path" : "Tests/SwiftyJoinMastodonAPITests",
      "sources" : [
        "EndToEndTests.swift",
        "ReadmeSampleCodeTests.swift",
        "SwiftyJoinMastodonAPITests.swift"
      ],
      "target_dependencies" : [
        "SwiftyJoinMastodonAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyJoinMastodonAPI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyJoinMastodonAPI",
      "path" : "Sources/SwiftyJoinMastodonAPI",
      "product_memberships" : [
        "SwiftyJoinMastodonAPI"
      ],
      "sources" : [
        "API Entities/Category.swift",
        "API Entities/DailyStatistics.swift",
        "API Entities/Language.swift",
        "API Entities/Server.swift",
        "API/JoinMastodonAPI+Request.swift",
        "API/JoinMastodonAPI.swift",
        "Requests/FilterParameters.swift",
        "Requests/GetCategoriesRequest.swift",
        "Requests/GetLanguagesRequest.swift",
        "Requests/GetServersRequest.swift",
        "Requests/GetStatisticsRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling SwiftyJoinMastodonAPI Language.swift
[4/13] Compiling SwiftyJoinMastodonAPI Server.swift
[5/13] Compiling SwiftyJoinMastodonAPI JoinMastodonAPI+Request.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:87: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | 		self.baseURL = baseURL
23 | 		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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | 		self.baseURL = baseURL
23 | 		self.urlSession = urlSession
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:65:54: error: cannot find type 'URLRequest' in scope
63 | 	///
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
   |                                                      `- error: cannot find type 'URLRequest' in scope
66 | 		var urlRequest = URLRequest(url: url(for: request))
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:13: error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |             `- error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:66:20: error: cannot find 'URLRequest' in scope
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
66 | 		var urlRequest = URLRequest(url: url(for: request))
   |                    `- error: cannot find 'URLRequest' in scope
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
68 | 		request.configureURLRequest(&urlRequest)
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:79:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
77 | 	/// ```
78 | 	public func perform<R: Request>(_ request: R) async throws -> R.Response {
79 | 		let (data, _) = try await urlSession.data(for: urlRequest(for: request))
   |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
80 | 		return try Self.jsonDecoder.decode(R.Response.self, from: data)
81 | 	}
[6/13] Compiling SwiftyJoinMastodonAPI JoinMastodonAPI.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:87: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | 		self.baseURL = baseURL
23 | 		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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | 		self.baseURL = baseURL
23 | 		self.urlSession = urlSession
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:65:54: error: cannot find type 'URLRequest' in scope
63 | 	///
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
   |                                                      `- error: cannot find type 'URLRequest' in scope
66 | 		var urlRequest = URLRequest(url: url(for: request))
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:13: error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |             `- error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:66:20: error: cannot find 'URLRequest' in scope
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
66 | 		var urlRequest = URLRequest(url: url(for: request))
   |                    `- error: cannot find 'URLRequest' in scope
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
68 | 		request.configureURLRequest(&urlRequest)
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:79:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
77 | 	/// ```
78 | 	public func perform<R: Request>(_ request: R) async throws -> R.Response {
79 | 		let (data, _) = try await urlSession.data(for: urlRequest(for: request))
   |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
80 | 		return try Self.jsonDecoder.decode(R.Response.self, from: data)
81 | 	}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Compiling SwiftyJoinMastodonAPI Category.swift
[8/14] Compiling SwiftyJoinMastodonAPI DailyStatistics.swift
[9/14] Emitting module SwiftyJoinMastodonAPI
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:87: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | 		self.baseURL = baseURL
23 | 		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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | 		self.baseURL = baseURL
23 | 		self.urlSession = urlSession
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:65:54: error: cannot find type 'URLRequest' in scope
63 | 	///
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
   |                                                      `- error: cannot find type 'URLRequest' in scope
66 | 		var urlRequest = URLRequest(url: url(for: request))
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:13: error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |             `- error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetCategoriesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetLanguagesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetServersRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetStatisticsRequest.swift:28:54: error: cannot find type 'URLRequest' in scope
26 | 	public var queryItems: [URLQueryItem] { [] }
27 |
28 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
29 | 		urlRequest.httpMethod = "GET"
30 | 	}
[10/14] Compiling SwiftyJoinMastodonAPI FilterParameters.swift
[11/14] Compiling SwiftyJoinMastodonAPI GetLanguagesRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetLanguagesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
[12/14] Compiling SwiftyJoinMastodonAPI GetCategoriesRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetCategoriesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
[13/14] Compiling SwiftyJoinMastodonAPI GetServersRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetServersRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
[14/14] Compiling SwiftyJoinMastodonAPI GetStatisticsRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetStatisticsRequest.swift:28:54: error: cannot find type 'URLRequest' in scope
26 | 	public var queryItems: [URLQueryItem] { [] }
27 |
28 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
29 | 		urlRequest.httpMethod = "GET"
30 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling SwiftyJoinMastodonAPI GetServersRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetServersRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
[3/12] Compiling SwiftyJoinMastodonAPI GetLanguagesRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetLanguagesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
[4/13] Compiling SwiftyJoinMastodonAPI GetCategoriesRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetCategoriesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
[5/13] Compiling SwiftyJoinMastodonAPI FilterParameters.swift
[6/13] Compiling SwiftyJoinMastodonAPI JoinMastodonAPI+Request.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:87: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | 		self.baseURL = baseURL
23 | 		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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | 		self.baseURL = baseURL
23 | 		self.urlSession = urlSession
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:65:54: error: cannot find type 'URLRequest' in scope
63 | 	///
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
   |                                                      `- error: cannot find type 'URLRequest' in scope
66 | 		var urlRequest = URLRequest(url: url(for: request))
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:13: error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |             `- error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:66:20: error: cannot find 'URLRequest' in scope
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
66 | 		var urlRequest = URLRequest(url: url(for: request))
   |                    `- error: cannot find 'URLRequest' in scope
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
68 | 		request.configureURLRequest(&urlRequest)
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:79:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
77 | 	/// ```
78 | 	public func perform<R: Request>(_ request: R) async throws -> R.Response {
79 | 		let (data, _) = try await urlSession.data(for: urlRequest(for: request))
   |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
80 | 		return try Self.jsonDecoder.decode(R.Response.self, from: data)
81 | 	}
[7/13] Compiling SwiftyJoinMastodonAPI JoinMastodonAPI.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:87: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | 		self.baseURL = baseURL
23 | 		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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | 		self.baseURL = baseURL
23 | 		self.urlSession = urlSession
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:65:54: error: cannot find type 'URLRequest' in scope
63 | 	///
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
   |                                                      `- error: cannot find type 'URLRequest' in scope
66 | 		var urlRequest = URLRequest(url: url(for: request))
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:13: error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |             `- error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:66:20: error: cannot find 'URLRequest' in scope
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
66 | 		var urlRequest = URLRequest(url: url(for: request))
   |                    `- error: cannot find 'URLRequest' in scope
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
68 | 		request.configureURLRequest(&urlRequest)
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:79:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
77 | 	/// ```
78 | 	public func perform<R: Request>(_ request: R) async throws -> R.Response {
79 | 		let (data, _) = try await urlSession.data(for: urlRequest(for: request))
   |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
80 | 		return try Self.jsonDecoder.decode(R.Response.self, from: data)
81 | 	}
[8/13] Compiling SwiftyJoinMastodonAPI GetStatisticsRequest.swift
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetStatisticsRequest.swift:28:54: error: cannot find type 'URLRequest' in scope
26 | 	public var queryItems: [URLQueryItem] { [] }
27 |
28 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
29 | 		urlRequest.httpMethod = "GET"
30 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling SwiftyJoinMastodonAPI Category.swift
[10/13] Compiling SwiftyJoinMastodonAPI DailyStatistics.swift
[11/13] Compiling SwiftyJoinMastodonAPI Language.swift
[12/13] Compiling SwiftyJoinMastodonAPI Server.swift
[13/13] Emitting module SwiftyJoinMastodonAPI
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI+Request.swift:23:48: error: cannot find type 'URLRequest' in scope
21 | 		var queryItems: [URLQueryItem] { get }
22 | 		/// Set any properties on a URLRequest that are specific to this request.
23 | 		func configureURLRequest(_ urlRequest: inout URLRequest)
   |                                                `- error: cannot find type 'URLRequest' in scope
24 | 		/// The type to decode the response as.
25 | 		associatedtype Response: Decodable
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:87: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | 		self.baseURL = baseURL
23 | 		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/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:21:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | 	public let urlSession: URLSession
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | 		self.baseURL = baseURL
23 | 		self.urlSession = urlSession
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:65:54: error: cannot find type 'URLRequest' in scope
63 | 	///
64 | 	/// You can use this if you want to modify the `URLRequest` in some way or use it on your own instead of calling ``perform(_:)``. Otherwise, it's simpler to call ``perform(_:)`` which takes care of handling the request for you.
65 | 	public func urlRequest(for request: any Request) -> URLRequest {
   |                                                      `- error: cannot find type 'URLRequest' in scope
66 | 		var urlRequest = URLRequest(url: url(for: request))
67 | 		urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/API/JoinMastodonAPI.swift:19:13: error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
17 | 	public let baseURL: URL
18 | 	/// The URLSession instance to make requests when using ``perform(_:)``
19 | 	public let urlSession: URLSession
   |             `- error: stored property 'urlSession' of 'Sendable'-conforming class 'JoinMastodonAPI' has non-sendable type 'URLSession' (aka 'AnyObject')
20 |
21 | 	public init(baseURL: URL = URL(string: "https://api.joinmastodon.org")!, urlSession: URLSession = .shared) {
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetCategoriesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetLanguagesRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetServersRequest.swift:33:54: error: cannot find type 'URLRequest' in scope
31 | 	}
32 |
33 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
34 | 		urlRequest.httpMethod = "GET"
35 | 	}
/host/spi-builder-workspace/Sources/SwiftyJoinMastodonAPI/Requests/GetStatisticsRequest.swift:28:54: error: cannot find type 'URLRequest' in scope
26 | 	public var queryItems: [URLQueryItem] { [] }
27 |
28 | 	public func configureURLRequest(_ urlRequest: inout URLRequest) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
29 | 		urlRequest.httpMethod = "GET"
30 | 	}
BUILD FAILURE 6.1 wasm