Build Information
Failed to build ChatLayout, reference master (24822d
), with Swift 6.2 (beta) for Wasm on 27 Jun 2025 20:04:22 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/ekazaev/ChatLayout.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/ekazaev/ChatLayout
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 24822d3 Updated readme
Cloned https://github.com/ekazaev/ChatLayout.git
Revision (git rev-parse @):
24822d3657af8560d19b80deee6adc3a04ae9b57
SUCCESS checkout https://github.com/ekazaev/ChatLayout.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ekazaev/ChatLayout.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/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/37] Emitting module ChatLayout
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[4/41] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[5/41] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[6/41] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[7/41] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[8/41] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[9/41] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[10/41] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[11/41] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[12/41] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[13/41] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[14/41] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[15/41] Compiling ChatLayout SwappingContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[16/41] Compiling ChatLayout ChatLayoutPositionSnapshot.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[17/41] Compiling ChatLayout ChatLayoutSettings.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[18/41] Compiling ChatLayout CollectionViewChatLayout.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[19/41] Compiling ChatLayout CGRect+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[20/41] Compiling ChatLayout ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[21/41] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[22/41] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[23/41] Compiling ChatLayout LayoutModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[24/41] Compiling ChatLayout ModelState.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[25/41] Compiling ChatLayout SectionModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[26/41] Compiling ChatLayout StateController.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[27/41] Compiling ChatLayout CellLayoutContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[28/41] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[29/41] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[30/41] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[31/41] Compiling ChatLayout ItemKind.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[32/41] Compiling ChatLayout ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[33/41] Compiling ChatLayout ChatItemPinningType.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[34/41] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[35/41] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
[36/41] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 | import UIKit
15 |
BUILD FAILURE 6.2 wasm