The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Harmonize, reference main (419233), with Swift 6.2 for Wasm on 23 Sep 2026 01:34:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perrystreetsoftware/Harmonize.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/perrystreetsoftware/Harmonize
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4192339 [GH-8992] Update Rule API and fix support for swift test (#85)
Cloned https://github.com/perrystreetsoftware/Harmonize.git
Revision (git rev-parse @):
41923397b3034b375dd1486139448eb1bc38ff22
SUCCESS checkout https://github.com/perrystreetsoftware/Harmonize.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perrystreetsoftware/Harmonize.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/11861] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (0.97s)
[1/80010] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.25s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.20s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.16s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.20s)
Building for debugging...
[0/20] Write sources
[12/20] Compiling _SwiftSyntaxCShims dummy.c
[13/20] Compiling writer.c
[14/20] Compiling reader.c
[15/20] Write swift-version-24593BA9C3E375BF.txt
[16/20] Compiling parser.c
[17/20] Compiling api.c
[18/32] Compiling emitter.c
[20/32] Emitting module SwiftSyntax601
[20/32] Compiling scanner.c
[22/52] Emitting module SwiftSyntax600
[23/52] Compiling SwiftSyntax600 Empty.swift
[24/52] Compiling SwiftSyntax509 Empty.swift
[25/52] Emitting module SwiftSyntax509
[28/54] Compiling Yams Tag.swift
[29/54] Compiling Yams YamlAnchorProviding.swift
[30/56] Compiling SwiftSyntax601 Empty.swift
[32/57] Compiling Yams Mark.swift
[33/57] Compiling Yams Node.Alias.swift
[34/57] Compiling Yams Node.Mapping.swift
[35/57] Compiling SwiftSyntax510 Empty.swift
[36/57] Emitting module SwiftSyntax510
[37/58] Compiling HarmonizeUtils String+Extensions.swift
[39/58] Compiling HarmonizeUtils StaticStringImitator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/122] Emitting module HarmonizeUtils
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:29:25: error: cannot find 'DispatchQueue' in scope
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
28 |     private var elements: [Key: Value] = [:]
29 |     private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
   |                         `- error: cannot find 'DispatchQueue' in scope
30 |
31 |     public init() {}
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:29:92: error: cannot infer contextual base in reference to member 'concurrent'
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
28 |     private var elements: [Key: Value] = [:]
29 |     private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
   |                                                                                            `- error: cannot infer contextual base in reference to member 'concurrent'
30 |
31 |     public init() {}
[41/122] Compiling HarmonizeUtils ConcurrentDictionary.swift
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:29:25: error: cannot find 'DispatchQueue' in scope
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
28 |     private var elements: [Key: Value] = [:]
29 |     private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
   |                         `- error: cannot find 'DispatchQueue' in scope
30 |
31 |     public init() {}
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:29:92: error: cannot infer contextual base in reference to member 'concurrent'
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
28 |     private var elements: [Key: Value] = [:]
29 |     private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
   |                                                                                            `- error: cannot infer contextual base in reference to member 'concurrent'
30 |
31 |     public init() {}
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:51:29: error: cannot infer contextual base in reference to member 'barrier'
49 |     // Removes all elements from the dictionary.
50 |     public func removeAll() {
51 |         queue.async(flags: .barrier) {
   |                             `- error: cannot infer contextual base in reference to member 'barrier'
52 |             self.elements.removeAll()
53 |         }
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:63:29: error: cannot infer contextual base in reference to member 'barrier'
61 |
62 |     private func setValue(key: Key, value: Value?) {
63 |         queue.async(flags: .barrier) {
   |                             `- error: cannot infer contextual base in reference to member 'barrier'
64 |             self.elements[key] = value
65 |         }
BUILD FAILURE 6.2 wasm