Build Information
Failed to build Cleanse, reference 4.2.6 (c85478
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 01:48:28 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/square/Cleanse.git
Reference: 4.2.6
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/square/Cleanse
* tag 4.2.6 -> FETCH_HEAD
HEAD is now at c854787 Merge pull request #168 from square/sebastianv1/change-log-4.2.6
Cloned https://github.com/square/Cleanse.git
Revision (git rev-parse @):
c854787f83d99527587b5387f04ccd0030e6133a
SUCCESS checkout https://github.com/square/Cleanse.git at 4.2.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/square/Cleanse.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
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/56] Emitting module Cleanse
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[4/63] Compiling Cleanse TaggedBindingBuilderDecorator.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[5/63] Compiling Cleanse TaggedProvider.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[6/63] Compiling Cleanse Tags.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[7/63] Compiling Cleanse TypeKeyProtocol.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[8/63] Compiling Cleanse ValidationVisitor.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[9/63] Compiling Cleanse WeakProvider.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[10/63] Compiling Cleanse WrappedBinder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[11/63] Compiling Cleanse CleanseErrorReporter.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[12/63] Compiling Cleanse CleanseServiceLoader.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[13/63] Compiling Cleanse CollectionBindingBuilderDecorator.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[14/63] Compiling Cleanse CombinedHashable.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[15/63] Compiling Cleanse Component.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[16/63] Compiling Cleanse ComponentBase.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[17/63] Compiling Cleanse ComponentBinding.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[18/63] Compiling Cleanse ComponentBindingBuilder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[19/63] Compiling Cleanse PropertyInjector.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[20/63] Compiling Cleanse Provider.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[21/63] Compiling Cleanse ProviderProvider.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[22/63] Compiling Cleanse RawProviderBinding.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[23/63] Compiling Cleanse ReceiptBinder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[24/63] Compiling Cleanse RootComponent.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[25/63] Compiling Cleanse Scope.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[26/63] Compiling Cleanse AnyBinder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[27/63] Compiling Cleanse Assisted.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[28/63] Compiling Cleanse AssistedFactory.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[29/63] Compiling Cleanse AssistedInjection.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[30/63] Compiling Cleanse AssistedInjectionArities.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[31/63] Compiling Cleanse AssistedInjectionBuilder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[32/63] Compiling Cleanse AssistedInjectionSeedDecorator.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[33/63] Compiling Cleanse BaseBindingBuilder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[34/63] Compiling Cleanse ScopedBinder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[35/63] Compiling Cleanse ScopedBindingBuilder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[36/63] Compiling Cleanse ScopedBindingDecorator.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[37/63] Compiling Cleanse ScopedModule.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[38/63] Compiling Cleanse ScopedProvider.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[39/63] Compiling Cleanse SingularCollectionBindingBuilderDecorator.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[40/63] Compiling Cleanse SourceLocation.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[41/63] Compiling Cleanse LegacyKey.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[42/63] Compiling Cleanse LegacyObjectGraph.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[43/63] Compiling Cleanse Lock.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[44/63] Compiling Cleanse Module.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[45/63] Compiling Cleanse PropertyInjection.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[46/63] Compiling Cleanse PropertyInjectionArities.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[47/63] Compiling Cleanse PropertyInjectionReceiptBinder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[48/63] Compiling Cleanse ComponentFactory.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[49/63] Compiling Cleanse ComponentVisitor.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[50/63] Compiling Cleanse DelegatedHashable.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[51/63] Compiling Cleanse Errors.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[52/63] Compiling Cleanse Factory.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[53/63] Compiling Cleanse Finalizable.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[54/63] Compiling Cleanse Graph.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[55/63] Compiling Cleanse Installer.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[56/63] Compiling Cleanse BindToable.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[57/63] Compiling Cleanse Binder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[58/63] Compiling Cleanse BinderArities.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[59/63] Compiling Cleanse BindingBuilder.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[60/63] Compiling Cleanse BindingBuilderDecorator.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[61/63] Compiling Cleanse BindingReceipt.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[62/63] Compiling Cleanse CanonicalRepresentable.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
[63/63] Compiling Cleanse CleanseBindingPlugin.swift
/host/spi-builder-workspace/Cleanse/AnyBinder.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Type erased binder
BUILD FAILURE 6.2 wasm