The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Contentful, reference 5.5.14 (d4246e), with Swift 6.2 for Wasm on 29 Jul 2025 22:20:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/contentful/contentful.swift.git
Reference: 5.5.14
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/contentful/contentful.swift
 * tag               5.5.14     -> FETCH_HEAD
HEAD is now at d4246e9 Merge pull request #433 from contentful/chore/update-version
Cloned https://github.com/contentful/contentful.swift.git
Revision (git rev-parse @):
d4246e940007b48175ba78a4bb90cebe8876e425
SUCCESS checkout https://github.com/contentful/contentful.swift.git at 5.5.14
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/contentful/contentful.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/mariuskatcontentful/DVR.git
[1/800] Fetching dvr
Fetched https://github.com/mariuskatcontentful/DVR.git from cache (0.20s)
Fetching https://github.com/mariuskatcontentful/OHHTTPStubs.git
[1/5716] Fetching ohhttpstubs
Fetched https://github.com/mariuskatcontentful/OHHTTPStubs.git from cache (0.33s)
Creating working copy for https://github.com/mariuskatcontentful/DVR.git
Working copy of https://github.com/mariuskatcontentful/DVR.git resolved at master (fb4f867)
Creating working copy for https://github.com/mariuskatcontentful/OHHTTPStubs.git
Working copy of https://github.com/mariuskatcontentful/OHHTTPStubs.git resolved at master (1c5f7b4)
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/35] Emitting module Contentful
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[4/39] Compiling Contentful Sys.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[5/39] Compiling Contentful TypedQuery.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[6/39] Compiling Contentful Client+UIKit.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[7/39] Compiling Contentful Util.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[8/39] Compiling Contentful Date.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[9/39] Compiling Contentful DateFormatterCache.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[10/39] Compiling Contentful Decodable.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[11/39] Compiling Contentful Endpoints.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[12/39] Compiling Contentful Entry.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[13/39] Compiling Contentful Client.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[14/39] Compiling Contentful ClientConfiguration.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[15/39] Compiling Contentful ContentType.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[16/39] Compiling Contentful ContentfulLogger.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[17/39] Compiling Contentful DataCache.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[18/39] Compiling Contentful Client+AppKit.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[19/39] Compiling Contentful ArrayResponse.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[20/39] Compiling Contentful Asset.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[21/39] Compiling Contentful Client+Fetch.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[22/39] Compiling Contentful Client+Sync.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[23/39] Compiling Contentful Link.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[24/39] Compiling Contentful LinkResolver.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[25/39] Compiling Contentful Locale.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[26/39] Compiling Contentful Location.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[27/39] Compiling Contentful Error.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[28/39] Compiling Contentful Field.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[29/39] Compiling Contentful FieldType.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[30/39] Compiling Contentful ImageOptions.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[31/39] Compiling Contentful JSONDecoderBuilder.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[32/39] Compiling Contentful Metadata.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[33/39] Compiling Contentful Persistence.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[34/39] Compiling Contentful Query.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[35/39] Compiling Contentful QueryOperation.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[36/39] Compiling Contentful Resource.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[37/39] Compiling Contentful RichText.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[38/39] Compiling Contentful Space.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
[39/39] Compiling Contentful SyncSpace.swift
/host/spi-builder-workspace/Sources/Contentful/Asset.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// A simple protocol to bridge `Contentful.Asset` and other formats for storing asset information.
BUILD FAILURE 6.2 wasm