Build Information
Failed to build CommonShell, reference main (f4e40f), with Swift 6.2 for Wasm on 11 Nov 2025 13:47:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/common-shell.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/wrkstrm/common-shell
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f4e40f9 Fix formatting in workflow name
Cloned https://github.com/wrkstrm/common-shell.git
Revision (git rev-parse @):
f4e40f97ff519440cdf87a8edcaf50b6126c1a02
SUCCESS checkout https://github.com/wrkstrm/common-shell.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/wrkstrm/common-shell.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/wrkstrm/WrkstrmFoundation.git
Fetching https://github.com/wrkstrm/wrkstrm-performance.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/wrkstrm/WrkstrmLog.git
[1/3622] Fetching wrkstrmfoundation
[2030/4032] Fetching wrkstrmfoundation, wrkstrm-performance
[2440/6049] Fetching wrkstrmfoundation, wrkstrm-performance, wrkstrmlog
[2541/8209] Fetching wrkstrmfoundation, wrkstrm-performance, wrkstrmlog, swift-docc-plugin
[4557/24895] Fetching wrkstrmfoundation, wrkstrm-performance, wrkstrmlog, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.46s)
[8092/21273] Fetching wrkstrm-performance, wrkstrmlog, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.46s)
[6408/19256] Fetching wrkstrm-performance, swift-docc-plugin, swift-argument-parser
Fetching https://github.com/wrkstrm/common-process.git
Fetched https://github.com/wrkstrm/wrkstrm-performance.git from cache (0.90s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.91s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.91s)
[1/434] Fetching common-process
Fetched https://github.com/wrkstrm/common-process.git from cache (0.22s)
Computing version for https://github.com/wrkstrm/wrkstrm-performance.git
Computed https://github.com/wrkstrm/wrkstrm-performance.git at 0.1.0 (1.80s)
Fetching https://github.com/wrkstrm/WrkstrmMain.git
[1/1702] Fetching wrkstrmmain
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.22s)
Computing version for https://github.com/wrkstrm/common-process.git
warning: 'common-process': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmFoundation.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/common-process.git at 0.2.0 (0.90s)
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system
[1/5182] Fetching swift-system
[2/12190] Fetching swift-system, swift-tools-support-core
[1200/14648] Fetching swift-system, swift-tools-support-core, swift-subprocess
Fetched https://github.com/apple/swift-system from cache (0.50s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.54s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.2.1 (1.08s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmMain.git at 2.5.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.55s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.57s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.22s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3577] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.92s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.50s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 2.2.4 (0.55s)
Fetching https://github.com/apple/swift-log.git
[1/4398] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.79s)
Computing version for https://github.com/wrkstrm/WrkstrmFoundation.git
warning: 'wrkstrmfoundation': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmFoundation.git at 2.8.1 (0.64s)
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 2.2.4
Creating working copy for https://github.com/wrkstrm/wrkstrm-performance.git
Working copy of https://github.com/wrkstrm/wrkstrm-performance.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.2.1
Creating working copy for https://github.com/wrkstrm/common-process.git
Working copy of https://github.com/wrkstrm/common-process.git resolved at 0.2.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.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/wrkstrm/WrkstrmFoundation.git
Working copy of https://github.com/wrkstrm/WrkstrmFoundation.git resolved at 2.8.1
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
warning: 'common-process': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmFoundation.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
warning: 'wrkstrmfoundation': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/40] Write sources
[20/40] Compiling CSystem shims.c
[21/40] Write swift-version-24593BA9C3E375BF.txt
[23/127] Compiling SystemPackage FilePath.swift
[24/127] Compiling SystemPackage FilePathComponentView.swift
[25/127] Compiling SystemPackage FilePathComponents.swift
[26/127] Compiling SystemPackage FilePathParsing.swift
[27/127] Compiling SystemPackage FilePathString.swift
[28/127] Compiling SystemPackage FilePermissions.swift
[29/127] Compiling SystemPackage IOCompletion.swift
[30/127] Compiling SystemPackage IORequest.swift
[31/127] Compiling SystemPackage Syscalls.swift
[32/127] Compiling SystemPackage RawIORequest.swift
[33/127] Compiling SystemPackage Backcompat.swift
[34/127] Compiling SystemPackage CInterop.swift
[35/127] Compiling SystemPackage FilePathWindows.swift
[36/127] Compiling SystemPackage FileHelpers.swift
[37/127] Compiling SystemPackage FileOperations.swift
[38/127] Compiling SystemPackage FilePathSyntax.swift
[39/127] Compiling SystemPackage FilePathTemp.swift
[44/133] Compiling SystemPackage FilePathTempPosix.swift
[45/133] Compiling SystemPackage FilePathTempWindows.swift
[46/133] Compiling SystemPackage IORing.swift
[47/133] Emitting module WrkstrmMain
[48/133] Compiling SystemPackage Errno.swift
[49/133] Compiling SystemPackage ErrnoWindows.swift
[50/133] Compiling SystemPackage FileDescriptor.swift
[53/133] Compiling Logging Locks.swift
[54/133] Compiling Logging LogHandler.swift
[55/133] Emitting module Logging
[56/133] Emitting module SystemPackage
[62/137] Compiling SystemPackage Util+StringArray.swift
[63/137] Compiling SystemPackage Util.swift
[64/137] Compiling SystemPackage UtilConsumers.swift
[65/137] Compiling WrkstrmMain Random.swift
[66/137] Emitting module ArgumentParserToolInfo
[67/137] Compiling ArgumentParserToolInfo ToolInfo.swift
[68/138] Wrapping AST for ArgumentParserToolInfo for debugging
[70/182] Compiling Logging MetadataProvider.swift
[71/182] Compiling ArgumentParser CommandGroup.swift
[72/182] Compiling ArgumentParser EnumerableFlag.swift
[73/182] Compiling ArgumentParser ExpressibleByArgument.swift
[74/182] Compiling ArgumentParser ArgumentVisibility.swift
[75/182] Compiling ArgumentParser ArgumentDiscussion.swift
[76/182] Compiling ArgumentParser ArgumentHelp.swift
[77/182] Compiling ArgumentParser OptionGroup.swift
[78/182] Compiling ArgumentParser AsyncParsableCommand.swift
[79/182] Compiling ArgumentParser CommandConfiguration.swift
[80/182] Compiling ArgumentParser CompletionKind.swift
[81/182] Compiling ArgumentParser Errors.swift
[82/182] Compiling ArgumentParser Flag.swift
[83/182] Compiling ArgumentParser NameSpecification.swift
[84/182] Compiling ArgumentParser InputOrigin.swift
[85/182] Compiling ArgumentParser Name.swift
[86/182] Compiling ArgumentParser Parsed.swift
[87/182] Compiling ArgumentParser ParsedValues.swift
[88/182] Compiling ArgumentParser ArgumentDefinition.swift
[89/182] Compiling ArgumentParser ArgumentSet.swift
[90/182] Compiling ArgumentParser CommandParser.swift
[91/182] Compiling ArgumentParser InputKey.swift
[92/182] Compiling ArgumentParser Option.swift
[93/182] Compiling ArgumentParser ParsableArguments.swift
[94/182] Compiling ArgumentParser ParsableCommand.swift
[95/182] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:51:17: error: cannot find 'DispatchQueue' in scope
49 | public enum ProcessMetrics {
50 | private final class Storage: @unchecked Sendable {
51 | let queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
52 | label: "common-process.metrics.recorder",
53 | attributes: .concurrent,
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:53:20: error: cannot infer contextual base in reference to member 'concurrent'
51 | let queue = DispatchQueue(
52 | label: "common-process.metrics.recorder",
53 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
54 | )
55 | var recorder: any ProcessMetricsRecorder = NoopProcessMetricsRecorder()
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:63:32: error: cannot infer contextual base in reference to member 'barrier'
61 | /// - Parameter recorder: Recorder to receive metrics callbacks.
62 | public static func configure(recorder: any ProcessMetricsRecorder) {
63 | storage.queue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
64 | storage.recorder = recorder
65 | }
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:51:17: error: cannot find 'DispatchQueue' in scope
49 | public enum ProcessMetrics {
50 | private final class Storage: @unchecked Sendable {
51 | let queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
52 | label: "common-process.metrics.recorder",
53 | attributes: .concurrent,
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:53:20: error: cannot infer contextual base in reference to member 'concurrent'
51 | let queue = DispatchQueue(
52 | label: "common-process.metrics.recorder",
53 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
54 | )
55 | var recorder: any ProcessMetricsRecorder = NoopProcessMetricsRecorder()
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:63:32: error: cannot infer contextual base in reference to member 'barrier'
61 | /// - Parameter recorder: Recorder to receive metrics callbacks.
62 | public static func configure(recorder: any ProcessMetricsRecorder) {
63 | storage.queue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
64 | storage.recorder = recorder
65 | }
[109/182] Compiling ArgumentParser ParserError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[114/183] Emitting module CommonProcess
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:51:17: error: cannot find 'DispatchQueue' in scope
49 | public enum ProcessMetrics {
50 | private final class Storage: @unchecked Sendable {
51 | let queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
52 | label: "common-process.metrics.recorder",
53 | attributes: .concurrent,
/host/spi-builder-workspace/.build/checkouts/common-process/sources/common-process/ProcessMetrics.swift:53:20: error: cannot infer contextual base in reference to member 'concurrent'
51 | let queue = DispatchQueue(
52 | label: "common-process.metrics.recorder",
53 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
54 | )
55 | var recorder: any ProcessMetricsRecorder = NoopProcessMetricsRecorder()
[115/183] Compiling ArgumentParser BashCompletionsGenerator.swift
[116/183] Compiling ArgumentParser CompletionsGenerator.swift
[117/183] Compiling ArgumentParser FishCompletionsGenerator.swift
[117/183] Wrapping AST for WrkstrmMain for debugging
BUILD FAILURE 6.2 wasm