The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CommonShell, reference 0.0.1 (f4e40f), with Swift 6.2 for Wasm on 11 Nov 2025 13:47:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/common-shell.git
Reference: 0.0.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/wrkstrm/common-shell
 * tag               0.0.1      -> FETCH_HEAD
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 0.0.1
========================================
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-4609320-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-docc-plugin
Fetching https://github.com/wrkstrm/common-process.git
Fetching https://github.com/wrkstrm/WrkstrmFoundation.git
Fetching https://github.com/wrkstrm/wrkstrm-performance.git
[1/434] Fetching common-process
[10/844] Fetching common-process, wrkstrm-performance
[845/3004] Fetching common-process, wrkstrm-performance, swift-docc-plugin
[867/6626] Fetching common-process, wrkstrm-performance, swift-docc-plugin, wrkstrmfoundation
Fetched https://github.com/wrkstrm/wrkstrm-performance.git from cache (0.90s)
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.90s)
Fetching https://github.com/wrkstrm/WrkstrmLog.git
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/wrkstrm/common-process.git from cache (0.97s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.97s)
[1/2017] Fetching wrkstrmlog
[2018/18703] Fetching wrkstrmlog, swift-argument-parser
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.35s)
[4506/16686] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/wrkstrm/wrkstrm-performance.git
Computed https://github.com/wrkstrm/wrkstrm-performance.git at 0.1.0 (2.22s)
Fetching https://github.com/wrkstrm/WrkstrmMain.git
[1/1702] Fetching wrkstrmmain
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.23s)
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.91s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-system
[1/5182] Fetching swift-system
[1867/12190] Fetching swift-system, swift-tools-support-core
[5677/14648] Fetching swift-system, swift-tools-support-core, swift-subprocess
Fetched https://github.com/apple/swift-system from cache (0.53s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.60s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.66s)
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.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.39s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.23s)
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.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
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.49s)
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.78s)
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.53s)
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/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-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
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/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 2.2.4
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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/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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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] Emitting module SystemPackage
[24/131] Compiling Logging LogHandler.swift
[25/131] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[26/131] Compiling WrkstrmMain Sequence+Decompose.swift
[27/133] Compiling WrkstrmMain Optional+AnyFlattenable.swift
[28/133] Compiling WrkstrmMain OptionalComparisons.swift
[29/133] Compiling WrkstrmMain String+Contains.swift
[30/133] Compiling CommonProcess ProcessPreviewer.swift
[31/133] Compiling CommonProcess ProcessRunnerKind.swift
[32/133] Compiling WrkstrmMain String+Repeat.swift
[37/137] Compiling WrkstrmMain Sequence+Unique.swift
[38/137] Compiling WrkstrmMain Collection+Sorting.swift
[39/137] Compiling WrkstrmMain CommandLine+Executable.swift
[40/137] Compiling WrkstrmMain BinaryTree.swift
[41/137] Compiling WrkstrmMain Tree.swift
[42/137] Compiling WrkstrmMain List.swift
[43/137] Compiling WrkstrmMain Sort.swift
[44/137] Compiling WrkstrmMain IndexedCollection.swift
[45/137] Emitting module WrkstrmMain
[46/137] Compiling WrkstrmMain SortedArray.swift
[47/137] Compiling WrkstrmMain Array+Filter.swift
[48/137] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[60/137] Compiling SystemPackage SystemString.swift
[61/137] Compiling WrkstrmMain JSON.swift
[62/137] Compiling WrkstrmMain KeyedDecodingContainer+FuzzyDecoding.swift
[63/137] Compiling WrkstrmMain Injectable.swift
[67/137] Compiling WrkstrmMain Random.swift
[76/137] Compiling WrkstrmMain JSON+AnyEquatableDictionaryEnum.swift
[77/137] Compiling WrkstrmMain JSON+AnyEquatableStruct.swift
[78/137] Compiling WrkstrmMain JSON+AnyEquatableStructDictionary.swift
[79/137] Compiling WrkstrmMain JSON+EmptyCodableStruct.swift
[80/137] Compiling Logging MetadataProvider.swift
[83/137] Compiling WrkstrmMain String+Source.swift
[84/137] Compiling WrkstrmMain StringError.swift
[85/137] Compiling WrkstrmMain UInt+BitSetting.swift
[86/137] Compiling WrkstrmMain AnyCodingKey.swift
[87/137] Compiling WrkstrmMain DynamicCodingKey.swift
[88/137] Compiling WrkstrmMain JSON+AnyDictionary.swift
[89/137] Compiling WrkstrmMain JSON+AnyEquatableArrayEnum.swift
[90/137] Emitting module ArgumentParserToolInfo
[91/137] Compiling ArgumentParserToolInfo ToolInfo.swift
[93/139] Wrapping AST for ArgumentParserToolInfo for debugging
[94/157] Wrapping AST for SystemPackage for debugging
[96/183] Compiling ArgumentParser ArgumentDefinition.swift
[97/183] Compiling ArgumentParser ArgumentSet.swift
[98/183] Compiling ArgumentParser ParsableCommand.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 |     }
[99/183] 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 |     }
[100/183] Compiling ArgumentParser ArgumentHelp.swift
[101/183] Compiling ArgumentParser ArgumentVisibility.swift
[102/183] Compiling ArgumentParser HelpCommand.swift
[103/183] Compiling ArgumentParser HelpGenerator.swift
[104/183] Compiling ArgumentParser MessageInfo.swift
[105/183] Compiling ArgumentParser UsageGenerator.swift
[106/183] Compiling ArgumentParser OptionGroup.swift
[107/183] Compiling ArgumentParser AsyncParsableCommand.swift
[108/183] Compiling ArgumentParser CommandConfiguration.swift
[109/183] Compiling ArgumentParser CommandGroup.swift
[110/183] Compiling ArgumentParser EnumerableFlag.swift
[111/183] Compiling ArgumentParser ExpressibleByArgument.swift
[112/183] Compiling ArgumentParser SplitArguments.swift
[113/183] Compiling ArgumentParser DumpHelpGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[114/184] 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/184] Compiling ArgumentParser ZshCompletionsGenerator.swift
[116/184] Compiling ArgumentParser Argument.swift
[117/184] Compiling ArgumentParser ArgumentDiscussion.swift
[118/184] Compiling ArgumentParser BashCompletionsGenerator.swift
[119/184] Compiling ArgumentParser CompletionsGenerator.swift
[120/184] Compiling ArgumentParser FishCompletionsGenerator.swift
BUILD FAILURE 6.2 wasm