Build Information
Failed to build SwagGen, reference master (61877c
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 06:56:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/yonaskolb/SwagGen.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/yonaskolb/SwagGen
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 61877cb Add UInt Integer Type (#323)
Cloned https://github.com/yonaskolb/SwagGen.git
Revision (git rev-parse @):
61877cb860d59cdf4c2cc747354ec9d8b397d588
SUCCESS checkout https://github.com/yonaskolb/SwagGen.git at master
========================================
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-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
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
[1/1196] Fetching rainbow
[1138/5204] Fetching rainbow, stencilswiftkit
[1700/10278] Fetching rainbow, stencilswiftkit, swiftcli
[1751/11299] Fetching rainbow, stencilswiftkit, swiftcli, spectre
[2666/12652] Fetching rainbow, stencilswiftkit, swiftcli, spectre, jsonutilities
[4843/23511] Fetching rainbow, stencilswiftkit, swiftcli, spectre, jsonutilities, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.72s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.73s)
Fetched https://github.com/kylef/Spectre.git from cache (0.73s)
[4691/19941] Fetching stencilswiftkit, swiftcli, yams
Fetching https://github.com/kylef/PathKit.git
[7306/21352] Fetching stencilswiftkit, swiftcli, yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.54s)
[10563/19941] Fetching stencilswiftkit, swiftcli, yams
Fetched https://github.com/jpsim/Yams.git from cache (2.81s)
[6758/9082] Fetching stencilswiftkit, swiftcli
Fetched https://github.com/jakeheis/SwiftCLI from cache (4.27s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (4.36s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (5.40s)
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/stencilproject/Stencil.git
[1/509] Fetching komondor
[510/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.69s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.68s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (7.83s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.88s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/980] Fetching shellout
[805/1560] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.50s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.20s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.86s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.94s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.77s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.40s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.86s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.87s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.94s)
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/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/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.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/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Compiling parser.c
[13/29] Compiling api.c
[14/29] Compiling emitter.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[15/29] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/87] 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 Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[20/88] Compiling JSONUtilities DecodingError.swift
/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 | /**
[21/88] Compiling JSONUtilities Dictionary+JSONKey.swift
/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 | /**
/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.
/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/90] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[27/90] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/92] 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.
[29/92] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[30/92] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[31/92] Compiling Yams String+Yams.swift
/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.
[32/92] Compiling Yams Tag.swift
/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.
[33/92] Compiling Yams Representer.swift
/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.
[34/92] Compiling Yams Resolver.swift
/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.
[35/92] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[36/92] Compiling Yams Mark.swift
/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.
[37/92] Compiling Yams Node.Mapping.swift
/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.
/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.
[39/92] Compiling Yams Decoder.swift
/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.
[40/92] Compiling Yams Node.Scalar.swift
/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.
[41/92] Compiling Yams Node.Sequence.swift
/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.
[42/92] Compiling Rainbow XcodeColorsSupport.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[43/92] Compiling Yams Node.swift
/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.
[44/92] Compiling Yams Parser.swift
/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.
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[47/92] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
/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 | /**
[48/92] Compiling JSONUtilities Dictionary+KeyPath.swift
/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 | /**
[49/92] Compiling JSONUtilities InvalidItemBehaviour.swift
/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 | /**
[50/92] Compiling JSONUtilities KeyPath.swift
/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 | /**
[51/92] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[52/92] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/92] 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
[54/92] 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
[55/92] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[56/92] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[57/92] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[58/92] Compiling JSONUtilities JSONPrimitiveConvertible.swift
/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 | /**
[59/92] Compiling JSONUtilities JSONFileLoading.swift
/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 | /**
[60/92] Compiling JSONUtilities JSONObjectConvertible.swift
/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 | /**
/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.
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
BUILD FAILURE 6.2 wasm