Build Information
Failed to build CommandLineToolkit, reference 2.0.0 (1a91fd
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 09:23:06 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.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/avito-tech/CommandLineToolkit.git
Reference: 2.0.0
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/avito-tech/CommandLineToolkit
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 1a91fd9 Pull request #37467: MA-4557 add skip validation
Cloned https://github.com/avito-tech/CommandLineToolkit.git
Revision (git rev-parse @):
1a91fd93e765480bcf464efe6f7125ffe5ccd4c9
SUCCESS checkout https://github.com/avito-tech/CommandLineToolkit.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/avito-tech/CommandLineToolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/apple/swift-log.git
Fetching https://github.com/Bouke/Glob
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/246] Fetching glob
[247/3188] Fetching glob, bluesocket
[1248/7024] Fetching glob, bluesocket, swift-log
[4417/17898] Fetching glob, bluesocket, swift-log, yams
[8004/33278] Fetching glob, bluesocket, swift-log, yams, swift-argument-parser
[17294/47076] Fetching glob, bluesocket, swift-log, yams, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/Bouke/Glob from cache (1.70s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.72s)
Fetched https://github.com/apple/swift-log.git from cache (1.72s)
Fetching https://github.com/Alamofire/Alamofire
Fetching https://github.com/IBM-Swift/BlueSignals.git
[20164/27614] Fetching bluesocket, yams, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams.git from cache (1.79s)
[10255/16740] Fetching bluesocket, swift-snapshot-testing
[13844/17421] Fetching bluesocket, swift-snapshot-testing, bluesignals
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.42s)
[16051/16740] Fetching bluesocket, swift-snapshot-testing
[16190/46881] Fetching bluesocket, swift-snapshot-testing, alamofire
Fetched https://github.com/Kitura/BlueSocket.git from cache (2.99s)
[20731/43939] Fetching swift-snapshot-testing, alamofire
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.09s)
[8741/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (7.41s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (12.06s)
Computing version for https://github.com/Bouke/Glob
Computed https://github.com/Bouke/Glob at 1.0.5 (0.48s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.52 (0.47s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.21 (0.46s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.5.0 (0.50s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.61s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75505] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.17s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.24s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (7.72s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.76s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.54s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/Alamofire/Alamofire
Working copy of https://github.com/Alamofire/Alamofire resolved at 5.5.0
Creating working copy for https://github.com/Bouke/Glob
Working copy of https://github.com/Bouke/Glob resolved at 1.0.5
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.21
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.52
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/67] Write sources
[60/67] Compiling writer.c
[61/67] Compiling reader.c
[62/67] Write swift-version-24593BA9C3E375BF.txt
[63/71] Compiling parser.c
[64/90] Compiling api.c
[65/90] Compiling emitter.c
[66/100] Compiling scanner.c
[68/102] Compiling PathLib RelativePath.swift
/host/spi-builder-workspace/Sources/PathLib/AbsolutePath.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public final class AbsolutePath:
[69/102] Compiling PathLib Path.swift
/host/spi-builder-workspace/Sources/PathLib/AbsolutePath.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public final class AbsolutePath:
[70/102] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
[71/102] Compiling PathLib String+ShellEscaping.swift
/host/spi-builder-workspace/Sources/PathLib/AbsolutePath.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public final class AbsolutePath:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/102] Emitting module URLSessionTestHelpers
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:5:8: error: no such module 'Foundation'
3 | */
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | #if canImport(FoundationNetworking)
7 | import FoundationNetworking
[73/102] Compiling URLSessionTestHelpers FakeURLSession.swift
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:5:8: error: no such module 'Foundation'
3 | */
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 | #if canImport(FoundationNetworking)
7 | import FoundationNetworking
[74/102] Compiling Types MutableBox.swift
/host/spi-builder-workspace/Sources/Types/CompoundError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public final class CompoundError: LocalizedError {
[75/102] Compiling Types NewIntType.swift
/host/spi-builder-workspace/Sources/Types/CompoundError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public final class CompoundError: LocalizedError {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/102] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
/host/spi-builder-workspace/Sources/Types/CompoundError.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public final class CompoundError: LocalizedError {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/102] Emitting module Signals
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Signals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/102] Emitting module Timer
/host/spi-builder-workspace/Sources/Timer/DispatchBasedTimer.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
/host/spi-builder-workspace/Sources/Timer/DispatchBasedTimer.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
BUILD FAILURE 6.2 wasm