Build Information
Failed to build Genesis, reference master (f09679
), with Swift 6.1 for Wasm on 28 May 2025 16:53:44 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Genesis.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/Genesis
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f096796 Update README.md
Cloned https://github.com/yonaskolb/Genesis.git
Revision (git rev-parse @):
f0967966fafba5a36665778a91c9d1e8245cb7fd
SUCCESS checkout https://github.com/yonaskolb/Genesis.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/yonaskolb/Genesis.git
https://github.com/yonaskolb/Genesis.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "stencilswiftkit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGen/StencilSwiftKit"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams"
},
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.3",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI"
}
],
"manifest_display_name" : "Genesis",
"name" : "Genesis",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "genesis",
"targets" : [
"Genesis"
],
"type" : {
"executable" : null
}
},
{
"name" : "GenesisKit",
"targets" : [
"GenesisKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GenesisKitTests",
"module_type" : "SwiftTarget",
"name" : "GenesisKitTests",
"path" : "Tests/GenesisKitTests",
"sources" : [
"Fixtures.swift",
"GeneratorTests.swift",
"TemplateTests.swift",
"WritingTests.swift"
],
"target_dependencies" : [
"GenesisKit"
],
"type" : "test"
},
{
"c99name" : "GenesisKit",
"module_type" : "SwiftTarget",
"name" : "GenesisKit",
"path" : "Sources/GenesisKit",
"product_dependencies" : [
"SwiftCLI",
"StencilSwiftKit",
"Yams",
"PathKit",
"Rainbow"
],
"product_memberships" : [
"genesis",
"GenesisKit"
],
"sources" : [
"File.swift",
"GenesisTemplate.swift",
"Input.swift",
"Option.swift",
"TemplateGenerator.swift"
],
"type" : "library"
},
{
"c99name" : "GenesisCLITests",
"module_type" : "SwiftTarget",
"name" : "GenesisCLITests",
"path" : "Tests/GenesisCLITests",
"sources" : [
"CLITests.swift"
],
"target_dependencies" : [
"GenesisCLI"
],
"type" : "test"
},
{
"c99name" : "GenesisCLI",
"module_type" : "SwiftTarget",
"name" : "GenesisCLI",
"path" : "Sources/GenesisCLI",
"product_dependencies" : [
"SwiftCLI"
],
"product_memberships" : [
"genesis"
],
"sources" : [
"GenerateCommand.swift",
"GenesisCLI.swift",
"Streams.swift"
],
"target_dependencies" : [
"GenesisKit"
],
"type" : "library"
},
{
"c99name" : "Genesis",
"module_type" : "SwiftTarget",
"name" : "Genesis",
"path" : "Sources/Genesis",
"product_memberships" : [
"genesis"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GenesisCLI"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SwiftGen/StencilSwiftKit
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
[411/5419] Fetching pathkit, stencilswiftkit
[1301/6615] Fetching pathkit, stencilswiftkit, rainbow
[3210/11689] Fetching pathkit, stencilswiftkit, rainbow, swiftcli
[5545/22346] Fetching pathkit, stencilswiftkit, rainbow, swiftcli, yams
Fetched https://github.com/kylef/PathKit from cache (1.42s)
Fetched https://github.com/onevcat/Rainbow from cache (1.43s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.43s)
Fetched https://github.com/jpsim/Yams from cache (1.48s)
[1684/4008] Fetching stencilswiftkit
Fetched https://github.com/SwiftGen/StencilSwiftKit from cache (2.32s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (2.82s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.49s)
Fetching https://github.com/kylef/Spectre.git
[11/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.34s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.69s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit
Computed https://github.com/SwiftGen/StencilSwiftKit at 2.10.1 (0.54s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[510/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (1.21s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.24s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.98s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[390/1540] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.47s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.47s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.16s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.01s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.51s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.50s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.46s)
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.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/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit
Working copy of https://github.com/SwiftGen/StencilSwiftKit resolved at 2.10.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Building for debugging...
[0/27] Write sources
[9/27] Compiling reader.c
[10/27] Compiling writer.c
[11/27] Compiling parser.c
[12/27] Compiling api.c
[13/27] Write swift-version-24593BA9C3E375BF.txt
[14/27] Compiling emitter.c
[15/27] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/81] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[18/83] Compiling Yams Tag.swift
[19/83] Compiling Yams YamlAnchorProviding.swift
[20/85] Compiling Rainbow String+Rainbow.swift
[21/85] Compiling Rainbow StringGenerator.swift
[22/86] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[23/86] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[24/86] Compiling Rainbow Style.swift
[25/86] Compiling Yams YamlError.swift
[27/86] Compiling Yams Emitter.swift
[28/86] Compiling Yams Encoder.swift
[29/86] Compiling Yams Decoder.swift
[32/86] Compiling Rainbow OutputTarget.swift
[33/86] Compiling Rainbow Rainbow.swift
[34/86] Emitting module Rainbow
[35/86] Compiling Yams AliasDereferencingStrategy.swift
[36/86] Compiling Yams Anchor.swift
[37/86] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[42/87] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[43/87] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[47/87] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[48/87] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[49/87] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[53/87] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[54/87] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[56/87] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[61/87] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[62/87] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[63/87] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/87] 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
[65/87] 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
[66/87] Emitting module Yams
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/66] 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
[3/66] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[4/66] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[5/68] Compiling Yams Tag.swift
[7/70] 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
[8/70] Compiling Rainbow String+Rainbow.swift
BUILD FAILURE 6.1 wasm