Build Information
Failed to build PodcastAPI, reference main (ab5249), with Swift 6.4 for Wasm on 30 Sep 2026 07:10:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ListenNotes/podcast-api-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/ListenNotes/podcast-api-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ab52496 Merge pull request #2 from ListenNotes/fix/delete-playlist
Cloned https://github.com/ListenNotes/podcast-api-swift.git
Revision (git rev-parse @):
ab5249671b1c725a1cdd275351bad171883900cc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ListenNotes/podcast-api-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ListenNotes/podcast-api-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 124]
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:17:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m @discardableResult
[0;36m16 |[0;0m public func search(parameters: [String: String] = [:],
[0;36m17 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m request(path: "/search", method: "GET",
[0;36m19 |[0;0m pathNames: [], queryNames: ["q", "sort_by_date", "type", "offset", "len_min", "len_max", "episode_count_min", "episode_count_max", "update_freq_min", "update_freq_max", "genre_ids", "published_before", "published_after", "only_in", "language", "region", "ocid", "ncid", "safe_mode", "unique_podcasts", "interviews_only", "sponsored_only", "page_size"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:31:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m @discardableResult
[0;36m30 |[0;0m public func typeahead(parameters: [String: String] = [:],
[0;36m31 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m request(path: "/typeahead", method: "GET",
[0;36m33 |[0;0m pathNames: [], queryNames: ["q", "show_podcasts", "show_genres", "safe_mode"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:45:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m @discardableResult
[0;36m44 |[0;0m public func searchEpisodeTitles(parameters: [String: String] = [:],
[0;36m45 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m request(path: "/search_episode_titles", method: "GET",
[0;36m47 |[0;0m pathNames: [], queryNames: ["q", "podcast_id", "podcast_id_type"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:59:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m @discardableResult
[0;36m58 |[0;0m public func spellcheck(parameters: [String: String] = [:],
[0;36m59 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m request(path: "/spellcheck", method: "GET",
[0;36m61 |[0;0m pathNames: [], queryNames: ["q"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:73:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m @discardableResult
[0;36m72 |[0;0m public func fetchRelatedSearches(parameters: [String: String] = [:],
[0;36m73 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m74 |[0;0m request(path: "/related_searches", method: "GET",
[0;36m75 |[0;0m pathNames: [], queryNames: ["q"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:87:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m85 |[0;0m @discardableResult
[0;36m86 |[0;0m public func fetchTrendingSearches(parameters: [String: String] = [:],
[0;36m87 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m88 |[0;0m request(path: "/trending_searches", method: "GET",
[0;36m89 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:101:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m99 |[0;0m @discardableResult
[0;36m100 |[0;0m public func fetchBestPodcasts(parameters: [String: String] = [:],
[0;36m101 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m102 |[0;0m request(path: "/best_podcasts", method: "GET",
[0;36m103 |[0;0m pathNames: [], queryNames: ["genre_id", "page", "region", "publisher_region", "language", "sort", "safe_mode"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:115:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m113 |[0;0m @discardableResult
[0;36m114 |[0;0m public func fetchPodcastById(parameters: [String: String] = [:],
[0;36m115 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m116 |[0;0m request(path: "/podcasts/{id}", method: "GET",
[0;36m117 |[0;0m pathNames: ["id"], queryNames: ["next_episode_pub_date", "sort"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:129:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m127 |[0;0m @discardableResult
[0;36m128 |[0;0m public func deletePodcast(parameters: [String: String] = [:],
[0;36m129 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m130 |[0;0m request(path: "/podcasts/{id}", method: "DELETE",
[0;36m131 |[0;0m pathNames: ["id"], queryNames: ["reason"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:143:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m141 |[0;0m @discardableResult
[0;36m142 |[0;0m public func fetchEpisodeById(parameters: [String: String] = [:],
[0;36m143 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m144 |[0;0m request(path: "/episodes/{id}", method: "GET",
[0;36m145 |[0;0m pathNames: ["id"], queryNames: ["show_transcript"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:157:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m155 |[0;0m @discardableResult
[0;36m156 |[0;0m public func batchFetchEpisodes(parameters: [String: String] = [:],
[0;36m157 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m158 |[0;0m request(path: "/episodes", method: "POST",
[0;36m159 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:171:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m169 |[0;0m @discardableResult
[0;36m170 |[0;0m public func batchFetchPodcasts(parameters: [String: String] = [:],
[0;36m171 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m172 |[0;0m request(path: "/podcasts", method: "POST",
[0;36m173 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:185:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m183 |[0;0m @discardableResult
[0;36m184 |[0;0m public func fetchCuratedPodcastsListById(parameters: [String: String] = [:],
[0;36m185 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m186 |[0;0m request(path: "/curated_podcasts/{id}", method: "GET",
[0;36m187 |[0;0m pathNames: ["id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:199:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m197 |[0;0m @discardableResult
[0;36m198 |[0;0m public func fetchPodcastGenres(parameters: [String: String] = [:],
[0;36m199 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m200 |[0;0m request(path: "/genres", method: "GET",
[0;36m201 |[0;0m pathNames: [], queryNames: ["top_level_only"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:213:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m211 |[0;0m @discardableResult
[0;36m212 |[0;0m public func fetchPodcastRegions(parameters: [String: String] = [:],
[0;36m213 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m214 |[0;0m request(path: "/regions", method: "GET",
[0;36m215 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:227:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m225 |[0;0m @discardableResult
[0;36m226 |[0;0m public func fetchPodcastLanguages(parameters: [String: String] = [:],
[0;36m227 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m228 |[0;0m request(path: "/languages", method: "GET",
[0;36m229 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:241:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m239 |[0;0m @discardableResult
[0;36m240 |[0;0m public func justListen(parameters: [String: String] = [:],
[0;36m241 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m242 |[0;0m request(path: "/just_listen", method: "GET",
[0;36m243 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:255:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m253 |[0;0m @discardableResult
[0;36m254 |[0;0m public func fetchCuratedPodcastsLists(parameters: [String: String] = [:],
[0;36m255 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m256 |[0;0m request(path: "/curated_podcasts", method: "GET",
[0;36m257 |[0;0m pathNames: [], queryNames: ["page"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:269:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m267 |[0;0m @discardableResult
[0;36m268 |[0;0m public func fetchRecommendationsForPodcast(parameters: [String: String] = [:],
[0;36m269 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m270 |[0;0m request(path: "/podcasts/{id}/recommendations", method: "GET",
[0;36m271 |[0;0m pathNames: ["id"], queryNames: ["safe_mode"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:283:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m281 |[0;0m @discardableResult
[0;36m282 |[0;0m public func fetchRecommendationsForEpisode(parameters: [String: String] = [:],
[0;36m283 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m284 |[0;0m request(path: "/episodes/{id}/recommendations", method: "GET",
[0;36m285 |[0;0m pathNames: ["id"], queryNames: ["safe_mode"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:297:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m295 |[0;0m @discardableResult
[0;36m296 |[0;0m public func submitPodcast(parameters: [String: String] = [:],
[0;36m297 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m298 |[0;0m request(path: "/podcasts/submit", method: "POST",
[0;36m299 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:311:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m309 |[0;0m @discardableResult
[0;36m310 |[0;0m public func fetchPlaylistById(parameters: [String: String] = [:],
[0;36m311 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m312 |[0;0m request(path: "/playlists/{id}", method: "GET",
[0;36m313 |[0;0m pathNames: ["id"], queryNames: ["type", "last_timestamp_ms", "sort"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:325:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m323 |[0;0m @discardableResult
[0;36m324 |[0;0m public func fetchMyPlaylists(parameters: [String: String] = [:],
[0;36m325 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m326 |[0;0m request(path: "/playlists", method: "GET",
[0;36m327 |[0;0m pathNames: [], queryNames: ["sort", "page"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:339:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m337 |[0;0m @discardableResult
[0;36m338 |[0;0m public func fetchAudienceForPodcast(parameters: [String: String] = [:],
[0;36m339 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m340 |[0;0m request(path: "/podcasts/{id}/audience", method: "GET",
[0;36m341 |[0;0m pathNames: ["id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:353:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m351 |[0;0m @discardableResult
[0;36m352 |[0;0m public func fetchPodcastsByDomain(parameters: [String: String] = [:],
[0;36m353 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m354 |[0;0m request(path: "/podcasts/domains/{domain_name}", method: "GET",
[0;36m355 |[0;0m pathNames: ["domain_name"], queryNames: ["page"], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:367:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m365 |[0;0m @discardableResult
[0;36m366 |[0;0m public func createPlaylist(parameters: [String: String] = [:],
[0;36m367 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m368 |[0;0m request(path: "/playlists", method: "POST",
[0;36m369 |[0;0m pathNames: [], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:381:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m379 |[0;0m @discardableResult
[0;36m380 |[0;0m public func updatePlaylist(parameters: [String: String] = [:],
[0;36m381 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m382 |[0;0m request(path: "/playlists/{id}", method: "PUT",
[0;36m383 |[0;0m pathNames: ["id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:395:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m393 |[0;0m @discardableResult
[0;36m394 |[0;0m public func deletePlaylist(parameters: [String: String] = [:],
[0;36m395 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m396 |[0;0m request(path: "/playlists/{id}", method: "DELETE",
[0;36m397 |[0;0m pathNames: ["id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:409:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m407 |[0;0m @discardableResult
[0;36m408 |[0;0m public func addPlaylistItem(parameters: [String: String] = [:],
[0;36m409 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m410 |[0;0m request(path: "/playlists/{id}/items", method: "POST",
[0;36m411 |[0;0m pathNames: ["id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:423:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m421 |[0;0m @discardableResult
[0;36m422 |[0;0m public func deletePlaylistItem(parameters: [String: String] = [:],
[0;36m423 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m424 |[0;0m request(path: "/playlists/{id}/items/{item_id}", method: "DELETE",
[0;36m425 |[0;0m pathNames: ["id", "item_id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift:437:80: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m435 |[0;0m @discardableResult
[0;36m436 |[0;0m public func updatePlaylistItemNotes(parameters: [String: String] = [:],
[0;36m437 |[0;0m completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m438 |[0;0m request(path: "/playlists/{id}/items/{item_id}", method: "PUT",
[0;36m439 |[0;0m pathNames: ["id", "item_id"], queryNames: [], parameters: parameters, completion: completion)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiResponse.swift:9:26: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m7 |[0;0m public final class ApiResponse: Sendable {
[0;36m8 |[0;0m public let data: Data?
[0;36m9 |[0;0m public let response: [4;39mHTTPURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m public let request: URLRequest?
[0;36m11 |[0;0m public let httpError: (any Error)?
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiResponse.swift:10:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m public let data: Data?
[0;36m9 |[0;0m public let response: HTTPURLResponse?
[0;36m10 |[0;0m public let request: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m public let httpError: (any Error)?
[0;36m12 |[0;0m public let error: PodcastApiError?
/host/spi-builder-workspace/Sources/PodcastAPI/ApiResponse.swift:15:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m public var statusCode: Int? { response?.statusCode }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public init(request: [4;39mURLRequest[0;0m?, data: Data?, response: URLResponse?, httpError: (any Error)?, apiError: PodcastApiError?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m self.request = request
[0;36m17 |[0;0m self.data = data
/host/spi-builder-workspace/Sources/PodcastAPI/ApiResponse.swift:15:62: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m public var statusCode: Int? { response?.statusCode }
[0;36m14 |[0;0m
[0;36m15 |[0;0m public init(request: URLRequest?, data: Data?, response: [4;39mURLResponse[0;0m?, httpError: (any Error)?, apiError: PodcastApiError?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m self.request = request
[0;36m17 |[0;0m self.data = data
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/ApiResponse.swift:9:16: [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming class 'ApiResponse' contains non-Sendable type 'AnyObject'[0;0m
[0;36m7 |[0;0m public final class ApiResponse: Sendable {
[0;36m8 |[0;0m public let data: Data?
[0;36m9 |[0;0m public let response: HTTPURLResponse?
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming class 'ApiResponse' contains non-Sendable type 'AnyObject'[0;0m
[0;36m10 |[0;0m public let request: URLRequest?
[0;36m11 |[0;0m public let httpError: (any Error)?
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:16:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m private let apiKey: String
[0;36m15 |[0;0m private let baseURL: URL
[0;36m16 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m private let synchronousRequest: Bool
[0;36m18 |[0;0m private let lock = NSLock()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:38:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m /// Redirects are rejected, including when a custom configuration is provided.
[0;36m37 |[0;0m public init(apiKey: String, synchronousRequest: Bool = false,
[0;36m38 |[0;0m configuration: [4;39mURLSessionConfiguration[0;0m, baseURL: URL? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m self.apiKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
[0;36m40 |[0;0m self.baseURL = baseURL ?? URL(string: self.apiKey.isEmpty ? BASE_URL_TEST : BASE_URL_PROD)!
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:73:62: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m func makeRequest(path: String, method: String, pathNames: [String], queryNames: [String],
[0;36m73 |[0;0m parameters: [String: String]) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m74 |[0;0m guard ["http", "https"].contains(baseURL.scheme), baseURL.host != nil,
[0;36m75 |[0;0m baseURL.user == nil, baseURL.password == nil, baseURL.query == nil, baseURL.fragment == nil else {
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:132:106: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m130 |[0;0m @discardableResult
[0;36m131 |[0;0m func request(path: String, method: String, pathNames: [String], queryNames: [String],
[0;36m132 |[0;0m parameters: [String: String], completion: @escaping @Sendable (ApiResponse) -> Void) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m133 |[0;0m let request: URLRequest
[0;36m134 |[0;0m do {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:155:51: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m153 |[0;0m }
[0;36m154 |[0;0m
[0;36m155 |[0;0m private final class NoRedirectDelegate: NSObject, [4;39mURLSessionTaskDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m156 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask,
[0;36m157 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest,
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:157:95: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m155 |[0;0m private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate {
[0;36m156 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask,
[0;36m157 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m158 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
[0;36m159 |[0;0m completionHandler(nil)
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:158:61: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m156 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask,
[0;36m157 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest,
[0;36m158 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m159 |[0;0m completionHandler(nil)
[0;36m160 |[0;0m }
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:156:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m154 |[0;0m
[0;36m155 |[0;0m private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate {
[0;36m156 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m157 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest,
[0;36m158 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:156:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m154 |[0;0m
[0;36m155 |[0;0m private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate {
[0;36m156 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m157 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest,
[0;36m158 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift:157:58: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m155 |[0;0m private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate {
[0;36m156 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask,
[0;36m157 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m, newRequest request: URLRequest,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m158 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
[0;36m159 |[0;0m completionHandler(nil)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/PodcastAPI/ApiMethods.swift /host/spi-builder-workspace/Sources/PodcastAPI/ApiResponse.swift /host/spi-builder-workspace/Sources/PodcastAPI/PodcastAPI.swift /host/spi-builder-workspace/Sources/PodcastAPI/PodcastApiError.swift /host/spi-builder-workspace/Sources/PodcastAPI/SwiftyJSON.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PodcastAPI -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/PodcastAPI_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/Modules/PodcastAPI.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/Modules/PodcastAPI.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/PodcastAPI-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/PodcastAPI-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/PodcastAPI-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PodcastAPI.build/Debug-webassembly-wasm32/PodcastAPI-t.build/Objects-normal/wasm32/Modules/PodcastAPI.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm