The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BbcNews, reference main (161a58), with Swift 6.2 for Wasm on 22 Jun 2025 11:56:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bilaalrashid/bbc-news-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/bilaalrashid/bbc-news-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 161a58d Merge pull request #54 from bilaalrashid/bilaal/swift-6-ci
Cloned https://github.com/bilaalrashid/bbc-news-swift.git
Revision (git rev-parse @):
161a58dd4c914fb58c4c8518e236986e2818736a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bilaalrashid/bbc-news-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/66] Compiling BbcNews FDHeadline.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[4/66] Compiling BbcNews FDHeadlineByline.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[5/66] Compiling BbcNews FDSectionHeader.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[6/66] Compiling BbcNews FDVideoPortraitStory.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[7/66] Compiling BbcNews FDImage.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[8/66] Compiling BbcNews FDImageContainer.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[9/66] Compiling BbcNews FDImageMetadata.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[10/66] Compiling BbcNews FDImageSizingMethod.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[11/66] Compiling BbcNews FDImageSizingMethodType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[12/66] Compiling BbcNews FDImageSource.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[13/66] Compiling BbcNews FDMedia.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[14/66] Compiling BbcNews FDMediaMetaData.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[15/66] Compiling BbcNews FDMediaSource.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[16/66] Compiling BbcNews FDMediaType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[17/66] Compiling BbcNews FDAttribute.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[18/66] Compiling BbcNews FDAttributeType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[19/66] Compiling BbcNews FDAttributedText.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[20/66] Compiling BbcNews FDAttributedTextSpan.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[21/74] Compiling BbcNews FDBrand.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[22/74] Compiling BbcNews FDCallToActionBanner.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[23/74] Compiling BbcNews FDCallToActionButton.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[24/74] Compiling BbcNews FDChipList.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[25/74] Compiling BbcNews FDCollectionHeader.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[26/74] Compiling BbcNews FDCopyright.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[27/74] Compiling BbcNews FDSourceFormat.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[28/74] Compiling BbcNews FDStoryPromo.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[29/74] Compiling BbcNews FDStoryPromoStyle.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[30/74] Compiling BbcNews FDResolverResult.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[31/74] Compiling BbcNews FDData.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[32/74] Compiling BbcNews FDDataMetadata.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[33/74] Compiling BbcNews FDItem.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[34/74] Compiling BbcNews FDResult.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[35/74] Compiling BbcNews FDByline.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[36/74] Compiling BbcNews FDBylineContributor.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[37/74] Compiling BbcNews FDContentList.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[38/74] Compiling BbcNews FDContentListOrder.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[39/74] Compiling BbcNews FDPresentationType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[40/74] Compiling BbcNews FDTemperature.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[41/74] Compiling BbcNews FDWeatherForecast.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[42/74] Compiling BbcNews FDWeatherIcon.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[43/74] Compiling BbcNews FDWeatherLocation.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[44/74] Compiling BbcNews FDWeatherPromoSummary.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[45/74] Compiling BbcNews ReleaseTrack.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[46/74] Compiling BbcNews Service.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[47/74] Compiling BbcNews FDResolverResponse.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[48/74] Compiling BbcNews FDTopic.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[49/74] Compiling BbcNews FDTopicButton.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[50/74] Compiling BbcNews FDTrackedEvent.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[51/74] Compiling BbcNews FDTracker.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[52/74] Compiling BbcNews FDTrackerPayload.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[53/74] Compiling BbcNews FDContentSource.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[54/74] Compiling BbcNews FDLink.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[55/74] Compiling BbcNews FDLinkDestination.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[56/74] Compiling BbcNews FDPresentation.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/74] Emitting module BbcNews
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[58/74] Compiling BbcNews BbcNews.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[59/74] Compiling BbcNews FDBillboard.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[60/74] Compiling BbcNews FDCarousel.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[61/74] Compiling BbcNews FDCollection.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[62/74] Compiling BbcNews FDHierarchicalCollection.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[63/74] Compiling BbcNews FDSimpleCollection.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[64/74] Compiling BbcNews FDSimplePromoGrid.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[65/74] Compiling BbcNews FDBadge.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[66/74] Compiling BbcNews FDBadgeType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[67/74] Compiling BbcNews FDTextContainer.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[68/74] Compiling BbcNews FDTextContainerType.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[69/74] Compiling BbcNews FailableCodable.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[70/74] Compiling BbcNews JSONDecoder+DecodeWithoutThrowing.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[71/74] Compiling BbcNews Logger.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[72/74] Compiling BbcNews NetworkError.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[73/74] Compiling BbcNews UIDevice+ModelIdentifier.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
[74/74] Compiling BbcNews Unknownable.swift
/host/spi-builder-workspace/Sources/BbcNews/BbcNews.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | #if canImport(FoundationNetworking)
 10 | import FoundationNetworking
BUILD FAILURE 6.2 wasm