Build Information
Failed to build Stencil, reference 0.15.1 (4f222a
), with Swift 6.1 for Wasm on 28 May 2025 08:44:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/stencilproject/Stencil.git
Reference: 0.15.1
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/stencilproject/Stencil
* tag 0.15.1 -> FETCH_HEAD
HEAD is now at 4f222ac Merge pull request #329 from stencilproject/release/0.15.1
Cloned https://github.com/stencilproject/Stencil.git
Revision (git rev-parse @):
4f222ac85d673f35df29962fc4c36ccfdaf9da5b
SUCCESS checkout https://github.com/stencilproject/Stencil.git at 0.15.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/stencilproject/Stencil.git
https://github.com/stencilproject/Stencil.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "spectre",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Spectre.git"
}
],
"manifest_display_name" : "Stencil",
"name" : "Stencil",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Stencil",
"targets" : [
"Stencil"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "StencilTests",
"module_type" : "SwiftTarget",
"name" : "StencilTests",
"path" : "Tests/StencilTests",
"product_dependencies" : [
"Spectre"
],
"sources" : [
"ContextSpec.swift",
"EnvironmentBaseAndChildTemplateSpec.swift",
"EnvironmentIncludeTemplateSpec.swift",
"EnvironmentSpec.swift",
"ExpressionSpec.swift",
"FilterSpec.swift",
"FilterTagSpec.swift",
"ForNodeSpec.swift",
"Helpers.swift",
"IfNodeSpec.swift",
"IncludeSpec.swift",
"InheritanceSpec.swift",
"LexerSpec.swift",
"LoaderSpec.swift",
"NodeSpec.swift",
"NowNodeSpec.swift",
"ParserSpec.swift",
"StencilSpec.swift",
"TemplateSpec.swift",
"TokenSpec.swift",
"TrimBehaviourSpec.swift",
"VariableSpec.swift"
],
"target_dependencies" : [
"Stencil"
],
"type" : "test"
},
{
"c99name" : "Stencil",
"module_type" : "SwiftTarget",
"name" : "Stencil",
"path" : "Sources/Stencil",
"product_dependencies" : [
"PathKit"
],
"product_memberships" : [
"Stencil"
],
"sources" : [
"Context.swift",
"DynamicMemberLookup.swift",
"Environment.swift",
"Errors.swift",
"Expression.swift",
"Extension.swift",
"FilterTag.swift",
"Filters.swift",
"ForTag.swift",
"IfTag.swift",
"Include.swift",
"Inheritance.swift",
"KeyPath.swift",
"LazyValueWrapper.swift",
"Lexer.swift",
"Loader.swift",
"Node.swift",
"NowTag.swift",
"Parser.swift",
"Template.swift",
"Tokenizer.swift",
"TrimBehaviour.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[143/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.21s)
Fetched https://github.com/kylef/Spectre.git from cache (0.21s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.33s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.38s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] 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
[5/5] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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/3] 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
BUILD FAILURE 6.1 wasm