Build Information
Failed to build swift-format, reference 0.50800.0 (e725e5), with Swift 6.2 for Wasm on 20 Jun 2025 22:05:11 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-format.git
Reference: 0.50800.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/SDGGiesbrecht/swift-format
* tag 0.50800.0 -> FETCH_HEAD
HEAD is now at e725e5a Converted deployment targets.
Cloned https://github.com/SDGGiesbrecht/swift-format.git
Revision (git rev-parse @):
e725e5a10b177415b68922822544178052c89b9e
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-format.git at 0.50800.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-format.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-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/SDGGiesbrecht/swift-syntax
[1/30074] Fetching swift-syntax
[1505/36929] Fetching swift-syntax, swift-tools-support-core
[8504/52309] Fetching swift-syntax, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (4.12s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.13s)
Fetched https://github.com/SDGGiesbrecht/swift-syntax from cache (4.18s)
Computing version for https://github.com/SDGGiesbrecht/swift-syntax
Computed https://github.com/SDGGiesbrecht/swift-syntax at 0.50800.0 (5.19s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.78s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/SDGGiesbrecht/swift-syntax
Working copy of https://github.com/SDGGiesbrecht/swift-syntax resolved at 0.50800.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/103] Write sources
[39/103] Compiling TSCclibc libc.c
[40/103] Compiling TSCclibc process.c
[42/103] Compiling TSCclibc libc.c
[42/103] Compiling TSCclibc strerror.c
[45/103] Write swift-version-24593BA9C3E375BF.txt
[47/195] Emitting module ArgumentParserToolInfo
[48/195] Emitting module SwiftFormatConfiguration
[49/195] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
/host/spi-builder-workspace/Sources/SwiftFormatConfiguration/Configuration.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// A version number that can be specified in the configuration file, which allows us to change the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/195] Emitting module SwiftFormatConfiguration
/host/spi-builder-workspace/Sources/SwiftFormatConfiguration/Configuration.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// A version number that can be specified in the configuration file, which allows us to change the
[51/195] Compiling SwiftFormatConfiguration Configuration.swift
/host/spi-builder-workspace/Sources/SwiftFormatConfiguration/Configuration.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// A version number that can be specified in the configuration file, which allows us to change the
[52/195] Compiling SwiftFormatConfiguration Indent.swift
/host/spi-builder-workspace/Sources/SwiftFormatConfiguration/Configuration.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// A version number that can be specified in the configuration file, which allows us to change the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/195] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[54/195] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[55/195] Emitting module TSCLibc
[56/195] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm