Build Information
Failed to build swift-template, reference main (7558b6
), with Swift 6.1 for Wasm on 28 May 2025 12:59:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/BinaryBirds/swift-template.git
Reference: main
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/BinaryBirds/swift-template
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7558b64 Generate command ignores .git directory (#3)
Cloned https://github.com/BinaryBirds/swift-template.git
Revision (git rev-parse @):
7558b640d6f5a85c6daf85e7d983627ad2154553
SUCCESS checkout https://github.com/BinaryBirds/swift-template.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/BinaryBirds/swift-template.git
https://github.com/BinaryBirds/swift-template.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "console-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/console-kit"
},
{
"identity" : "path-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/binarybirds/path-kit"
},
{
"identity" : "shell-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/binarybirds/shell-kit"
},
{
"identity" : "git-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/binarybirds/git-kit"
},
{
"identity" : "build-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/binarybirds/build-kit"
},
{
"identity" : "plural-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/binarybirds/plural-kit.git"
}
],
"manifest_display_name" : "swift-template",
"name" : "swift-template",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "swift-template-cli",
"targets" : [
"SwiftTemplateCli"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftTemplate",
"targets" : [
"SwiftTemplate"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftTemplateTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTemplateTests",
"path" : "Tests/SwiftTemplateTests",
"sources" : [
"SwiftTemplateTests.swift"
],
"target_dependencies" : [
"SwiftTemplate"
],
"type" : "test"
},
{
"c99name" : "SwiftTemplateCli",
"module_type" : "SwiftTarget",
"name" : "SwiftTemplateCli",
"path" : "Sources/SwiftTemplateCli",
"product_dependencies" : [
"ConsoleKit"
],
"product_memberships" : [
"swift-template-cli"
],
"sources" : [
"Commands/CreateCommand.swift",
"Commands/GenerateCommand.swift",
"Commands/InstallCommand.swift",
"Commands/ListCommand.swift",
"Commands/RemoveCommand.swift",
"Commands/UpdateCommand.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftTemplate"
],
"type" : "executable"
},
{
"c99name" : "SwiftTemplate",
"module_type" : "SwiftTarget",
"name" : "SwiftTemplate",
"path" : "Sources/SwiftTemplate",
"product_dependencies" : [
"PathKit",
"ShellKit",
"GitKit",
"BuildKit",
"PluralKit"
],
"product_memberships" : [
"swift-template-cli",
"SwiftTemplate"
],
"sources" : [
"String+CapitalizedFirstCharacter.swift",
"Template.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/vapor/console-kit
Fetching https://github.com/binarybirds/git-kit
Fetching https://github.com/binarybirds/shell-kit
Fetching https://github.com/binarybirds/build-kit
Fetching https://github.com/binarybirds/path-kit
Fetching https://github.com/binarybirds/plural-kit.git
[1/48] Fetching shell-kit
[49/153] Fetching shell-kit, git-kit
[154/170] Fetching shell-kit, git-kit, plural-kit
[171/5747] Fetching shell-kit, git-kit, plural-kit, console-kit
[1845/5783] Fetching shell-kit, git-kit, plural-kit, console-kit, path-kit
[2884/5804] Fetching shell-kit, git-kit, plural-kit, console-kit, path-kit, build-kit
Fetched https://github.com/binarybirds/plural-kit.git from cache (0.28s)
[5676/5787] Fetching shell-kit, git-kit, console-kit, path-kit, build-kit
Fetched https://github.com/binarybirds/shell-kit from cache (1.32s)
Fetched https://github.com/binarybirds/path-kit from cache (1.32s)
Fetched https://github.com/binarybirds/build-kit from cache (1.32s)
Fetched https://github.com/binarybirds/git-kit from cache (1.32s)
Fetched https://github.com/vapor/console-kit from cache (1.32s)
Computing version for https://github.com/binarybirds/plural-kit.git
Computed https://github.com/binarybirds/plural-kit.git at 1.0.0 (1.84s)
Computing version for https://github.com/binarybirds/build-kit
Computed https://github.com/binarybirds/build-kit at 1.0.1 (0.48s)
Computing version for https://github.com/binarybirds/git-kit
Computed https://github.com/binarybirds/git-kit at 1.0.1 (0.51s)
Computing version for https://github.com/binarybirds/shell-kit
Computed https://github.com/binarybirds/shell-kit at 1.0.1 (0.50s)
Computing version for https://github.com/binarybirds/path-kit
Computed https://github.com/binarybirds/path-kit at 1.1.0 (0.56s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.2 (0.49s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/79920] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.88s)
Fetched https://github.com/apple/swift-nio.git from cache (5.96s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (8.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.58s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[572/6101] Fetching swift-system, swift-atomics
[4455/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.09s)
[6024/18301] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.85s)
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/binarybirds/plural-kit.git
Working copy of https://github.com/binarybirds/plural-kit.git resolved at 1.0.0
Creating working copy for https://github.com/binarybirds/shell-kit
Working copy of https://github.com/binarybirds/shell-kit resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/binarybirds/build-kit
Working copy of https://github.com/binarybirds/build-kit resolved at 1.0.1
Creating working copy for https://github.com/binarybirds/git-kit
Working copy of https://github.com/binarybirds/git-kit resolved at 1.0.1
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.2
Creating working copy for https://github.com/binarybirds/path-kit
Working copy of https://github.com/binarybirds/path-kit resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/29] Write sources
[12/29] Compiling c-nioatomics.c
[13/29] Write swift-version-24593BA9C3E375BF.txt
[14/29] Compiling c-atomics.c
[16/47] Emitting module Logging
[17/47] Compiling Logging Locks.swift
[18/47] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[19/47] Compiling Logging LogHandler.swift
[20/47] Compiling Logging MetadataProvider.swift
[21/47] Compiling NIOConcurrencyHelpers lock.swift
[22/47] Compiling NIOConcurrencyHelpers atomics.swift
[23/47] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[24/47] Emitting module NIOConcurrencyHelpers
[25/47] Compiling NIOConcurrencyHelpers NIOLock.swift
[26/48] Compiling Logging Logging.swift
[27/49] Compiling PluralKit String+Plural.swift
[29/49] Compiling ShellKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/shell-kit/Sources/ShellKit/Shell.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | #if os(macOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/49] Emitting module ShellKit
/host/spi-builder-workspace/.build/checkouts/shell-kit/Sources/ShellKit/Shell.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | #if os(macOS)
[32/49] Compiling PathKit Path.swift
[33/49] Emitting module PathKit
[34/50] Compiling PluralKit PluralKit.swift
[35/50] Emitting module PluralKit
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/15] Write swift-version-24593BA9C3E375BF.txt
[2/33] Compiling PluralKit String+Plural.swift
[3/33] Compiling Logging Locks.swift
[4/33] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/33] Emitting module ShellKit
/host/spi-builder-workspace/.build/checkouts/shell-kit/Sources/ShellKit/Shell.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | #if os(macOS)
[6/33] Compiling ShellKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/shell-kit/Sources/ShellKit/Shell.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | #if os(macOS)
[7/33] Emitting module PluralKit
[8/33] Emitting module PathKit
BUILD FAILURE 6.1 wasm