Build Information
Failed to build TMDB, reference main (cad88f
), with Swift 6.1 for Wasm on 11 Aug 2025 20:22:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igorcamilo/tmdb-swift.git
Reference: main
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/igorcamilo/tmdb-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cad88f3 Add Sonar and more data (#20)
Cloned https://github.com/igorcamilo/tmdb-swift.git
Revision (git rev-parse @):
cad88f358b0b81fd0b5417f004b2a8057c6000e6
SUCCESS checkout https://github.com/igorcamilo/tmdb-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/igorcamilo/tmdb-swift.git
https://github.com/igorcamilo/tmdb-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "TMDB",
"name" : "TMDB",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "TMDB",
"targets" : [
"TMDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TMDBTests",
"module_type" : "SwiftTarget",
"name" : "TMDBTests",
"path" : "Tests/TMDBTests",
"sources" : [
"Configuration/ConfigurationTests.swift",
"Configuration/Data+Configuration.swift",
"Configuration/ImagesTests.swift",
"Configuration/TMDBClientConfigurationTests.swift",
"CoverageTests.swift",
"Data+Page.swift",
"Data+TMDBError.swift",
"Movies/Data+Movie1.swift",
"Movies/Data+Movie2.swift",
"Movies/Data+MovieDetailsComplete.swift",
"Movies/Data+MovieDetailsMinimal.swift",
"Movies/Data+NowPlayingMovies.swift",
"Movies/Data+PopularMovies.swift",
"Movies/Data+SimilarMovies.swift",
"Movies/Data+TopRatedMovies.swift",
"Movies/Data+TrendingMovies.swift",
"Movies/Data+UpcomingMovies.swift",
"Movies/MovieDetailsTests.swift",
"Movies/MovieTests.swift",
"Movies/TMDBClientMovieTests.swift",
"PageTests.swift",
"TMDBErrorTests.swift",
"TVShows/Data+AiringTodayTVShows.swift",
"TVShows/Data+OnTheAirTVShows.swift",
"TVShows/Data+PopularTVShows.swift",
"TVShows/Data+SimilarTVShows.swift",
"TVShows/Data+TVShow1.swift",
"TVShows/Data+TVShow2.swift",
"TVShows/Data+TVShowDetailsComplete.swift",
"TVShows/Data+TVShowDetailsMinimal.swift",
"TVShows/Data+TopRatedTVShows.swift",
"TVShows/Data+TrendingTVShows.swift",
"TVShows/TMDBClientTVShowTests.swift",
"TVShows/TVShowDetailsTests.swift",
"TVShows/TVShowTests.swift",
"TestStorage.swift"
],
"target_dependencies" : [
"TMDB"
],
"type" : "test"
},
{
"c99name" : "TMDB",
"module_type" : "SwiftTarget",
"name" : "TMDB",
"path" : "Sources/TMDB",
"product_memberships" : [
"TMDB"
],
"sources" : [
"BackdropPath.swift",
"Configuration/BackdropSize.swift",
"Configuration/Configuration.swift",
"Configuration/Images.swift",
"Configuration/PosterSize.swift",
"Configuration/TMDBClient+Configuration.swift",
"Country.swift",
"Genre.swift",
"ImagePath.swift",
"Keyword.swift",
"Language.swift",
"Movies/Movie.swift",
"Movies/MovieCollection.swift",
"Movies/MovieDetails.swift",
"Movies/MovieDetailsAppendingOptions.swift",
"Movies/MovieList.swift",
"Movies/TMDBClient+Movies.swift",
"Page.swift",
"PosterPath.swift",
"ProductionCompany.swift",
"Response.swift",
"TMDBClient.swift",
"TMDBClientError.swift",
"TMDBError.swift",
"TVShows/TMDBClient+TVShows.swift",
"TVShows/TVShow.swift",
"TVShows/TVShowDetails.swift",
"TVShows/TVShowDetailsAppendingOptions.swift",
"TVShows/TVShowList.swift",
"TrendingTimeWindow.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/30] Compiling TMDB PosterSize.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[4/30] Compiling TMDB TMDBClient+Configuration.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[5/30] Compiling TMDB Country.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[6/30] Compiling TMDB Genre.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[7/33] Compiling TMDB TVShowDetailsAppendingOptions.swift
[8/33] Compiling TMDB TVShowList.swift
[9/33] Compiling TMDB TrendingTimeWindow.swift
[10/33] Compiling TMDB BackdropPath.swift
[11/33] Compiling TMDB BackdropSize.swift
[12/33] Compiling TMDB Configuration.swift
[13/33] Compiling TMDB Images.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/33] Emitting module TMDB
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
[15/33] Compiling TMDB TMDBClient+TVShows.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[16/33] Compiling TMDB TVShow.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[17/33] Compiling TMDB TVShowDetails.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[18/33] Compiling TMDB ImagePath.swift
[19/33] Compiling TMDB Keyword.swift
[20/33] Compiling TMDB Language.swift
[21/33] Compiling TMDB Movie.swift
[22/33] Compiling TMDB Response.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[23/33] Compiling TMDB TMDBClient.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[24/33] Compiling TMDB TMDBClientError.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[25/33] Compiling TMDB TMDBError.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[26/33] Compiling TMDB TMDBClient+Movies.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[27/33] Compiling TMDB Page.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[28/33] Compiling TMDB PosterPath.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[29/33] Compiling TMDB ProductionCompany.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[30/33] Compiling TMDB MovieCollection.swift
[31/33] Compiling TMDB MovieDetails.swift
[32/33] Compiling TMDB MovieDetailsAppendingOptions.swift
[33/33] Compiling TMDB MovieList.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/29] Compiling TMDB TMDBClient+TVShows.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[3/29] Compiling TMDB TVShow.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[4/29] Compiling TMDB TVShowDetails.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[5/32] Compiling TMDB Response.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[6/32] Compiling TMDB TMDBClient.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[7/32] Compiling TMDB TMDBClientError.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[8/32] Compiling TMDB TMDBError.swift
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/Response.swift:23:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
21 | ) {
22 | self.data = response.0
23 | self.statusCode = (response.1 as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | }
25 | }
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:36:22: error: cannot find 'URLRequest' in scope
34 | throw TMDBClientError.invalidURL(components)
35 | }
36 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 | urlRequest.allHTTPHeaderFields = [
38 | "Accept": "application/json",
[9/32] Compiling TMDB TMDBClient+Movies.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[10/32] Compiling TMDB Page.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[11/32] Compiling TMDB PosterPath.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[12/32] Compiling TMDB ProductionCompany.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/32] Emitting module TMDB
/host/spi-builder-workspace/Sources/TMDB/Response.swift:20:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 | public init(
20 | _ response: (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | ) {
22 | self.data = response.0
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
[14/32] Compiling TMDB BackdropPath.swift
[15/32] Compiling TMDB BackdropSize.swift
[16/32] Compiling TMDB Configuration.swift
[17/32] Compiling TMDB Images.swift
[18/32] Compiling TMDB ImagePath.swift
[19/32] Compiling TMDB Keyword.swift
[20/32] Compiling TMDB Language.swift
[21/32] Compiling TMDB Movie.swift
[22/32] Compiling TMDB TVShowDetailsAppendingOptions.swift
[23/32] Compiling TMDB TVShowList.swift
[24/32] Compiling TMDB TrendingTimeWindow.swift
[25/32] Compiling TMDB PosterSize.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[26/32] Compiling TMDB TMDBClient+Configuration.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[27/32] Compiling TMDB Country.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[28/32] Compiling TMDB Genre.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:28:15: error: cannot find type 'URLRequest' in scope
26 | relativePath: String,
27 | queryItems: [URLQueryItem]? = nil
28 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | let baseURLString = "https://api.themoviedb.org/3/"
30 | var components = URLComponents(string: baseURLString)!
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:44:48: error: cannot find type 'URLRequest' in scope
42 | }
43 |
44 | public typealias PerformRequest = @Sendable (URLRequest) async throws -> Response
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
[29/32] Compiling TMDB MovieCollection.swift
[30/32] Compiling TMDB MovieDetails.swift
[31/32] Compiling TMDB MovieDetailsAppendingOptions.swift
[32/32] Compiling TMDB MovieList.swift
BUILD FAILURE 6.1 wasm