Build Information
Failed to build Chary, reference main (bfa364), with Swift 6.3 for Wasm on 21 Apr 2026 14:46:32 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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hainayanda/Chary.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/hainayanda/Chary
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bfa364d Update README.md
Cloned https://github.com/hainayanda/Chary.git
Revision (git rev-parse @):
bfa364d2bfc1911b53e1fd3ce421da013622cfa8
SUCCESS checkout https://github.com/hainayanda/Chary.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/hainayanda/Chary.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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling Chary DispatchQueue+Extensions.swift
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:13:21: error: cannot find type 'DispatchQueue' in scope
11 |
12 | struct QueueReference {
13 | weak var queue: DispatchQueue?
| `- error: cannot find type 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:16:32: error: cannot find 'DispatchSpecificKey' in scope
14 | }
15 |
16 | fileprivate let detectionKey = DispatchSpecificKey<QueueReference>()
| `- error: cannot find 'DispatchSpecificKey' in scope
17 |
18 | extension DispatchQueue {
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:18:11: error: cannot find type 'DispatchQueue' in scope
16 | fileprivate let detectionKey = DispatchSpecificKey<QueueReference>()
17 |
18 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
19 |
20 | /// Try to get current queue. It will only show the one registered or accessible from OperationQueue.current, or SystemThread
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:66:11: error: cannot find type 'DispatchQueue' in scope
64 | // MARK: SafeSync
65 |
66 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
67 |
68 | /// Perform safe synchronous task. It will run the block right away if turns out its on the same queue as the target
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:21:32: error: cannot find type 'DispatchQueue' in scope
19 |
20 | /// Try to get current queue. It will only show the one registered or accessible from OperationQueue.current, or SystemThread
21 | public static var current: DispatchQueue? {
| `- error: cannot find type 'DispatchQueue' in scope
22 | registerSystemDetection()
23 | if let registeredQueue = getSpecific(key: detectionKey)?.queue {
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:58:49: error: cannot find type 'DispatchQueue' in scope
56 | /// - Parameter queue: Queue to check
57 | /// - Returns: True if the current queue is the same as the given queue
58 | public static func isCurrentQueue(is queue: DispatchQueue) -> Bool {
| `- error: cannot find type 'DispatchQueue' in scope
59 | queue.registerDetection()
60 | return current == queue
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:72:16: error: cannot find type 'DispatchWorkItemFlags' in scope
70 | /// - returns the value returned by the work item.
71 | public func safeSync<Return>(
72 | flags: DispatchWorkItemFlags = [],
| `- error: cannot find type 'DispatchWorkItemFlags' in scope
73 | execute block: () throws -> Return) rethrows -> Return {
74 | return try ifAtDifferentQueue {
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:91:44: error: cannot find type 'DispatchWorkItem' in scope
89 | /// Perform safe synchronous task. It will run the block right away if turns out its on the same queue as the target
90 | /// - Parameter workItem: The work item to be invoked on the queue.
91 | public func safeSync(execute workItem: DispatchWorkItem) {
| `- error: cannot find type 'DispatchWorkItem' in scope
92 | safeSync {
93 | workItem.perform()
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:99:36: error: cannot find type 'DispatchQoS' in scope
97 | /// Perform asynchronous task if in different queue than the target. It will run the block right away if turns out its on the same queue as the target
98 | /// - Parameter block: The work item to be invoked on the queue.
99 | public func asyncIfNeeded(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], execute block: @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
100 | ifAtDifferentQueue {
101 | async(qos: qos, flags: flags, execute: block)
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:99:71: error: cannot find type 'DispatchWorkItemFlags' in scope
97 | /// Perform asynchronous task if in different queue than the target. It will run the block right away if turns out its on the same queue as the target
98 | /// - Parameter block: The work item to be invoked on the queue.
99 | public func asyncIfNeeded(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], execute block: @escaping () -> Void) {
| `- error: cannot find type 'DispatchWorkItemFlags' in scope
100 | ifAtDifferentQueue {
101 | async(qos: qos, flags: flags, execute: block)
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:109:49: error: cannot find type 'DispatchWorkItem' in scope
107 | /// Perform asynchronous task if in different queue than the target. It will run the block right away if turns out its on the same queue as the target
108 | /// - Parameter workItem: The work item to be invoked on the queue.
109 | public func asyncIfNeeded(execute workItem: DispatchWorkItem) {
| `- error: cannot find type 'DispatchWorkItem' in scope
110 | ifAtDifferentQueue {
111 | async(execute: workItem)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Chary
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:29:32: error: cannot find type 'DispatchQueue' in scope
27 |
28 | /// The queue where the atomic run
29 | public var projectedValue: DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
30 | get {
31 | dispatcher
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:13:21: error: cannot find type 'DispatchQueue' in scope
11 | /// Property marked by this property wrapper will set and get atomically
12 | public final class Atomic<Wrapped> {
13 | var dispatcher: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
14 | var _wrappedValue: Wrapped
15 | public var wrappedValue: Wrapped {
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:45:31: error: cannot find type 'DispatchQueue' in scope
43 | }
44 |
45 | public init(_ dispatcher: DispatchQueue, wrappedValue: Wrapped) {
| `- error: cannot find type 'DispatchQueue' in scope
46 | self.dispatcher = dispatcher
47 | self._wrappedValue = wrappedValue
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:13:21: error: cannot find type 'DispatchQueue' in scope
11 |
12 | struct QueueReference {
13 | weak var queue: DispatchQueue?
| `- error: cannot find type 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:16:32: error: cannot find 'DispatchSpecificKey' in scope
14 | }
15 |
16 | fileprivate let detectionKey = DispatchSpecificKey<QueueReference>()
| `- error: cannot find 'DispatchSpecificKey' in scope
17 |
18 | extension DispatchQueue {
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:18:11: error: cannot find type 'DispatchQueue' in scope
16 | fileprivate let detectionKey = DispatchSpecificKey<QueueReference>()
17 |
18 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
19 |
20 | /// Try to get current queue. It will only show the one registered or accessible from OperationQueue.current, or SystemThread
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:66:11: error: cannot find type 'DispatchQueue' in scope
64 | // MARK: SafeSync
65 |
66 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
67 |
68 | /// Perform safe synchronous task. It will run the block right away if turns out its on the same queue as the target
[5/5] Compiling Chary Atomic.swift
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:29:32: error: cannot find type 'DispatchQueue' in scope
27 |
28 | /// The queue where the atomic run
29 | public var projectedValue: DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
30 | get {
31 | dispatcher
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:13:21: error: cannot find type 'DispatchQueue' in scope
11 | /// Property marked by this property wrapper will set and get atomically
12 | public final class Atomic<Wrapped> {
13 | var dispatcher: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
14 | var _wrappedValue: Wrapped
15 | public var wrappedValue: Wrapped {
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:45:31: error: cannot find type 'DispatchQueue' in scope
43 | }
44 |
45 | public init(_ dispatcher: DispatchQueue, wrappedValue: Wrapped) {
| `- error: cannot find type 'DispatchQueue' in scope
46 | self.dispatcher = dispatcher
47 | self._wrappedValue = wrappedValue
/host/spi-builder-workspace/Chary/Classes/Atomic.swift:40:27: error: cannot find 'DispatchQueue' in scope
38 |
39 | public init(wrappedValue: Wrapped) {
40 | self.dispatcher = DispatchQueue(label: "Chary_Atomic_\(UUID().uuidString)")
| `- error: cannot find 'DispatchQueue' in scope
41 | self._wrappedValue = wrappedValue
42 | self.dispatcher.registerDetection()
BUILD FAILURE 6.3 wasm