Build Information
Failed to build swift-format, reference master (e0d014), with Swift 6.3 for Wasm on 14 Apr 2026 03:44:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-format.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/SDGGiesbrecht/swift-format
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e0d014c Merge pull request #506 from allevato/prep-5.8-release
Cloned https://github.com/SDGGiesbrecht/swift-format.git
Revision (git rev-parse @):
e0d014cf729a43d4023304204f7c478a75bd4e8e
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-format.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-format.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-syntax.git
[1/74972] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.72s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/17523] Fetching swift-argument-parser
[702/24710] Fetching swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.68s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.4.0 (1.75s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (3.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.91s)
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.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
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.2.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at main (aacb56b)
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/121] Write sources
[14/121] Compiling TSCclibc libc.c
[15/121] Write sources
[20/121] Compiling TSCclibc process.c
[21/121] Write sources
[24/121] Compiling _SwiftSyntaxCShims PlatformMutex.c
[25/121] Write sources
[34/121] Compiling TSCclibc process.c
[35/121] Write sources
[37/121] Compiling TSCclibc libc.c
[38/121] Write sources
[38/121] Write swift-version-24593BA9C3E375BF.txt
[41/121] Compiling _SwiftSyntaxCShims PlatformMutex.c
[42/121] Compiling CSystem shims.c
[43/121] Write sources
[50/156] Emitting module SystemPackage
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/158] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
[52/158] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
[53/158] Emitting module SwiftSyntax604
[54/158] Compiling SwiftSyntax604 Empty.swift
[55/159] Emitting module TSCLibc
[56/159] Emitting module SwiftSyntax603
[57/159] Emitting module SwiftSyntax602
[58/159] Emitting module SwiftSyntax603
[59/159] Emitting module SwiftSyntax604
BUILD FAILURE 6.3 wasm