The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Commercetools, reference 0.12.3 (47da9e), with Swift 6.1 for Wasm on 28 May 2025 04:30:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/commercetools/commercetools-ios-sdk.git
https://github.com/commercetools/commercetools-ios-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commercetools",
  "name" : "Commercetools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commercetools",
      "targets" : [
        "Commercetools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Commercetools",
      "module_type" : "SwiftTarget",
      "name" : "Commercetools",
      "path" : "Source",
      "product_memberships" : [
        "Commercetools"
      ],
      "sources" : [
        "AuthManager.swift",
        "ByIdEndpoint.swift",
        "ByKeyEndpoint.swift",
        "CTError.swift",
        "Cart.swift",
        "Category.swift",
        "CategoryRecommendations.swift",
        "Commercetools.swift",
        "Config.swift",
        "CreateEndpoint.swift",
        "Customer.swift",
        "DeleteEndpoint.swift",
        "Endpoint.swift",
        "GraphQL.swift",
        "Log.swift",
        "Models.swift",
        "Order.swift",
        "Payment.swift",
        "ProductProjection.swift",
        "ProductType.swift",
        "QueryEndpoint.swift",
        "Result.swift",
        "ShippingMethod.swift",
        "ShoppingList.swift",
        "SimilarProducts.swift",
        "Store.swift",
        "TokenStore.swift",
        "UpdateByKeyEndpoint.swift",
        "UpdateEndpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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.plist
    /host/spi-builder-workspace/Source/Info-tvOS.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:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[4/32] Compiling Commercetools Order.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[5/32] Compiling Commercetools Payment.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[6/32] Compiling Commercetools ProductProjection.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[7/32] Compiling Commercetools ProductType.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[8/32] Compiling Commercetools TokenStore.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[9/32] Compiling Commercetools UpdateByKeyEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[10/32] Compiling Commercetools UpdateEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[11/32] Compiling Commercetools QueryEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[12/32] Compiling Commercetools Result.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[13/32] Compiling Commercetools ShippingMethod.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[14/32] Compiling Commercetools Config.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[15/32] Compiling Commercetools CreateEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[16/32] Compiling Commercetools Customer.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[17/32] Compiling Commercetools DeleteEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[18/32] Compiling Commercetools Endpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[19/32] Compiling Commercetools GraphQL.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[20/32] Compiling Commercetools Log.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[21/32] Compiling Commercetools Models.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[22/32] Compiling Commercetools AuthManager.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[23/32] Compiling Commercetools ByIdEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[24/32] Compiling Commercetools ByKeyEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[25/32] Compiling Commercetools CTError.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[26/32] Compiling Commercetools Cart.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[27/32] Compiling Commercetools Category.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[28/32] Compiling Commercetools CategoryRecommendations.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[29/32] Compiling Commercetools Commercetools.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[30/32] Compiling Commercetools ShoppingList.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[31/32] Compiling Commercetools SimilarProducts.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[32/32] Compiling Commercetools Store.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling Commercetools QueryEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[3/28] Compiling Commercetools Result.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[4/28] Compiling Commercetools ShippingMethod.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[5/31] Compiling Commercetools ShoppingList.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[6/31] Compiling Commercetools SimilarProducts.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[7/31] Compiling Commercetools Store.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[8/31] Compiling Commercetools Order.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[9/31] Compiling Commercetools Payment.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[10/31] Compiling Commercetools ProductProjection.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[11/31] Compiling Commercetools ProductType.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[12/31] Compiling Commercetools AuthManager.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[13/31] Compiling Commercetools ByIdEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[14/31] Compiling Commercetools ByKeyEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[15/31] Compiling Commercetools CTError.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[16/31] Compiling Commercetools Config.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[17/31] Compiling Commercetools CreateEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[18/31] Compiling Commercetools Customer.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[19/31] Compiling Commercetools DeleteEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[20/31] Compiling Commercetools Cart.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[21/31] Compiling Commercetools Category.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[22/31] Compiling Commercetools CategoryRecommendations.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[23/31] Compiling Commercetools Commercetools.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[24/31] Compiling Commercetools TokenStore.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[25/31] Compiling Commercetools UpdateByKeyEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[26/31] Compiling Commercetools UpdateEndpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/31] Emitting module Commercetools
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[28/31] Compiling Commercetools Endpoint.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[29/31] Compiling Commercetools GraphQL.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[30/31] Compiling Commercetools Log.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
[31/31] Compiling Commercetools Models.swift
/host/spi-builder-workspace/Source/AuthManager.swift:6:8: error: no such module 'Dispatch'
  4 |
  5 | import Foundation
  6 | import Dispatch
    |        `- error: no such module 'Dispatch'
  7 |
  8 | /**
BUILD FAILURE 6.1 wasm