Build Information
Failed to build FeedKit, reference main (e55b2c), with Swift 6.2 for Wasm on 6 Feb 2026 02:44:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nmdias/FeedKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/nmdias/FeedKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e55b2ca Run format.sh
Cloned https://github.com/nmdias/FeedKit.git
Revision (git rev-parse @):
e55b2cafaf67370092c91193cfb8a8b008e05888
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nmdias/FeedKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/nmdias/FeedKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/24] Emitting module XMLKit
[5/26] Compiling XMLKit String + escapeCharacters.swift
[6/26] Compiling XMLKit XMLDateDecodingStrategy.swift
[7/26] Compiling XMLKit XMLDecoder.swift
[8/26] Compiling XMLKit XMLNode.swift
[9/26] Compiling XMLKit XMLReader.swift
[10/26] Compiling XMLKit XMLStack.swift
[11/26] Compiling XMLKit XMLStringConvertible.swift
[12/26] Compiling XMLKit XMLKeyedEncodingContainer.swift
[13/26] Compiling XMLKit XMLSingleValueEncodingContainer.swift
[14/26] Compiling XMLKit XMLUnkeyedEncodingContainer.swift
[15/26] Compiling XMLKit XMLError.swift
[16/26] Compiling XMLKit XMLHeader.swift
[17/26] Compiling XMLKit XMLNamespaceCodable.swift
[18/26] Compiling XMLKit XMLDocument.swift
[19/26] Compiling XMLKit XMLDocumentConvertible.swift
[20/26] Compiling XMLKit XMLElement.swift
[21/26] Compiling XMLKit XMLKeyedDecodingContainer.swift
[22/26] Compiling XMLKit XMLSingleValueDecodingContainer.swift
[23/26] Compiling XMLKit XMLUnkeyedDecodingContainer.swift
[24/26] Compiling XMLKit XMLCodingKey.swift
[25/26] Compiling XMLKit XMLDateEncodingStrategy.swift
[26/26] Compiling XMLKit XMLEncoder.swift
[28/107] Compiling FeedKit String + toBool.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[29/107] Compiling FeedKit String + toDuration.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[30/107] Compiling FeedKit String + toGMLPosition.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[31/107] Compiling FeedKit String + toKeywords.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[32/107] Compiling FeedKit String + toMediaTags.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[33/107] Compiling FeedKit Feed.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[34/107] Compiling FeedKit FeedDateFormatter.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[35/107] Compiling FeedKit FeedError.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[36/107] Compiling FeedKit FeedInitializable.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[37/107] Compiling FeedKit FeedNamespace.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[38/107] Compiling FeedKit FeedType.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[39/107] Compiling FeedKit AtomFeed.swift
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | let (data, response) = try await session.data(from: url)
127 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:125:32: error: value of type '_' expected to be instance of class or class-constrained type
123 | /// fails or the content is invalid.
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
126 | let (data, response) = try await session.data(from: url)
127 |
/host/spi-builder-workspace/Sources/FeedKit/Feed.swift:126:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
124 | public init(remoteURL url: URL) async throws {
125 | let session: URLSession = .shared
126 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
127 |
128 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
99 | let (data, response) = try await session.data(from: url)
100 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:98:32: error: value of type '_' expected to be instance of class or class-constrained type
96 | /// - Throws: An error if fetching or parsing fails.
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
99 | let (data, response) = try await session.data(from: url)
100 |
/host/spi-builder-workspace/Sources/FeedKit/FeedInitializable.swift:99:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
97 | init(remoteURL url: URL) async throws {
98 | let session: URLSession = .shared
99 | let (data, response) = try await session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |
101 | guard let httpResponse = response as? HTTPURLResponse else {
[40/118] Compiling FeedKit MediaRestriction.swift
[41/118] Compiling FeedKit MediaRights.swift
[42/118] Compiling FeedKit MediaScene.swift
[43/118] Compiling FeedKit MediaScenes.swift
[44/118] Compiling FeedKit MediaStarRating.swift
[45/118] Compiling FeedKit MediaStatistics.swift
[46/118] Compiling FeedKit MediaStatus.swift
[47/118] Compiling FeedKit MediaSubTitle.swift
[48/118] Compiling FeedKit MediaTag.swift
[49/118] Compiling FeedKit MediaText.swift
[50/118] Compiling FeedKit MediaThumbnail.swift
[51/118] Compiling FeedKit MediaEmbed.swift
[52/118] Compiling FeedKit MediaGroup.swift
[53/118] Compiling FeedKit MediaHash.swift
[54/118] Compiling FeedKit MediaLicence.swift
[55/118] Compiling FeedKit MediaLocation.swift
[56/118] Compiling FeedKit MediaParam.swift
[57/118] Compiling FeedKit MediaPeerLink.swift
[58/118] Compiling FeedKit MediaPlayer.swift
[59/118] Compiling FeedKit MediaPrice.swift
[60/118] Compiling FeedKit MediaRating.swift
[61/118] Compiling FeedKit MediaReponses.swift
[62/118] Compiling FeedKit MediaTitle.swift
[63/118] Compiling FeedKit Podcast.swift
[64/118] Compiling FeedKit PodcastTranscript.swift
[65/118] Compiling FeedKit Syndication.swift
[66/118] Compiling FeedKit SyndicationUpdatePeriod.swift
[67/118] Compiling FeedKit Youtube.swift
[68/118] Compiling FeedKit ITunes.swift
[69/118] Compiling FeedKit iTunesCategory.swift
[70/118] Compiling FeedKit iTunesImage.swift
[71/118] Compiling FeedKit iTunesOwner.swift
[72/118] Compiling FeedKit iTunesSubCategory.swift
[73/118] Compiling FeedKit JSONFeedAttachment.swift
[74/118] Compiling FeedKit JSONFeedAuthor.swift
[75/118] Compiling FeedKit JSONFeedHub.swift
[76/118] Compiling FeedKit JSONFeedItem.swift
[77/118] Compiling FeedKit RSSFeed.swift
[78/118] Compiling FeedKit RSSFeedCategory.swift
[79/118] Compiling FeedKit RSSFeedChannel.swift
[80/118] Compiling FeedKit RSSFeedCloud.swift
[81/118] Compiling FeedKit RSSFeedEnclosure.swift
[82/118] Compiling FeedKit RSSFeedGUID.swift
[83/118] Compiling FeedKit RSSFeedImage.swift
[84/118] Compiling FeedKit GeoRSSSimple.swift
[85/118] Compiling FeedKit GeoRSSSimplePoint.swift
[86/118] Compiling FeedKit Media.swift
[87/118] Compiling FeedKit MediaBacklinks.swift
[88/118] Compiling FeedKit MediaCategory.swift
[89/118] Compiling FeedKit MediaComments.swift
[90/118] Compiling FeedKit MediaCommunity.swift
[91/118] Compiling FeedKit MediaContent.swift
[92/118] Compiling FeedKit MediaCopyright.swift
[93/118] Compiling FeedKit MediaCredit.swift
[94/118] Compiling FeedKit MediaDescription.swift
[95/118] Compiling FeedKit RSSFeedItem.swift
[96/118] Compiling FeedKit RSSFeedSkipDay.swift
[97/118] Compiling FeedKit RSSFeedSkipHours.swift
[98/118] Compiling FeedKit RSSFeedSource.swift
[99/118] Compiling FeedKit RSSFeedTextInput.swift
[100/118] Compiling FeedKit Atom.swift
[101/118] Compiling FeedKit AtomLink.swift
[102/118] Compiling FeedKit Content.swift
[103/118] Compiling FeedKit DublinCore.swift
[104/118] Compiling FeedKit GMLPoint.swift
[105/118] Compiling FeedKit GeoRSS.swift
[106/118] Emitting module FeedKit
[107/118] Compiling FeedKit AtomFeedAuthor.swift
[108/118] Compiling FeedKit AtomFeedCategory.swift
[109/118] Compiling FeedKit AtomFeedContent.swift
[110/118] Compiling FeedKit AtomFeedContributor.swift
[111/118] Compiling FeedKit AtomFeedEntry.swift
[112/118] Compiling FeedKit AtomFeedGenerator.swift
[113/118] Compiling FeedKit AtomFeedLink.swift
[114/118] Compiling FeedKit AtomFeedSource.swift
[115/118] Compiling FeedKit AtomFeedSubtitle.swift
[116/118] Compiling FeedKit AtomFeedSummary.swift
[117/118] Compiling FeedKit AtomFeedTitle.swift
[118/118] Compiling FeedKit JSONFeed.swift
BUILD FAILURE 6.2 wasm