Build Information
Failed to build Commercetools, reference 0.12.3 (47da9e), with Swift 6.2 for Wasm on 19 Jun 2025 08:17:56 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/commercetools/commercetools-ios-sdk.git
Reference: 0.12.3
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/commercetools/commercetools-ios-sdk
* tag 0.12.3 -> FETCH_HEAD
HEAD is now at 47da9e9 Remove deprecated .swift-version file
Cloned https://github.com/commercetools/commercetools-ios-sdk.git
Revision (git rev-parse @):
47da9e9f981c9511021bd2d390b770237d901a9d
SUCCESS checkout https://github.com/commercetools/commercetools-ios-sdk.git at 0.12.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/commercetools/commercetools-ios-sdk.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
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Info-tvOS.plist
/host/spi-builder-workspace/Source/Info.plist
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/29] Emitting module Commercetools
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[4/32] Compiling Commercetools AuthManager.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[5/32] Compiling Commercetools ByIdEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[6/32] Compiling Commercetools ByKeyEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[7/32] Compiling Commercetools CTError.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[8/32] Compiling Commercetools TokenStore.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[9/32] Compiling Commercetools UpdateByKeyEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[10/32] Compiling Commercetools UpdateEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[11/32] Compiling Commercetools ShoppingList.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[12/32] Compiling Commercetools SimilarProducts.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[13/32] Compiling Commercetools Store.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[14/32] Compiling Commercetools Config.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[15/32] Compiling Commercetools CreateEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[16/32] Compiling Commercetools Customer.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[17/32] Compiling Commercetools DeleteEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[18/32] Compiling Commercetools QueryEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[19/32] Compiling Commercetools Result.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[20/32] Compiling Commercetools ShippingMethod.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[21/32] Compiling Commercetools Order.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[22/32] Compiling Commercetools Payment.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[23/32] Compiling Commercetools ProductProjection.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[24/32] Compiling Commercetools ProductType.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[25/32] Compiling Commercetools Cart.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[26/32] Compiling Commercetools Category.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[27/32] Compiling Commercetools CategoryRecommendations.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[28/32] Compiling Commercetools Commercetools.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[29/32] Compiling Commercetools Endpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[30/32] Compiling Commercetools GraphQL.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[31/32] Compiling Commercetools Log.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
[32/32] Compiling Commercetools Models.swift
/host/spi-builder-workspace/Source/AuthManager.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | import Dispatch
7 |
BUILD FAILURE 6.2 wasm