Build Information
Successful build of Athena, reference 0.0.12 (a4e351
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:12:43 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsanthanam/Athena.git
Reference: 0.0.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/5424] Fetching swift-docc-plugin, swift-docc-symbolkit
[3487/52154] Fetching swift-docc-plugin, swift-docc-symbolkit, swiftformat
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.19s)
[1821/48779] Fetching swift-docc-plugin, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (14.33s)
Fetched https://github.com/apple/swift-docc-plugin from cache (14.33s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.51.7 (15.32s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.59s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.51.7
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "athena",
"name": "Athena",
"url": "https://github.com/vsanthanam/Athena.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Athena",
"dependencies": [
]
}
]
}
Fetching https://github.com/vsanthanam/Athena.git
[1/930] Fetching athena
Fetched https://github.com/vsanthanam/Athena.git from cache (0.85s)
Creating working copy for https://github.com/vsanthanam/Athena.git
Working copy of https://github.com/vsanthanam/Athena.git resolved at 0.0.12 (a4e3517)
warning: '.resolve-product-dependencies': dependency 'athena' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vsanthanam/Athena.git
https://github.com/vsanthanam/Athena.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[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-2F0A5646E1D333AE.txt
[6/27] Emitting module Athena
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 StringExtensions.swift
[10/29] Compiling Athena UInt8Extensions.swift
[11/29] Compiling Athena Number.swift
[12/29] Compiling Athena NumberDecodable.swift
[13/29] Compiling Athena UnicodeEscapeParser.swift
[14/29] Compiling Athena JSON.swift
[15/29] Compiling Athena StringInterpolationExtensions.swift
[16/29] Compiling Athena Subscript.swift
[17/29] Compiling Athena IntExtensions.swift
[18/29] Compiling Athena NumberParser.swift
[19/29] Compiling Athena SerializationOptionsExtensions.swift
[20/29] Compiling Athena Serializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:113:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
111 | DispatchQueue.global().async {
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
114 | }
115 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:115:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<Data, any Error>) -> Void' in a '@Sendable' closure
113 | try serialize(json, options: options)
114 | }
115 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 | }
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:113:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
111 | DispatchQueue.global().async {
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:147:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
145 | DispatchQueue.global().async {
146 | let result = Result {
147 | try stringify(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
148 | }
149 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<String, any Error>) -> Void' in a '@Sendable' closure
147 | try stringify(json, options: options)
148 | }
149 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<String, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:147:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
145 | DispatchQueue.global().async {
146 | let result = Result {
147 | try stringify(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
148 | }
149 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:78:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | options: Options = .default
77 | ) async throws -> Data {
78 | try await Task { try serialize(json, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:133:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
131 | options: Options = .default
132 | ) async throws -> String {
133 | try await Task { try stringify(json, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 | }
135 |
[21/29] Compiling Athena SerializerOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:113:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
111 | DispatchQueue.global().async {
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
114 | }
115 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:115:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<Data, any Error>) -> Void' in a '@Sendable' closure
113 | try serialize(json, options: options)
114 | }
115 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 | }
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:113:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
111 | DispatchQueue.global().async {
112 | let result = Result<Data, any Swift.Error> {
113 | try serialize(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:147:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
145 | DispatchQueue.global().async {
146 | let result = Result {
147 | try stringify(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in a '@Sendable' closure
148 | }
149 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<String, any Error>) -> Void' in a '@Sendable' closure
147 | try stringify(json, options: options)
148 | }
149 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<String, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:147:50: warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
145 | DispatchQueue.global().async {
146 | let result = Result {
147 | try stringify(json, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Serializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
148 | }
149 | completionHandler(json, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/SerializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:78:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | options: Options = .default
77 | ) async throws -> Data {
78 | try await Task { try serialize(json, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Serializer.swift:133:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
131 | options: Options = .default
132 | ) async throws -> String {
133 | try await Task { try stringify(json, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 | }
135 |
[22/29] Compiling Athena Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:99:35: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
92 | @available(watchOS, deprecated: 8.0, message: "Use the Swift Concurrency based APIs instead.")
93 | @available(tvOS, deprecated: 15.0, message: "Use the Swift Concurrency based APIs instead.")
94 | public static func encode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
95 | _ value: T,
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
99 | let json = encode(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
100 | completionHandler(value, json)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:100:17: warning: capture of 'completionHandler' with non-sendable type '(T, JSON) -> Void' in a '@Sendable' closure
98 | DispatchQueue.global().async {
99 | let json = encode(value)
100 | completionHandler(value, json)
| |- warning: capture of 'completionHandler' with non-sendable type '(T, JSON) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:69:24: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
68 | public static func encode<T>(_ value: T) async -> JSON where T: JSONEncodable {
69 | await Task { encode(value) }.value
| | `- note: closure captures 'value' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
70 | }
71 |
[23/29] Compiling Athena EncodingDetector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:99:35: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
92 | @available(watchOS, deprecated: 8.0, message: "Use the Swift Concurrency based APIs instead.")
93 | @available(tvOS, deprecated: 15.0, message: "Use the Swift Concurrency based APIs instead.")
94 | public static func encode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
95 | _ value: T,
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
99 | let json = encode(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
100 | completionHandler(value, json)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:100:17: warning: capture of 'completionHandler' with non-sendable type '(T, JSON) -> Void' in a '@Sendable' closure
98 | DispatchQueue.global().async {
99 | let json = encode(value)
100 | completionHandler(value, json)
| |- warning: capture of 'completionHandler' with non-sendable type '(T, JSON) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:69:24: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
68 | public static func encode<T>(_ value: T) async -> JSON where T: JSONEncodable {
69 | await Task { encode(value) }.value
| | `- note: closure captures 'value' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
70 | }
71 |
[24/29] Compiling Athena Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:99:35: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
92 | @available(watchOS, deprecated: 8.0, message: "Use the Swift Concurrency based APIs instead.")
93 | @available(tvOS, deprecated: 15.0, message: "Use the Swift Concurrency based APIs instead.")
94 | public static func encode<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
95 | _ value: T,
96 | completionHandler: @escaping (T, JSON) -> Void
97 | ) where T: JSONEncodable {
98 | DispatchQueue.global().async {
99 | let json = encode(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
100 | completionHandler(value, json)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:100:17: warning: capture of 'completionHandler' with non-sendable type '(T, JSON) -> Void' in a '@Sendable' closure
98 | DispatchQueue.global().async {
99 | let json = encode(value)
100 | completionHandler(value, json)
| |- warning: capture of 'completionHandler' with non-sendable type '(T, JSON) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Encoder.swift:69:24: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
67 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
68 | public static func encode<T>(_ value: T) async -> JSON where T: JSONEncodable {
69 | await Task { encode(value) }.value
| | `- note: closure captures 'value' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
70 | }
71 |
[25/29] Compiling Athena JSONCodable.swift
[26/29] Compiling Athena JSONSubscriptRepresentable.swift
[27/29] Compiling Athena Decoder.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Decoder.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<T, any Error>) -> Void' in a '@Sendable' closure
120 | try decode(type, from: json)
121 | }
122 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<T, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:116:66: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
114 | DispatchQueue.global().async {
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
117 | }
118 | completionHandler(data, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:118:17: warning: capture of 'completionHandler' with non-sendable type '(Data, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
116 | try parse(data, maximumDepth: .max, options: options)
117 | }
118 | completionHandler(data, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Data, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:116:66: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
114 | DispatchQueue.global().async {
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | completionHandler(data, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:202:72: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
200 | DispatchQueue.global().async {
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
203 | }
204 | completionHandler(jsonString, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:204:17: warning: capture of 'completionHandler' with non-sendable type '(String, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
202 | try parse(jsonString, maximumDepth: .max, options: options)
203 | }
204 | completionHandler(jsonString, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(String, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 | }
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:202:72: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
200 | DispatchQueue.global().async {
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 | completionHandler(jsonString, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:80:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | options: Options = .default
79 | ) async throws -> JSON {
80 | try await Task { try parse(data, maximumDepth: .max, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:166:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
164 | options: Options = .default
165 | ) async throws -> JSON {
166 | try await Task { try parse(jsonString, maximumDepth: .max, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 | }
168 |
[28/29] Compiling Athena Deserializer.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Decoder.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<T, any Error>) -> Void' in a '@Sendable' closure
120 | try decode(type, from: json)
121 | }
122 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<T, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:116:66: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
114 | DispatchQueue.global().async {
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
117 | }
118 | completionHandler(data, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:118:17: warning: capture of 'completionHandler' with non-sendable type '(Data, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
116 | try parse(data, maximumDepth: .max, options: options)
117 | }
118 | completionHandler(data, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Data, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:116:66: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
114 | DispatchQueue.global().async {
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | completionHandler(data, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:202:72: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
200 | DispatchQueue.global().async {
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
203 | }
204 | completionHandler(jsonString, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:204:17: warning: capture of 'completionHandler' with non-sendable type '(String, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
202 | try parse(jsonString, maximumDepth: .max, options: options)
203 | }
204 | completionHandler(jsonString, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(String, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 | }
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:202:72: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
200 | DispatchQueue.global().async {
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 | completionHandler(jsonString, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:80:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | options: Options = .default
79 | ) async throws -> JSON {
80 | try await Task { try parse(data, maximumDepth: .max, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:166:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
164 | options: Options = .default
165 | ) async throws -> JSON {
166 | try await Task { try parse(jsonString, maximumDepth: .max, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 | }
168 |
[29/29] Compiling Athena DeserializerOptions.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Decoder.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<T, any Error>) -> Void' in a '@Sendable' closure
120 | try decode(type, from: json)
121 | }
122 | completionHandler(json, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(JSON, Result<T, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:116:66: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
114 | DispatchQueue.global().async {
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
117 | }
118 | completionHandler(data, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:118:17: warning: capture of 'completionHandler' with non-sendable type '(Data, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
116 | try parse(data, maximumDepth: .max, options: options)
117 | }
118 | completionHandler(data, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Data, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:116:66: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
114 | DispatchQueue.global().async {
115 | let result: Result<JSON, any Swift.Error> = .init {
116 | try parse(data, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | completionHandler(data, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:202:72: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
200 | DispatchQueue.global().async {
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in a '@Sendable' closure
203 | }
204 | completionHandler(jsonString, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:204:17: warning: capture of 'completionHandler' with non-sendable type '(String, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
202 | try parse(jsonString, maximumDepth: .max, options: options)
203 | }
204 | completionHandler(jsonString, result)
| |- warning: capture of 'completionHandler' with non-sendable type '(String, Result<JSON, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 | }
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:202:72: warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
200 | DispatchQueue.global().async {
201 | let result: Result<JSON, any Swift.Error> = .init {
202 | try parse(jsonString, maximumDepth: .max, options: options)
| `- warning: capture of 'options' with non-sendable type 'JSON.Deserializer.Options' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 | completionHandler(jsonString, result)
/Users/admin/builder/spi-builder-workspace/Sources/Athena/DeserializerOptions.swift:30:12: note: consider making struct 'Options' conform to the 'Sendable' protocol
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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:80:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | options: Options = .default
79 | ) async throws -> JSON {
80 | try await Task { try parse(data, maximumDepth: .max, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Athena/Deserializer.swift:166:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
164 | options: Options = .default
165 | ) async throws -> JSON {
166 | try await Task { try parse(jsonString, maximumDepth: .max, options: options) }.value
| | `- note: closure captures 'options' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 | }
168 |
Build complete! (15.10s)
Build complete.
{
"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" : "/Users/admin/builder/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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/vsanthanam/athena/0.0.12
Repository: vsanthanam/Athena
Swift version used: 6.1
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target: Athena
Generating documentation for 'Athena'...
Converting documentation...
warning: 'Subscripting' is ambiguous at '/Athena'
--> Athena.md:95:32-95:44
93 | ```
94 |
95 + For more information, see <doc:Subscripting>.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
96 |
97 | ### Encoding & Decoding
warning: 'Subscripting' is ambiguous at '/Athena'
--> Athena.md:136:8-136:20
134 | ### Subscripting
135 |
136 + - <doc:Subscripting>
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
137 | - ``JSON/Subscript``
138 | - ``JSON/Path``
warning: Parameter 'data' not found in type method declaration
--> ../Deserializer.swift:134:15-134:46
132 | ///
133 | /// - Parameters:
134 + /// - data: The data to deserialize
| ╰─suggestion: Remove 'data' parameter documentation
135 | /// - options: The options bitmask used to configure the deserialization process
136 | /// - Returns: The ``JSON`` value produced by deserializing the provided data
warning: Parameter 'jsonString' is missing documentation
--> ../Deserializer.swift:135:91-135:91
133 | /// - Parameters:
134 | /// - data: The data to deserialize
135 + /// - options: The options bitmask used to configure the deserialization process
| ╰─suggestion: Document 'jsonString' parameter
136 | /// - Returns: The ``JSON`` value produced by deserializing the provided data
137 | /// - Throws: A ``JSON/Error`` if the data cannot be deserialized.
warning: Parameter 'data' not found in type method declaration
--> ../Deserializer.swift:157:15-157:46
155 | ///
156 | /// - Parameters:
157 + /// - data: The data to deserialize
| ╰─suggestion: Remove 'data' parameter documentation
158 | /// - options: The options bitmask used to configure the deserialization process
159 | /// - Returns: The ``JSON`` value produced by deserializing the provided data
warning: Parameter 'jsonString' is missing documentation
--> ../Deserializer.swift:158:91-158:91
156 | /// - Parameters:
157 | /// - data: The data to deserialize
158 + /// - options: The options bitmask used to configure the deserialization process
| ╰─suggestion: Document 'jsonString' parameter
159 | /// - Returns: The ``JSON`` value produced by deserializing the provided data
160 | /// - Throws: A ``JSON/Error`` if the data cannot be deserialized.
warning: Parameter 'data' not found in type method declaration
--> ../Deserializer.swift:188:15-188:46
186 | ///
187 | /// - Parameters:
188 + /// - data: The data to deserialize
| ╰─suggestion: Remove 'data' parameter documentation
189 | /// - options: The options bitmask used to configure the deserialization process
190 | /// - completionHandler: The closure used to handle the result of the asynchronous operation
warning: Parameter 'jsonString' is missing documentation
--> ../Deserializer.swift:190:103-190:103
188 | /// - data: The data to deserialize
189 | /// - options: The options bitmask used to configure the deserialization process
| ╰─suggestion: Document 'jsonString' parameter
190 + /// - completionHandler: The closure used to handle the result of the asynchronous operation
191 | @available(macOS, deprecated: 12.0, obsoleted: 13.0)
192 | @available(iOS, deprecated: 15.0, obsoleted: 16.0)
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:478:18-478:30
476 | /// ```
477 | ///
478 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
479 | ///
480 | /// - Parameter index: The index
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:498:18-498:30
496 | /// ```
497 | ///
498 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
499 | ///
500 | /// - Parameter key: The key
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:521:18-521:30
519 | /// ```
520 | ///
521 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
522 | ///
523 | /// - Parameter subscript: The subscript
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:561:18-561:30
559 | /// ```
560 | ///
561 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
562 | ///
563 | /// - Parameter subscript: The subscript
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:591:18-591:30
589 | /// ```
590 | ///
591 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
592 | ///
593 | /// - Parameter subscript: The subscript
warning: Parameter 'subscript' not found in instance method declaration
--> ../JSON.swift:593:9-593:45
591 | /// See <doc:Subscripting> for more information.
592 | ///
593 + /// - Parameter subscript: The subscript
| ╰─suggestion: Remove 'subscript' parameter documentation
594 | /// - Returns: The value at subscript
595 | /// - Throws: A ``JSON/Error`` if the value is not subscriptable, or if the provided path is invalid, or if no such value exists at the provided path
warning: Parameter 'path' is missing documentation
--> ../JSON.swift:593:45-593:45
591 | /// See <doc:Subscripting> for more information.
592 | ///
593 + /// - Parameter subscript: The subscript
| ╰─suggestion: Document 'path' parameter
594 | /// - Returns: The value at subscript
595 | /// - Throws: A ``JSON/Error`` if the value is not subscriptable, or if the provided path is invalid, or if no such value exists at the provided path
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:619:18-619:30
617 | /// ```
618 | ///
619 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
620 | ///
621 | /// - Parameters:
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:643:18-643:30
641 | /// ```
642 | ///
643 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
644 | ///
645 | /// - Parameters:
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:670:18-670:30
668 | /// ```
669 | ///
670 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
671 | ///
672 | /// - Parameters:
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:713:18-713:30
711 | /// ```
712 | ///
713 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
714 | ///
715 | /// - Parameters:
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:747:18-747:30
745 | /// ```
746 | ///
747 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
748 | ///
749 | /// - Parameters:
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:780:18-780:30
778 | /// ```
779 | ///
780 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
781 | ///
782 | /// - Parameter key: The key
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:799:18-799:30
797 | /// ```
798 | ///
799 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
800 | ///
801 | /// - Parameter index: The index
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:821:18-821:30
819 | /// ```
820 | ///
821 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
822 | ///
823 | /// - Parameter subscript: The subscript
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:855:18-855:30
853 | /// ```
854 | ///
855 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
856 | ///
857 | /// - Parameter subscript: The subscript
warning: 'Subscripting' is ambiguous at '/Athena'
--> ../JSON.swift:884:18-884:30
882 | /// ```
883 | ///
884 + /// See <doc:Subscripting> for more information.
| ├─suggestion: Insert '-anchor' for 'Subscripting'
| ╰─suggestion: Insert '-article' for 'Working with Nested Values using Subscripts'
885 | ///
886 | /// - Parameter path: The path
warning: Parameter 'json' not found in initializer declaration
--> ../LiteralDecodable.swift:41:21-41:25
39 | /// If the provided ``JSON/Literal`` is shaped incorrectly or missing data necessary to initialize an instance, it should throw an error.
40 | ///
41 + /// - Parameter json: The ``JSON/Literal`` value to decode into `Self`
| ╰─suggestion: Replace 'json' with 'jsonLiteral'
42 | /// - Throws: An error if an instance cannot be decoded from the provided ``JSON/Literal``
43 | init(jsonLiteral: JSON.Literal) throws
warning: Parameter 'jsonLiteral' is missing documentation
--> ../LiteralDecodable.swift:41:75-41:75
39 | /// If the provided ``JSON/Literal`` is shaped incorrectly or missing data necessary to initialize an instance, it should throw an error.
40 | ///
41 + /// - Parameter json: The ``JSON/Literal`` value to decode into `Self`
| ╰─suggestion: Document 'jsonLiteral' parameter
42 | /// - Throws: An error if an instance cannot be decoded from the provided ``JSON/Literal``
43 | init(jsonLiteral: JSON.Literal) throws
warning: Parameter 'json' not found in initializer declaration
--> ../NumberDecodable.swift:43:21-43:25
41 | /// If the provided ``JSON/Number`` is shaped incorrectly or missing data necessary to initialize an instance, it should throw an error.
42 | ///
43 + /// - Parameter json: The ``JSON/Number`` value to decode into `Self`
| ╰─suggestion: Replace 'json' with 'jsonNumber'
44 | /// - Throws: An error if an instance cannot be decoded from the provided ``JSON/Number``
45 | init(jsonNumber: JSON.Number) throws
warning: Parameter 'jsonNumber' is missing documentation
--> ../NumberDecodable.swift:43:74-43:74
41 | /// If the provided ``JSON/Number`` is shaped incorrectly or missing data necessary to initialize an instance, it should throw an error.
42 | ///
43 + /// - Parameter json: The ``JSON/Number`` value to decode into `Self`
| ╰─suggestion: Document 'jsonNumber' parameter
44 | /// - Throws: An error if an instance cannot be decoded from the provided ``JSON/Number``
45 | init(jsonNumber: JSON.Number) throws
Conversion complete! (0.29s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/vsanthanam/athena/0.0.12'
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit SourceRange.swift
[12/57] Compiling SymbolKit Metadata.swift
[13/57] Compiling SymbolKit Module.swift
[14/57] Compiling SymbolKit OperatingSystem.swift
[15/57] Compiling SymbolKit Platform.swift
[16/57] Compiling SymbolKit DeclarationFragments.swift
[17/57] Compiling SymbolKit Fragment.swift
[18/57] Compiling SymbolKit FragmentKind.swift
[19/57] Compiling SymbolKit FunctionParameter.swift
[20/57] Compiling SymbolKit FunctionSignature.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit Identifier.swift
[27/57] Compiling SymbolKit KindIdentifier.swift
[28/57] Compiling SymbolKit Location.swift
[29/57] Compiling SymbolKit Mutability.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling Snippets SnippetParser.swift
[40/57] Compiling Snippets Snippet.swift
[41/57] Emitting module Snippets
[42/57] Compiling SymbolKit Mixin+Equals.swift
[43/57] Compiling SymbolKit Mixin+Hash.swift
[44/57] Compiling SymbolKit Mixin.swift
[45/57] Compiling SymbolKit LineList.swift
[46/57] Compiling SymbolKit Position.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.24s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/23] Emitting module Athena
[3/25] Compiling Athena Literal.swift
[4/25] Compiling Athena LiteralDecodable.swift
[5/25] Compiling Athena IntExtensions.swift
[6/25] Compiling Athena NumberParser.swift
[7/25] Compiling Athena SerializationOptionsExtensions.swift
[8/25] Compiling Athena Number.swift
[9/25] Compiling Athena NumberDecodable.swift
[10/25] Compiling Athena JSONCodable.swift
[11/25] Compiling Athena JSONSubscriptRepresentable.swift
[12/25] Compiling Athena Serializer.swift
[13/25] Compiling Athena SerializerOptions.swift
[14/25] Compiling Athena Encoder.swift
[15/25] Compiling Athena EncodingDetector.swift
[16/25] Compiling Athena Error.swift
[17/25] Compiling Athena StringInterpolationExtensions.swift
[18/25] Compiling Athena Subscript.swift
[19/25] Compiling Athena Decoder.swift
[20/25] Compiling Athena Deserializer.swift
[21/25] Compiling Athena DeserializerOptions.swift
[22/25] Compiling Athena StringExtensions.swift
[23/25] Compiling Athena UInt8Extensions.swift
[24/25] Compiling Athena UnicodeEscapeParser.swift
[25/25] Compiling Athena JSON.swift
Build of target: 'Athena' complete! (1.32s)
592
6 /Users/admin/builder/spi-builder-workspace/.docs/vsanthanam/athena/0.0.12
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/vsanthanam/athena/0.0.12
File count: 592
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-vsanthanam-athena-0.0.12-c93f51bd.zip to s3://spi-docs-inbox/prod-vsanthanam-athena-0.0.12-c93f51bd.zip
Copying... [12%]
Copying... [24%]
Copying... [30%]
Copying... [43%]
Copying... [55%]
Copying... [61%]
Copying... [73%]
Copying... [85%]
Copying... [91%]
Copying... [100%]
Done.