Build Information
Failed to build Harmonize, reference 1.0.0 (40353d), with Swift 6.2 for Wasm on 4 May 2026 00:34:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perrystreetsoftware/Harmonize.git
Reference: 1.0.0
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
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 40353d4 [GH-7095] Update README.md (#77)
Cloned https://github.com/perrystreetsoftware/Harmonize.git
Revision (git rev-parse @):
40353d4656c90b50bb7a03467dfc19dad22b1f8a
SUCCESS checkout https://github.com/perrystreetsoftware/Harmonize.git at 1.0.0
========================================
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-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/jpsim/Yams.git
[1/11551] Fetching yams
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/jpsim/Yams.git from cache (2.61s)
[1/75039] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.24s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (17.20s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.73s)
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.68s)
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/28] Compiling api.c
[19/32] Emitting module SwiftSyntax600
[19/32] Compiling emitter.c
[20/32] Compiling scanner.c
[22/52] Emitting module Yams
[23/54] Compiling HarmonizeUtils String+Extensions.swift
[24/54] Emitting module SwiftSyntax509
[25/54] Compiling SwiftSyntax509 Empty.swift
[26/55] Compiling SwiftSyntax601 Empty.swift
[27/55] Emitting module SwiftSyntax601
[28/56] Emitting module SwiftSyntax510
[29/56] Compiling SwiftSyntax510 Empty.swift
[30/57] Compiling HarmonizeUtils StaticStringImitator.swift
[31/57] Compiling SwiftSyntax600 Empty.swift
[33/58] Compiling Yams Tag.swift
[34/58] Compiling Yams YamlAnchorProviding.swift
[38/122] Compiling SwiftSyntax SourcePresence.swift
[39/122] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[40/122] Compiling SwiftSyntax RawSyntax.swift
[41/122] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[42/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/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() {}
[44/122] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[45/122] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[46/122] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[47/122] Compiling SwiftSyntax Convenience.swift
[48/122] Compiling SwiftSyntax CustomTraits.swift
[49/122] Compiling SwiftSyntax EditorPlaceholder.swift
[50/122] Compiling SwiftSyntax Identifier.swift
[51/122] Compiling SwiftSyntax MemoryLayout.swift
[52/122] Compiling SwiftSyntax MissingNodeInitializers.swift
[53/122] Compiling SwiftSyntax AbsolutePosition.swift
[54/122] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[55/122] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[56/122] Compiling SwiftSyntax Assert.swift
[57/122] Compiling SwiftSyntax BumpPtrAllocator.swift
[58/122] Compiling SwiftSyntax CommonAncestor.swift
BUILD FAILURE 6.2 wasm