Build Information
Failed to build BbcNews, reference v1.1.2 (a23ce3), with Swift 6.3 for Wasm on 15 Apr 2026 07:22:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bilaalrashid/bbc-news-swift.git
Reference: v1.1.2
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/bilaalrashid/bbc-news-swift
* tag v1.1.2 -> FETCH_HEAD
HEAD is now at a23ce3b Bump tag
Cloned https://github.com/bilaalrashid/bbc-news-swift.git
Revision (git rev-parse @):
a23ce3bf2fbfb62be9652809fb483d9febcea7c6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bilaalrashid/bbc-news-swift.git at v1.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/bilaalrashid/bbc-news-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/66] Emitting module BbcNews
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[4/74] Compiling BbcNews FDPresentationType.swift
[5/74] Compiling BbcNews FDTemperature.swift
[6/74] Compiling BbcNews FDWeatherForecast.swift
[7/74] Compiling BbcNews FDWeatherIcon.swift
[8/74] Compiling BbcNews FDWeatherLocation.swift
[9/74] Compiling BbcNews FDWeatherPromoSummary.swift
[10/74] Compiling BbcNews ReleaseTrack.swift
[11/74] Compiling BbcNews Service.swift
[12/74] Compiling BbcNews FDResolverResponse.swift
[13/74] Compiling BbcNews FDBrand.swift
[14/74] Compiling BbcNews FDCallToActionBanner.swift
[15/74] Compiling BbcNews FDCallToActionButton.swift
[16/74] Compiling BbcNews FDChipList.swift
[17/74] Compiling BbcNews FDCollectionHeader.swift
[18/74] Compiling BbcNews FDCopyright.swift
[19/74] Compiling BbcNews FDSourceFormat.swift
[20/74] Compiling BbcNews FDStoryPromo.swift
[21/74] Compiling BbcNews FDStoryPromoStyle.swift
[22/74] Compiling BbcNews FDResolverResult.swift
[23/74] Compiling BbcNews FDData.swift
[24/74] Compiling BbcNews FDDataMetadata.swift
[25/74] Compiling BbcNews FDItem.swift
[26/74] Compiling BbcNews FDResult.swift
[27/74] Compiling BbcNews FDByline.swift
[28/74] Compiling BbcNews FDBylineContributor.swift
[29/74] Compiling BbcNews FDContentList.swift
[30/74] Compiling BbcNews FDContentListOrder.swift
[31/74] Compiling BbcNews FDTopic.swift
[32/74] Compiling BbcNews FDTopicButton.swift
[33/74] Compiling BbcNews FDTrackedEvent.swift
[34/74] Compiling BbcNews FDTracker.swift
[35/74] Compiling BbcNews FDTrackerPayload.swift
[36/74] Compiling BbcNews FDContentSource.swift
[37/74] Compiling BbcNews FDLink.swift
[38/74] Compiling BbcNews FDLinkDestination.swift
[39/74] Compiling BbcNews FDPresentation.swift
[40/74] Compiling BbcNews FDHeadline.swift
[41/74] Compiling BbcNews FDHeadlineByline.swift
[42/74] Compiling BbcNews FDSectionHeader.swift
[43/74] Compiling BbcNews FDVideoPortraitStory.swift
[44/74] Compiling BbcNews FDImage.swift
[45/74] Compiling BbcNews FDImageContainer.swift
[46/74] Compiling BbcNews FDImageMetadata.swift
[47/74] Compiling BbcNews FDImageSizingMethod.swift
[48/74] Compiling BbcNews FDImageSizingMethodType.swift
[49/74] Compiling BbcNews FDImageSource.swift
[50/74] Compiling BbcNews FDMedia.swift
[51/74] Compiling BbcNews FDMediaMetaData.swift
[52/74] Compiling BbcNews FDMediaSource.swift
[53/74] Compiling BbcNews FDMediaType.swift
[54/74] Compiling BbcNews FDAttribute.swift
[55/74] Compiling BbcNews FDAttributeType.swift
[56/74] Compiling BbcNews FDAttributedText.swift
[57/74] Compiling BbcNews FDAttributedTextSpan.swift
[58/74] Compiling BbcNews FDTextContainer.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[59/74] Compiling BbcNews FDTextContainerType.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[60/74] Compiling BbcNews FailableCodable.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[61/74] Compiling BbcNews JSONDecoder+DecodeWithoutThrowing.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[62/74] Compiling BbcNews Logger.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[63/74] Compiling BbcNews NetworkError.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[64/74] Compiling BbcNews UIDevice+ModelIdentifier.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[65/74] Compiling BbcNews Unknownable.swift
/host/spi-builder-workspace/Sources/BbcNews/Utils/NetworkError.swift:30:10: warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
28 |
29 | /// A response was returned that was unable to be decoded into a type.
30 | case undecodableResponse(url: URL, type: Decodable.Type, underlyingError: DecodingError)
| `- warning: associated value 'undecodableResponse(url:type:underlyingError:)' of 'Sendable'-conforming enum 'NetworkError' contains non-Sendable type 'any Decodable.Type'
31 |
32 | /// A generic error encountered when performing a networking operation.
[66/74] Compiling BbcNews BbcNews.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[67/74] Compiling BbcNews FDBillboard.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[68/74] Compiling BbcNews FDCarousel.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[69/74] Compiling BbcNews FDCollection.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[70/74] Compiling BbcNews FDHierarchicalCollection.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[71/74] Compiling BbcNews FDSimpleCollection.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[72/74] Compiling BbcNews FDSimplePromoGrid.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[73/74] Compiling BbcNews FDBadge.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
[74/74] Compiling BbcNews FDBadgeType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:166:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// The session to perform network requests from.
166 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | /// service: The international service that API results should be localised for e.g. BBC Cymru.
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/BbcNews/BbcNews.swift:193:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
191 | release: ReleaseTrack? = nil
192 | ) {
193 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
194 | configuration.httpAdditionalHeaders = [
195 | // Pretend to be the BBC News app
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:200:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
198 | ]
199 |
200 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
201 | self.service = service
202 | self.releaseTrack = nil
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:347:59: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
345 |
346 | do {
347 | let (data, response) = try await self.session.data(from: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
348 |
349 | guard let httpResponse = response as? HTTPURLResponse else {
BUILD FAILURE 6.3 wasm