Build Information
Failed to build Athena, reference 0.0.12 (a4e351
), with Swift 6.1 for Wasm on 28 May 2025 16:01:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/vsanthanam/Athena.git
Reference: 0.0.12
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/vsanthanam/Athena
* tag 0.0.12 -> FETCH_HEAD
HEAD is now at a4e3517 Add custom string interpolation for `JSONEncodable` conforming types (#26)
Cloned https://github.com/vsanthanam/Athena.git
Revision (git rev-parse @):
a4e3517d00cf0bbef9dc3c7f7b972b3024ff8a76
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vsanthanam/Athena.git at 0.0.12
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vsanthanam/Athena.git
https://github.com/vsanthanam/Athena.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swiftformat",
"requirement" : {
"exact" : [
"0.51.7"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "Athena",
"name" : "Athena",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "Athena",
"targets" : [
"Athena"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AthenaTests",
"module_type" : "SwiftTarget",
"name" : "AthenaTests",
"path" : "Tests/AthenaTests",
"sources" : [
"DeserializerTests.swift",
"EncodeDecodeTests.swift",
"JSONEncodingUTFTestFixtures.swift",
"JSONTests.swift"
],
"target_dependencies" : [
"Athena"
],
"type" : "test"
},
{
"c99name" : "Athena",
"module_type" : "SwiftTarget",
"name" : "Athena",
"path" : "Sources/Athena",
"product_memberships" : [
"Athena"
],
"sources" : [
"Decoder.swift",
"Deserializer.swift",
"DeserializerOptions.swift",
"Encoder.swift",
"EncodingDetector.swift",
"Error.swift",
"Internal/IntExtensions.swift",
"Internal/NumberParser.swift",
"Internal/SerializationOptionsExtensions.swift",
"Internal/StringExtensions.swift",
"Internal/UInt8Extensions.swift",
"Internal/UnicodeEscapeParser.swift",
"JSON.swift",
"JSONCodable.swift",
"JSONSubscriptRepresentable.swift",
"Literal.swift",
"LiteralDecodable.swift",
"Number.swift",
"NumberDecodable.swift",
"Serializer.swift",
"SerializerOptions.swift",
"StringInterpolationExtensions.swift",
"Subscript.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[2050/50231] Fetching swift-docc-plugin, swiftformat
Fetched https://github.com/apple/swift-docc-plugin from cache (22.33s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (22.97s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.51.7 (27.42s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.86s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.24s)
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.3
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
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.51.7
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/27] Emitting module Athena
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:35:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Allow fragments
35 | public static let fragmentsAllowed = Options(rawValue: 1 << 0)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Remove keys from objects with null values
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:38:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Remove keys from objects with null values
38 | public static let nullSkipsKey = Options(rawValue: 1 << 1)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// The default options
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:41:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// The default options
41 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - OptionSet
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:35:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Remove keys from objects with null values
35 | public static let nullSkipsKey = Options(rawValue: 1 << 0)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Add pretty printing format to the string
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:38:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Add pretty printing format to the string
38 | public static let prettyPrinted = Options(rawValue: 1 << 1)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Sort the keys in an object
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:41:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// Sort the keys in an object
41 | public static let sortedKeys = Options(rawValue: 1 << 2)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Allow fragments
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:44:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
42 |
43 | /// Allow fragments
44 | public static let fragmentsAllowed = Options(rawValue: 1 << 4)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Remove escaping slashes
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:48:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
46 | /// Remove escaping slashes
47 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
48 | public static let withoutEscapingSlashes = Options(rawValue: 1 << 5)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// The default options
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:51:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
49 |
50 | /// The default options
51 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - OptionSet
[7/29] Compiling Athena Literal.swift
[8/29] Compiling Athena LiteralDecodable.swift
[9/29] Compiling Athena Number.swift
[10/29] Compiling Athena StringInterpolationExtensions.swift
[11/29] Compiling Athena Subscript.swift
[12/29] Compiling Athena JSON.swift
[13/29] Compiling Athena JSONCodable.swift
[14/29] Compiling Athena JSONSubscriptRepresentable.swift
[15/29] Compiling Athena StringExtensions.swift
[16/29] Compiling Athena UInt8Extensions.swift
[17/29] Compiling Athena UnicodeEscapeParser.swift
[18/29] Compiling Athena IntExtensions.swift
[19/29] Compiling Athena NumberParser.swift
[20/29] Compiling Athena SerializationOptionsExtensions.swift
[21/29] Compiling Athena Encoder.swift
/host/spi-builder-workspace/Sources/Athena/Encoder.swift:98:13: error: cannot find 'DispatchQueue' in scope
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
99 | let json = encode(value)
100 | completionHandler(value, json)
[22/29] Compiling Athena EncodingDetector.swift
/host/spi-builder-workspace/Sources/Athena/Encoder.swift:98:13: error: cannot find 'DispatchQueue' in scope
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
99 | let json = encode(value)
100 | completionHandler(value, json)
[23/29] Compiling Athena Error.swift
/host/spi-builder-workspace/Sources/Athena/Encoder.swift:98:13: error: cannot find 'DispatchQueue' in scope
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
99 | let json = encode(value)
100 | completionHandler(value, json)
[24/29] Compiling Athena NumberDecodable.swift
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:111:13: error: cannot find 'DispatchQueue' in scope
109 | completionHandler: @escaping (JSON, Result<Data, any Swift.Error>) -> Void
110 | ) {
111 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:145:13: error: cannot find 'DispatchQueue' in scope
143 | completionHandler: @escaping (JSON, Result<String, any Swift.Error>) -> Void
144 | ) {
145 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
146 | let result = Result {
147 | try stringify(json, options: options)
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:35:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Remove keys from objects with null values
35 | public static let nullSkipsKey = Options(rawValue: 1 << 0)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Add pretty printing format to the string
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:38:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Add pretty printing format to the string
38 | public static let prettyPrinted = Options(rawValue: 1 << 1)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Sort the keys in an object
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:41:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// Sort the keys in an object
41 | public static let sortedKeys = Options(rawValue: 1 << 2)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Allow fragments
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:44:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
42 |
43 | /// Allow fragments
44 | public static let fragmentsAllowed = Options(rawValue: 1 << 4)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Remove escaping slashes
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:48:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
46 | /// Remove escaping slashes
47 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
48 | public static let withoutEscapingSlashes = Options(rawValue: 1 << 5)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// The default options
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:51:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
49 |
50 | /// The default options
51 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - OptionSet
[25/29] Compiling Athena Serializer.swift
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:111:13: error: cannot find 'DispatchQueue' in scope
109 | completionHandler: @escaping (JSON, Result<Data, any Swift.Error>) -> Void
110 | ) {
111 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:145:13: error: cannot find 'DispatchQueue' in scope
143 | completionHandler: @escaping (JSON, Result<String, any Swift.Error>) -> Void
144 | ) {
145 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
146 | let result = Result {
147 | try stringify(json, options: options)
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:35:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Remove keys from objects with null values
35 | public static let nullSkipsKey = Options(rawValue: 1 << 0)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Add pretty printing format to the string
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:38:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Add pretty printing format to the string
38 | public static let prettyPrinted = Options(rawValue: 1 << 1)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Sort the keys in an object
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:41:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// Sort the keys in an object
41 | public static let sortedKeys = Options(rawValue: 1 << 2)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Allow fragments
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:44:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
42 |
43 | /// Allow fragments
44 | public static let fragmentsAllowed = Options(rawValue: 1 << 4)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Remove escaping slashes
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:48:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
46 | /// Remove escaping slashes
47 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
48 | public static let withoutEscapingSlashes = Options(rawValue: 1 << 5)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// The default options
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:51:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
49 |
50 | /// The default options
51 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - OptionSet
[26/29] Compiling Athena SerializerOptions.swift
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:111:13: error: cannot find 'DispatchQueue' in scope
109 | completionHandler: @escaping (JSON, Result<Data, any Swift.Error>) -> Void
110 | ) {
111 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:145:13: error: cannot find 'DispatchQueue' in scope
143 | completionHandler: @escaping (JSON, Result<String, any Swift.Error>) -> Void
144 | ) {
145 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
146 | let result = Result {
147 | try stringify(json, options: options)
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:35:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Remove keys from objects with null values
35 | public static let nullSkipsKey = Options(rawValue: 1 << 0)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Add pretty printing format to the string
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:38:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Add pretty printing format to the string
38 | public static let prettyPrinted = Options(rawValue: 1 << 1)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Sort the keys in an object
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:41:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// Sort the keys in an object
41 | public static let sortedKeys = Options(rawValue: 1 << 2)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Allow fragments
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:44:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
42 |
43 | /// Allow fragments
44 | public static let fragmentsAllowed = Options(rawValue: 1 << 4)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Remove escaping slashes
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:48:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
46 | /// Remove escaping slashes
47 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
48 | public static let withoutEscapingSlashes = Options(rawValue: 1 << 5)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// The default options
/host/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:51:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Serializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
49 |
50 | /// The default options
51 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Serializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // MARK: - OptionSet
[27/29] Compiling Athena Decoder.swift
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:61: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:118:13: error: cannot find 'DispatchQueue' in scope
116 | completionHandler: @escaping (JSON, Result<T, any Swift.Error>) -> Void
117 | ) where T: JSONDecodable {
118 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
119 | let result = Result {
120 | try decode(type, from: json)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:114:13: error: cannot find 'DispatchQueue' in scope
112 | completionHandler: @escaping (Data, Result<JSON, any Swift.Error>) -> Void
113 | ) {
114 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:200:13: error: cannot find 'DispatchQueue' in scope
198 | completionHandler: @escaping (String, Result<JSON, any Swift.Error>) -> Void
199 | ) {
200 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:24: error: cannot find 'FE_UNDERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_UNDERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:39: error: cannot find 'FE_OVERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_OVERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:37: error: cannot convert value of type 'UInt8' to specified type 'Int32'
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:35:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Allow fragments
35 | public static let fragmentsAllowed = Options(rawValue: 1 << 0)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Remove keys from objects with null values
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:38:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Remove keys from objects with null values
38 | public static let nullSkipsKey = Options(rawValue: 1 << 1)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// The default options
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:41:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// The default options
41 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - OptionSet
[28/29] Compiling Athena Deserializer.swift
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:61: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:118:13: error: cannot find 'DispatchQueue' in scope
116 | completionHandler: @escaping (JSON, Result<T, any Swift.Error>) -> Void
117 | ) where T: JSONDecodable {
118 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
119 | let result = Result {
120 | try decode(type, from: json)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:114:13: error: cannot find 'DispatchQueue' in scope
112 | completionHandler: @escaping (Data, Result<JSON, any Swift.Error>) -> Void
113 | ) {
114 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:200:13: error: cannot find 'DispatchQueue' in scope
198 | completionHandler: @escaping (String, Result<JSON, any Swift.Error>) -> Void
199 | ) {
200 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:24: error: cannot find 'FE_UNDERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_UNDERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:39: error: cannot find 'FE_OVERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_OVERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:37: error: cannot convert value of type 'UInt8' to specified type 'Int32'
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:35:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Allow fragments
35 | public static let fragmentsAllowed = Options(rawValue: 1 << 0)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Remove keys from objects with null values
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:38:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Remove keys from objects with null values
38 | public static let nullSkipsKey = Options(rawValue: 1 << 1)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// The default options
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:41:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// The default options
41 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - OptionSet
[29/29] Compiling Athena DeserializerOptions.swift
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:82:61: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Throws: A ``JSON/Error`` if the value could not be decoded successfully
77 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
78 | public static func decode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
79 | _ type: T.Type = T.self,
80 | from json: JSON
81 | ) async throws -> T where T: JSONDecodable {
82 | try await Task { try decode(type, from: json) }.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | }
84 |
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:118:13: error: cannot find 'DispatchQueue' in scope
116 | completionHandler: @escaping (JSON, Result<T, any Swift.Error>) -> Void
117 | ) where T: JSONDecodable {
118 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
119 | let result = Result {
120 | try decode(type, from: json)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:114:13: error: cannot find 'DispatchQueue' in scope
112 | completionHandler: @escaping (Data, Result<JSON, any Swift.Error>) -> Void
113 | ) {
114 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:200:13: error: cannot find 'DispatchQueue' in scope
198 | completionHandler: @escaping (String, Result<JSON, any Swift.Error>) -> Void
199 | ) {
200 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:24: error: cannot find 'FE_UNDERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_UNDERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:39: error: cannot find 'FE_OVERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_OVERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:37: error: cannot convert value of type 'UInt8' to specified type 'Int32'
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:35:27: warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
33 |
34 | /// Allow fragments
35 | public static let fragmentsAllowed = Options(rawValue: 1 << 0)
| |- warning: static property 'fragmentsAllowed' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fragmentsAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Remove keys from objects with null values
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:38:27: warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
36 |
37 | /// Remove keys from objects with null values
38 | public static let nullSkipsKey = Options(rawValue: 1 << 1)
| |- warning: static property 'nullSkipsKey' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullSkipsKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// The default options
/host/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:41:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A bitmask used to provide customization options when using the static interface of ``JSON/Deserializer``
30 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
31 |
32 | // MARK: - API
:
39 |
40 | /// The default options
41 | public static let `default`: Options = [.fragmentsAllowed]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSON.Deserializer.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - OptionSet
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/26] Emitting module Athena
[6/28] Compiling Athena IntExtensions.swift
[7/28] Compiling Athena NumberParser.swift
[8/28] Compiling Athena SerializationOptionsExtensions.swift
[9/28] Compiling Athena Decoder.swift
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:118:13: error: cannot find 'DispatchQueue' in scope
116 | completionHandler: @escaping (JSON, Result<T, any Swift.Error>) -> Void
117 | ) where T: JSONDecodable {
118 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
119 | let result = Result {
120 | try decode(type, from: json)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:114:13: error: cannot find 'DispatchQueue' in scope
112 | completionHandler: @escaping (Data, Result<JSON, any Swift.Error>) -> Void
113 | ) {
114 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:200:13: error: cannot find 'DispatchQueue' in scope
198 | completionHandler: @escaping (String, Result<JSON, any Swift.Error>) -> Void
199 | ) {
200 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:24: error: cannot find 'FE_UNDERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_UNDERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:39: error: cannot find 'FE_OVERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_OVERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:37: error: cannot convert value of type 'UInt8' to specified type 'Int32'
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
681 | feclearexcept(flags)
682 | let value = try operation()
[10/28] Compiling Athena Deserializer.swift
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:118:13: error: cannot find 'DispatchQueue' in scope
116 | completionHandler: @escaping (JSON, Result<T, any Swift.Error>) -> Void
117 | ) where T: JSONDecodable {
118 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
119 | let result = Result {
120 | try decode(type, from: json)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:114:13: error: cannot find 'DispatchQueue' in scope
112 | completionHandler: @escaping (Data, Result<JSON, any Swift.Error>) -> Void
113 | ) {
114 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:200:13: error: cannot find 'DispatchQueue' in scope
198 | completionHandler: @escaping (String, Result<JSON, any Swift.Error>) -> Void
199 | ) {
200 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:24: error: cannot find 'FE_UNDERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_UNDERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:39: error: cannot find 'FE_OVERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_OVERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:37: error: cannot convert value of type 'UInt8' to specified type 'Int32'
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
681 | feclearexcept(flags)
682 | let value = try operation()
[11/28] Compiling Athena DeserializerOptions.swift
/host/spi-builder-workspace/Sources/Athena/Decoder.swift:118:13: error: cannot find 'DispatchQueue' in scope
116 | completionHandler: @escaping (JSON, Result<T, any Swift.Error>) -> Void
117 | ) where T: JSONDecodable {
118 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
119 | let result = Result {
120 | try decode(type, from: json)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:114:13: error: cannot find 'DispatchQueue' in scope
112 | completionHandler: @escaping (Data, Result<JSON, any Swift.Error>) -> Void
113 | ) {
114 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:200:13: error: cannot find 'DispatchQueue' in scope
198 | completionHandler: @escaping (String, Result<JSON, any Swift.Error>) -> Void
199 | ) {
200 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:24: error: cannot find 'FE_UNDERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_UNDERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:39: error: cannot find 'FE_OVERFLOW' in scope
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot find 'FE_OVERFLOW' in scope
681 | feclearexcept(flags)
682 | let value = try operation()
/host/spi-builder-workspace/Sources/Athena/Deserializer.swift:680:37: error: cannot convert value of type 'UInt8' to specified type 'Int32'
678 | in operation: () throws -> T
679 | ) throws -> T {
680 | let flags: Int32 = FE_UNDERFLOW | FE_OVERFLOW
| `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
681 | feclearexcept(flags)
682 | let value = try operation()
[12/28] Compiling Athena StringInterpolationExtensions.swift
[13/28] Compiling Athena Subscript.swift
[14/28] Compiling Athena Literal.swift
[15/28] Compiling Athena LiteralDecodable.swift
[16/28] Compiling Athena Number.swift
[17/28] Compiling Athena StringExtensions.swift
[18/28] Compiling Athena UInt8Extensions.swift
[19/28] Compiling Athena UnicodeEscapeParser.swift
[20/28] Compiling Athena JSON.swift
[21/28] Compiling Athena JSONCodable.swift
[22/28] Compiling Athena JSONSubscriptRepresentable.swift
[23/28] Compiling Athena NumberDecodable.swift
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:111:13: error: cannot find 'DispatchQueue' in scope
109 | completionHandler: @escaping (JSON, Result<Data, any Swift.Error>) -> Void
110 | ) {
111 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:145:13: error: cannot find 'DispatchQueue' in scope
143 | completionHandler: @escaping (JSON, Result<String, any Swift.Error>) -> Void
144 | ) {
145 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
146 | let result = Result {
147 | try stringify(json, options: options)
[24/28] Compiling Athena Serializer.swift
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:111:13: error: cannot find 'DispatchQueue' in scope
109 | completionHandler: @escaping (JSON, Result<Data, any Swift.Error>) -> Void
110 | ) {
111 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:145:13: error: cannot find 'DispatchQueue' in scope
143 | completionHandler: @escaping (JSON, Result<String, any Swift.Error>) -> Void
144 | ) {
145 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
146 | let result = Result {
147 | try stringify(json, options: options)
[25/28] Compiling Athena SerializerOptions.swift
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:111:13: error: cannot find 'DispatchQueue' in scope
109 | completionHandler: @escaping (JSON, Result<Data, any Swift.Error>) -> Void
110 | ) {
111 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
/host/spi-builder-workspace/Sources/Athena/Serializer.swift:145:13: error: cannot find 'DispatchQueue' in scope
143 | completionHandler: @escaping (JSON, Result<String, any Swift.Error>) -> Void
144 | ) {
145 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
146 | let result = Result {
147 | try stringify(json, options: options)
[26/28] Compiling Athena Encoder.swift
/host/spi-builder-workspace/Sources/Athena/Encoder.swift:98:13: error: cannot find 'DispatchQueue' in scope
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
99 | let json = encode(value)
100 | completionHandler(value, json)
[27/28] Compiling Athena EncodingDetector.swift
/host/spi-builder-workspace/Sources/Athena/Encoder.swift:98:13: error: cannot find 'DispatchQueue' in scope
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
99 | let json = encode(value)
100 | completionHandler(value, json)
[28/28] Compiling Athena Error.swift
/host/spi-builder-workspace/Sources/Athena/Encoder.swift:98:13: error: cannot find 'DispatchQueue' in scope
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
99 | let json = encode(value)
100 | completionHandler(value, json)
BUILD FAILURE 6.1 wasm