The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ContentfulPersistence, reference 0.18.1 (20bc48), with Swift 6.2 for Wasm on 20 Jun 2025 00:19:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-persistence.swift.git
Reference: 0.18.1
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-persistence.swift
 * tag               0.18.1     -> FETCH_HEAD
HEAD is now at 20bc48e chore: version update (#173)
Submodule path 'Carthage/Checkouts/OHHTTPStubs': checked out 'e9b4beccfca092edaabf2082c0c12535950e005f'
Submodule path 'Carthage/Checkouts/contentful.swift': checked out '8977d5d6a780b322183214f408b82066b6381b2b'
Submodule 'Carthage/Checkouts/OHHTTPStubs' (https://github.com/mariuskatcontentful/OHHTTPStubs.git) registered for path 'Carthage/Checkouts/OHHTTPStubs'
Submodule 'Carthage/Checkouts/contentful.swift' (https://github.com/contentful/contentful.swift.git) registered for path 'Carthage/Checkouts/contentful.swift'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/OHHTTPStubs'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/contentful.swift'...
Cloned https://github.com/contentful/contentful-persistence.swift.git
Revision (git rev-parse @):
20bc48ec0e0f959d69239e09a2a61f68b8841e4d
SUCCESS checkout https://github.com/contentful/contentful-persistence.swift.git at 0.18.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/contentful/contentful-persistence.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/contentful/contentful.swift
[1/11134] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift from cache (1.71s)
Computing version for https://github.com/contentful/contentful.swift
Computed https://github.com/contentful/contentful.swift at 5.5.13 (3.88s)
Creating working copy for https://github.com/contentful/contentful.swift
Working copy of https://github.com/contentful/contentful.swift resolved at 5.5.13
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] Emitting module Contentful
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Client+AppKit.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful ArrayResponse.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Asset.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Client+Fetch.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Client+Sync.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Metadata.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Persistence.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Query.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful QueryOperation.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Sys.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful TypedQuery.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Client+UIKit.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Util.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Client.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful ClientConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful ContentType.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful ContentfulLogger.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful DataCache.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Resource.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful RichText.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Space.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful SyncSpace.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Date.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful DateFormatterCache.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Decodable.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Endpoints.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Entry.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Link.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful LinkResolver.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Locale.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Location.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Error.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful Field.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful FieldType.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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/40] Compiling Contentful ImageOptions.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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.
[40/40] Compiling Contentful JSONDecoderBuilder.swift
/host/spi-builder-workspace/.build/checkouts/contentful.swift/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