Build Information
Failed to build ModelGen, reference 0.5.0 (af78ff
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 05:10:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/hebertialmeida/modelgen.git
Reference: 0.5.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/hebertialmeida/modelgen
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at af78ff3 Update main.swift
Cloned https://github.com/hebertialmeida/modelgen.git
Revision (git rev-parse @):
af78ff30926722ac381950704bef53495f517d05
SUCCESS checkout https://github.com/hebertialmeida/modelgen.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/hebertialmeida/modelgen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/kylef/PathKit.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
[1/1411] Fetching pathkit
[1060/2999] Fetching pathkit, commander
[3000/7007] Fetching pathkit, commander, stencilswiftkit
[3161/12300] Fetching pathkit, commander, stencilswiftkit, stencil
[8895/23159] Fetching pathkit, commander, stencilswiftkit, stencil, yams
Fetched https://github.com/kylef/Stencil.git from cache (0.45s)
[5230/17866] Fetching pathkit, commander, stencilswiftkit, yams
Fetched https://github.com/kylef/Commander.git from cache (2.23s)
Fetched https://github.com/kylef/PathKit.git from cache (2.24s)
Fetched https://github.com/jpsim/Yams.git from cache (2.27s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.33s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.29s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.55s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.37s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.39s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.42s)
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.23s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.72s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/580] Fetching packageconfig
[581/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.22s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.23s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.00s)
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.00s)
Computed https://github.com/kylef/Stencil.git at 0.13.1 (1.36s)
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.00s)
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (0.42s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Example': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Example': File not found.
warning: 'stencilswiftkit': Conflicting identity for stencil: dependency 'github.com/stencilproject/stencil' and dependency 'github.com/kylef/stencil' both point to the same package identity 'stencil'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftgen/stencilswiftkit->github.com/stencilproject/stencil (B) /host/spi-builder-workspace->github.com/kylef/stencil. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/21] Write sources
[6/21] Compiling writer.c
[7/21] Compiling reader.c
[8/21] Compiling parser.c
[9/21] Write swift-version-24593BA9C3E375BF.txt
[10/21] Compiling api.c
[11/32] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/32] 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
[13/32] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/47] 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.
[16/49] 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
[17/49] 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.
[18/49] 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.
[19/49] 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.
[20/49] 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.
[21/49] Compiling Yams Emitter.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.
[22/49] Compiling Yams Encoder.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.
[23/49] Compiling Yams Constructor.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.
[24/49] 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.
[25/49] Compiling Yams YamlError.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.
[26/49] Compiling Yams shim.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.
[27/49] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/49] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[31/49] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[32/49] 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.
[33/49] 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.
[34/50] 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.
[35/50] 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.
[36/50] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[37/50] 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.
[38/50] 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.
[39/50] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[40/50] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[41/50] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[42/50] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
BUILD FAILURE 6.2 wasm