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 master (04658e), with Swift 6.2 for Wasm on 28 Jul 2025 21:11:57 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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 04658e0 Merge pull request #175 from forged-request/codeql-workflow-addition
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 @):
04658e0b3eb9523675cd8a2a82cd23cee5bd26e9
SUCCESS checkout https://github.com/contentful/contentful-persistence.swift.git at master
========================================
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/11140] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift from cache (1.79s)
Computing version for https://github.com/contentful/contentful.swift
Computed https://github.com/contentful/contentful.swift at 5.5.13 (4.49s)
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 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.
[11/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.
[12/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.
[13/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.
[14/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.
[15/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.
[16/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.
[17/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.
[18/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.
[19/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.
[20/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.
[21/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.
[22/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.
[23/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.
[24/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.
[25/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.
[26/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.
[27/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.
[28/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.
[29/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.
[30/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.
[31/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.
[32/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.
[33/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.
[34/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.
[35/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.
[36/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.
[37/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.
[38/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.
[39/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.
[40/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.
BUILD FAILURE 6.2 wasm