Build Information
Failed to build podcast-feed-maker-vapor, reference main (9d15ab), with Swift 6.3 for Wasm on 18 Apr 2026 17:03:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[155/1096] Compiling PodcastFeedMaker NetworkValidator.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[156/1096] Compiling PodcastFeedMaker PodcastFeedEngine.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[157/1096] Compiling PodcastFeedMaker FeedGenerator+Podcast.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[158/1096] Compiling PodcastFeedMaker FeedGenerator+RSS.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[159/1096] Compiling PodcastFeedMaker FeedGenerator.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[160/1096] Compiling PodcastFeedMaker GeneratorError.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[161/1096] Compiling PodcastFeedMaker NamespaceResolver.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[162/1096] Compiling PodcastFeedMaker StreamingFeedGenerator.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[163/1096] Compiling PodcastFeedMaker XMLBuilder.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[164/1096] Compiling PodcastFeedMaker AlternateEnclosure.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[165/1096] Compiling PodcastFeedMaker AtomLink.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:436:23: error: cannot find 'URLRequest' in scope
434 | from url: URL, byteCount: Int
435 | ) async throws -> Data {
436 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
437 | request.setValue(
438 | "bytes=0-\(byteCount - 1)",
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator+MediaVerification.swift:442:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
440 | request.timeoutInterval = timeout
441 |
442 | let (data, _) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
443 |
444 | if data.count > byteCount {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// The timeout interval per request, in seconds.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: value of type '_' expected to be instance of class or class-constrained type
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:59:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - maxConcurrency: Maximum concurrent requests. Defaults to `5`.
58 | public init(
59 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | timeout: TimeInterval = 10,
61 | maxConcurrency: Int = 5
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:290:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |
289 | private func validateContentType(
290 | _ response: HTTPURLResponse, entry: URLEntry
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:44:9: error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
42 |
43 | /// The URL session used for HEAD requests.
44 | let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'NetworkValidator' has non-Sendable type 'AnyObject'
45 |
46 | /// The timeout interval per request, in seconds.
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:221:23: error: cannot find 'URLRequest' in scope
219 |
220 | private func checkSingleURL(_ entry: URLEntry) async -> [ValidationResult] {
221 | var request = URLRequest(url: entry.url)
| `- error: cannot find 'URLRequest' in scope
222 | request.httpMethod = "HEAD"
223 | request.timeoutInterval = timeout
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:226:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
224 |
225 | do {
226 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
227 |
228 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:293:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
291 | ) -> [ValidationResult] {
292 | guard let expectedType = entry.expectedType,
293 | let contentType = response.value(forHTTPHeaderField: "Content-Type")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
294 | else { return [] }
295 |
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/NetworkValidator.swift:298:38: error: cannot infer contextual base in reference to member 'whitespaces'
296 | let actualBase =
297 | contentType.components(separatedBy: ";").first?
298 | .trimmingCharacters(in: .whitespaces) ?? contentType
| `- error: cannot infer contextual base in reference to member 'whitespaces'
299 |
300 | if actualBase.lowercased() != expectedType.lowercased() {
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:154:32: error: value of type '_' expected to be instance of class or class-constrained type
152 | public func validateNetwork(
153 | _ feed: PodcastFeed,
154 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
155 | ) async throws -> [ValidationResult] {
156 | try await NetworkValidator(session: session).checkAllURLs(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: value of type '_' expected to be instance of class or class-constrained type
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:172:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
170 | public func verifyMediaTypes(
171 | _ feed: PodcastFeed,
172 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 | ) async throws -> [ValidationResult] {
174 | try await NetworkValidator(session: session).verifyMediaTypes(feed)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Engine/PodcastFeedEngine.swift:191:32: error: value of type '_' expected to be instance of class or class-constrained type
189 | _ feed: PodcastFeed,
190 | for platform: ValidationPlatform,
191 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
192 | ) async throws -> [ValidationResult] {
193 | try await NetworkValidator(session: session)
[165/1096] Compiling KeccakSponge.c
[166/1096] Compiling KeccakHash.c
[168/1096] Emitting module InternalCollectionsUtilities
[169/1096] Compiling PodcastFeedMaker PodcastFeed.swift
[170/1096] Compiling PodcastFeedMaker PodcastGuid.swift
[171/1096] Compiling PodcastFeedMaker PodcastImage.swift
[172/1096] Compiling PodcastFeedMaker PodcastImages.swift
[173/1096] Compiling PodcastFeedMaker PodcastIntegrity.swift
[174/1096] Compiling PodcastFeedMaker PodcastLicense.swift
[175/1096] Compiling PodcastFeedMaker PodcastLiveItem.swift
[176/1096] Compiling PodcastFeedMaker PodcastLocation.swift
[177/1096] Compiling PodcastFeedMaker PodcastMedium.swift
[178/1096] Compiling PodcastFeedMaker PodcastNamespace.swift
[179/1096] Compiling PodcastFeedMaker PodcastPerson.swift
[180/1096] Compiling PodcastFeedMaker PodcastPublisher.swift
[181/1096] Compiling PodcastFeedMaker PodcastSeason.swift
[182/1096] Compiling PodcastFeedMaker PodcastSource.swift
[183/1096] Compiling PodcastFeedMaker PodcastTxt.swift
[184/1096] Compiling PodcastFeedMaker UnknownElement.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[185/1096] Compiling PodcastFeedMaker UpdateFrequency.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[186/1096] Compiling PodcastFeedMaker ValidationPlatform.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[187/1096] Compiling PodcastFeedMaker OPMLDocument.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[188/1096] Compiling PodcastFeedMaker OPMLFeedConverter.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[189/1096] Compiling PodcastFeedMaker OPMLGenerator.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[190/1096] Compiling PodcastFeedMaker OPMLHead.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[191/1096] Compiling PodcastFeedMaker OPMLOutline.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[192/1096] Compiling PodcastFeedMaker OPMLParser.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[193/1096] Compiling PodcastFeedMaker OPMLValidator.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[194/1096] Compiling PodcastFeedMaker DateParser.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[195/1096] Compiling PodcastFeedMaker FeedParser.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[196/1096] Compiling PodcastFeedMaker FeedParserDelegate+Helpers.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[197/1096] Compiling PodcastFeedMaker FeedParserDelegate+Podcast.swift
/host/spi-builder-workspace/.build/checkouts/podcast-feed-maker/Sources/PodcastFeedMaker/Parser/FeedParser.swift:96:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
94 | } else {
95 | do {
96 | let (fetchedData, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
97 | from: url
98 | )
[197/1096] Compiling CVaporBcrypt blf.c
[199/1096] Compiling Tracing TracingTime.swift
[214/1096] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[214/1096] Compiling CVaporBcrypt bcrypt.c
[216/1096] Compiling Tracing TracerProtocol.swift
[217/1096] Emitting module Tracing
[217/1096] Compiling CSystem shims.c
[219/1096] Compiling UnixSignals UnixSignal.swift
[220/1096] Compiling UnixSignals UnixSignalsSequence.swift
[221/1096] Emitting module UnixSignals
[222/1097] Compiling Logging LogHandler.swift
[223/1097] Emitting module Logging
[224/1097] Compiling Logging Logging.swift
[225/1122] Compiling CNIOWindows shim.c
[228/1129] Compiling Tracing Tracer.swift
[229/1129] Compiling Tracing TracerProtocol+Legacy.swift
[229/1129] Compiling CNIOWindows WSAStartup.c
[230/1129] Compiling CNIOWASI CNIOWASI.c
[232/1135] Compiling SystemPackage FileHelpers.swift
[233/1135] Compiling SystemPackage FileOperations.swift
[234/1135] Compiling SystemPackage FilePath.swift
[235/1135] Compiling SystemPackage FilePathWindows.swift
[236/1135] Compiling SystemPackage FilePermissions.swift
[237/1135] Compiling SystemPackage FilePathComponentView.swift
[238/1135] Compiling SystemPackage FilePathComponents.swift
[239/1135] Compiling SystemPackage FilePathSyntax.swift
[240/1135] Compiling SystemPackage FilePathTemp.swift
[241/1135] Compiling SystemPackage FilePathTempPosix.swift
[242/1136] Compiling CNIOSHA1 c_nio_sha1.c
[243/1136] Compiling CNIOPosix event_loop_id.c
[245/1136] Compiling Tracing NoOpTracer.swift
[246/1136] Compiling Tracing SpanProtocol.swift
[248/1185] Compiling _RopeModule BigString+Append.swift
[249/1185] Compiling _RopeModule BigString+Initializers.swift
[250/1185] Compiling _RopeModule BigString+Insert.swift
[251/1185] Compiling _RopeModule BigString+Managing Breaks.swift
[252/1273] Compiling CoreMetrics MappingMetricsFactory.swift
[253/1273] Compiling CoreMetrics Locks.swift
[254/1273] Emitting module CoreMetrics
[255/1273] Compiling CoreMetrics Metrics.swift
[257/1274] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[258/1335] Compiling HashTreeCollections TreeSet+Codable.swift
[259/1335] Compiling HashTreeCollections TreeSet+Collection.swift
[260/1335] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[261/1335] Compiling HashTreeCollections TreeSet+Debugging.swift
[262/1335] Compiling HashTreeCollections TreeSet+Descriptions.swift
[263/1335] Compiling HashTreeCollections TreeSet+Equatable.swift
[264/1335] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[265/1335] Compiling HashTreeCollections TreeSet+Extras.swift
[266/1335] Compiling HashTreeCollections TreeSet+Filter.swift
[267/1335] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[268/1335] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[269/1336] Compiling HashTreeCollections TreeDictionary+Filter.swift
[270/1336] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[271/1336] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[272/1341] Compiling HashTreeCollections TreeDictionary+Keys.swift
[273/1341] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[274/1341] Compiling HashTreeCollections TreeDictionary+Merge.swift
[275/1341] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[276/1341] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[277/1341] Compiling HashTreeCollections TreeDictionary+Values.swift
[278/1341] Compiling HashTreeCollections TreeSet+Hashable.swift
[279/1341] Compiling _RopeModule Rope+Find.swift
[280/1341] Compiling _RopeModule Rope+ForEachWhile.swift
[281/1341] Compiling _RopeModule Rope+Insert.swift
[282/1341] Compiling PodcastFeedMaker ExpertiseLevel.swift
[283/1341] Compiling PodcastFeedMaker FeedTag.swift
[284/1341] Compiling PodcastFeedMaker FeedTemplate.swift
[285/1341] Compiling PodcastFeedMaker PlatformPreset.swift
[286/1350] Compiling HeapModule Heap+Descriptions.swift
[287/1350] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[288/1350] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[289/1350] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[290/1350] Compiling HashTreeCollections _HashNode+Structural merge.swift
[291/1350] Emitting module SystemPackage
[292/1350] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[293/1350] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[294/1350] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[295/1350] Compiling HashTreeCollections _HashNode+Storage.swift
[296/1350] Compiling HeapModule _HeapNode.swift
[297/1350] Compiling HeapModule Heap+Invariants.swift
[298/1350] Compiling HeapModule Heap+UnsafeHandle.swift
[299/1350] Compiling HeapModule Heap.swift
[300/1350] Compiling PodcastFeedMaker StandardTemplate.swift
[301/1350] Compiling PodcastFeedMaker TemplateComposition.swift
[302/1350] Compiling PodcastFeedMaker TemplateFeedFactory.swift
[303/1350] Compiling PodcastFeedMaker TemplateValidationResult.swift
[304/1350] Compiling PodcastFeedMaker TemplateValidator.swift
[305/1350] Compiling PodcastFeedMaker AmazonValidation.swift
[306/1350] Compiling PodcastFeedMaker AppleValidation.swift
[307/1350] Compiling PodcastFeedMaker CrossCuttingValidation.swift
[308/1350] Compiling PodcastFeedMaker FeedValidator.swift
[309/1350] Compiling PodcastFeedMaker PSP1Validation.swift
[310/1350] Compiling PodcastFeedMaker PodcastIndexValidation.swift
[311/1350] Compiling PodcastFeedMaker SpotifyValidation.swift
[312/1350] Compiling PodcastFeedMaker ValidationResult.swift
[313/1350] Compiling PodcastFeedMaker ValidationRule.swift
[314/1350] Compiling HashTreeCollections _HashNode+Builder.swift
[315/1350] Compiling HashTreeCollections _HashNode+Debugging.swift
[316/1350] Compiling HashTreeCollections _HashNode+Initializers.swift
[317/1350] Compiling HashTreeCollections _HashNode+Invariants.swift
[318/1350] Compiling HashTreeCollections _HashNode+Lookups.swift
[319/1350] Emitting module HeapModule
[320/1351] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[321/1351] Compiling HashTreeCollections _HashNode+Structural filter.swift
[322/1351] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[323/1351] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[332/1351] Compiling HashTreeCollections TreeDictionary+Collection.swift
[333/1351] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[334/1351] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[335/1351] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[336/1351] Compiling HashTreeCollections TreeDictionary.swift
[340/1358] Compiling HashTreeCollections TreeSet+Sendable.swift
[341/1358] Compiling HashTreeCollections TreeSet+Sequence.swift
[342/1358] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[343/1358] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[344/1358] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[345/1358] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[346/1358] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[347/1358] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[348/1358] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[349/1370] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[350/1370] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[351/1370] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[352/1370] Compiling HashTreeCollections _HashNode.swift
[353/1370] Emitting module Metrics
[354/1370] Compiling Metrics Metrics.swift
[356/1371] Compiling OrderedCollections OrderedSet+Sendable.swift
[357/1371] Compiling OrderedCollections OrderedSet+SubSequence.swift
[358/1371] Compiling OrderedCollections OrderedSet+Testing.swift
[359/1371] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[360/1371] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[361/1371] Compiling OrderedCollections OrderedSet.swift
[362/1371] Compiling OrderedCollections _UnsafeBitset.swift
[377/1371] Compiling HashTreeCollections _HashNodeHeader.swift
[378/1371] Compiling HashTreeCollections _HashSlot.swift
[379/1371] Compiling HashTreeCollections _HashStack.swift
[380/1371] Compiling HashTreeCollections _HashTreeIterator.swift
[381/1371] Compiling HashTreeCollections _HashTreeStatistics.swift
[382/1371] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[383/1371] Compiling HashTreeCollections _RawHashNode.swift
[384/1371] Compiling HashTreeCollections _UnmanagedHashNode.swift
[385/1371] Compiling HashTreeCollections _UnsafePath.swift
[386/1371] Compiling HashTreeCollections TreeDictionary+Codable.swift
[391/1371] Compiling KeccakP-1600-opt64.c
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm