Build Information
Failed to build iONess, reference 2.0.2 (39e7b9
), with Swift 6.1 for Wasm on 28 May 2025 07:19:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/oss-homecredit-id/iONess.git
Reference: 2.0.2
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/oss-homecredit-id/iONess
* tag 2.0.2 -> FETCH_HEAD
HEAD is now at 39e7b96 Update iONess.podspec
Cloned https://github.com/oss-homecredit-id/iONess.git
Revision (git rev-parse @):
39e7b96ac685e122f847e9fc5f19d43721ed2ea7
SUCCESS checkout https://github.com/oss-homecredit-id/iONess.git at 2.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/oss-homecredit-id/iONess.git
https://github.com/oss-homecredit-id/iONess.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "ergo",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nayanda1/Ergo.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.2.1",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "iONess",
"name" : "iONess",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "iONess",
"targets" : [
"iONess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "iONessTests",
"module_type" : "SwiftTarget",
"name" : "iONessTests",
"path" : "Example/Tests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"IntegratedTest.swift",
"Mock.swift",
"ResponseDecoderSpec.swift"
],
"target_dependencies" : [
"iONess"
],
"type" : "test"
},
{
"c99name" : "iONess",
"module_type" : "SwiftTarget",
"name" : "iONess",
"path" : "iONess/Classes",
"product_dependencies" : [
"Ergo"
],
"product_memberships" : [
"iONess"
],
"sources" : [
"Common/LockRunner.swift",
"Common/URLCompatible.swift",
"Control/DuplicatedHandler.swift",
"Control/HTTPValidator.swift",
"Control/ResponseValidator.swift",
"Control/RetryControl.swift",
"EncoderAndDecoder/RequestBodyEncoder.swift",
"EncoderAndDecoder/ResponseDecoder.swift",
"Manager/NetworkSessionManager+Extensions.swift",
"Manager/NetworkSessionManager.swift",
"Model/HTTPRequestMessage.swift",
"Model/HTTPResponseMessage.swift",
"Model/NetworkRequest.swift",
"Model/NetworkResult.swift",
"Model/NetworkSessionError.swift",
"Model/RequestMessage.swift",
"Request/RequestBuilder.swift",
"Request/RequestHandler.swift",
"Request/RequestPromise.swift",
"Request/Resumable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/nayanda1/Ergo.git
[1/673] Fetching ergo
[674/15428] Fetching ergo, quick
[8347/35012] Fetching ergo, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.08s)
Fetched https://github.com/nayanda1/Ergo.git from cache (1.18s)
Fetched https://github.com/Quick/Nimble.git from cache (1.20s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (1.95s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.37s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.84s)
Computing version for https://github.com/nayanda1/Ergo.git
Computed https://github.com/nayanda1/Ergo.git at 1.4.0 (0.45s)
Fetching https://github.com/hainayanda/Chary.git
[1/514] Fetching chary
Fetched https://github.com/hainayanda/Chary.git from cache (0.22s)
Computing version for https://github.com/hainayanda/Chary.git
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (2.18s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.52s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.77s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.32s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at 1.0.7
Creating working copy for https://github.com/nayanda1/Ergo.git
Working copy of https://github.com/nayanda1/Ergo.git resolved at 1.4.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module Chary
/host/spi-builder-workspace/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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
[6/7] Compiling Chary Atomic.swift
/host/spi-builder-workspace/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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()
[7/7] Compiling Chary DispatchQueue+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module Chary
/host/spi-builder-workspace/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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
[3/4] Compiling Chary DispatchQueue+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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)
[4/4] Compiling Chary Atomic.swift
/host/spi-builder-workspace/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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/.build/checkouts/Chary/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.1 wasm