Build Information
Failed to build SwagGen, reference 4.7.0 (0bef60
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 06:55:20 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/yonaskolb/SwagGen.git
Reference: 4.7.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/yonaskolb/SwagGen
* tag 4.7.0 -> FETCH_HEAD
HEAD is now at 0bef607 Update to 4.7.0
Cloned https://github.com/yonaskolb/SwagGen.git
Revision (git rev-parse @):
0bef6077c83620565e2ae50d76f9633061b0a2ac
SUCCESS checkout https://github.com/yonaskolb/SwagGen.git at 4.7.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/yonaskolb/SwagGen.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/kylef/Spectre.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow.git
[1/1021] Fetching spectre
[1022/2374] Fetching spectre, jsonutilities
[1225/7448] Fetching spectre, jsonutilities, swiftcli
[3090/8644] Fetching spectre, jsonutilities, swiftcli, rainbow
[5714/19503] Fetching spectre, jsonutilities, swiftcli, rainbow, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (1.44s)
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetched https://github.com/kylef/Spectre.git from cache (1.45s)
[7139/17129] Fetching swiftcli, rainbow, yams
Fetching https://github.com/kylef/PathKit.git
[9746/18540] Fetching swiftcli, rainbow, yams, pathkit
[13981/22548] Fetching swiftcli, rainbow, yams, pathkit, stencilswiftkit
Fetched https://github.com/kylef/PathKit.git from cache (0.54s)
[13279/21137] Fetching swiftcli, rainbow, yams, stencilswiftkit
Fetched https://github.com/onevcat/Rainbow.git from cache (3.75s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (3.77s)
Fetched https://github.com/jpsim/Yams.git from cache (3.84s)
[1287/4008] Fetching stencilswiftkit
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (4.27s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (10.57s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.97s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.89s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.89s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.88s)
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/stencilproject/Stencil.git
[1/5293] Fetching stencil
[1325/5802] Fetching stencil, komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.65s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.65s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.54s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[581/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.35s)
[10/980] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.48s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.38s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.91s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.90s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (1.00s)
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Write swift-version-24593BA9C3E375BF.txt
[13/29] Compiling parser.c
[14/29] Compiling api.c
[15/72] Compiling scanner.c
[16/72] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/72] Emitting module JSONUtilities
/host/spi-builder-workspace/.build/checkouts/JSONUtilities/Sources/JSONUtilities/DecodingError.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/88] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Constructors are used to translate `Node`s to Swift values.
[20/89] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/89] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
BUILD FAILURE 6.2 wasm