Build Information
Successful build of QuickJSON, reference 1.1.2 (79df0e
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 07:01:51 UTC.
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/QuickJSON.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tannerdsilva/QuickJSON
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at 79df0ef release v1.1.2 fixed memory leak
Cloned https://github.com/tannerdsilva/QuickJSON.git
Revision (git rev-parse @):
79df0ef2f7ce80dfe95a3a5179d10daa0dbf49c7
SUCCESS checkout https://github.com/tannerdsilva/QuickJSON.git at 1.1.2
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/ibireme/yyjson.git
[1/3723] Fetching swift-log
[374/7133] Fetching swift-log, yyjson
Fetched https://github.com/apple/swift-log.git from cache (1.40s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.56s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.8.0 (0.54s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.8.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": "quickjson",
"name": "QuickJSON",
"url": "https://github.com/tannerdsilva/QuickJSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/QuickJSON",
"dependencies": [
{
"identity": "yyjson",
"name": "yyjson",
"url": "https://github.com/ibireme/yyjson.git",
"version": "0.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/yyjson",
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/tannerdsilva/QuickJSON.git
[13/303] Fetching quickjson
Fetched https://github.com/tannerdsilva/QuickJSON.git from cache (0.81s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/ibireme/yyjson.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.61s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.8.0 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.41s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Creating working copy for https://github.com/tannerdsilva/QuickJSON.git
Working copy of https://github.com/tannerdsilva/QuickJSON.git resolved at 1.1.2 (79df0ef)
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.8.0
warning: '.resolve-product-dependencies': dependency 'quickjson' is not used by any target
Found 2 product dependencies
- yyjson
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/tannerdsilva/QuickJSON.git
{
"dependencies" : [
{
"identity" : "yyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "0.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ibireme/yyjson.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "QuickJSON",
"name" : "QuickJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "QuickJSON",
"targets" : [
"QuickJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "QuickJSONTests",
"module_type" : "SwiftTarget",
"name" : "QuickJSONTests",
"path" : "Tests/QuickJSONTests",
"sources" : [
"QuickJSONTests.swift"
],
"target_dependencies" : [
"QuickJSON"
],
"type" : "test"
},
{
"c99name" : "QuickJSON",
"module_type" : "SwiftTarget",
"name" : "QuickJSON",
"path" : "Sources/QuickJSON",
"product_dependencies" : [
"yyjson",
"Logging"
],
"product_memberships" : [
"QuickJSON"
],
"sources" : [
"Decoding.swift",
"Encoding.swift",
"MemoryPool.swift",
"QuickJSON.swift",
"decoder/dc_keyed.swift",
"decoder/dc_single.swift",
"decoder/dc_unkeyed.swift",
"decoder/decoder.swift",
"encoder/ec_keyed.swift",
"encoder/ec_single.swift",
"encoder/ec_unkeyed.swift",
"encoder/encoder.swift",
"extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling yyjson.c
[5/9] Compiling Logging MetadataProvider.swift
[6/9] Emitting module Logging
[7/9] Compiling Logging LogHandler.swift
[8/9] Compiling Logging Locks.swift
[9/9] Compiling Logging Logging.swift
[10/22] Compiling QuickJSON encoder.swift
[11/22] Compiling QuickJSON decoder.swift
[12/23] Compiling QuickJSON extensions.swift
[13/23] Compiling QuickJSON ec_unkeyed.swift
[14/23] Compiling QuickJSON ec_keyed.swift
[15/23] Compiling QuickJSON Decoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:285:8: warning: associated value 'valueTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ValueTypeMismatchInfo'; this is an error in the Swift 6 language mode
283 | case contentOverflow
284 | /// thrown when the decoder encounters a value that is not the type that was expected
285 | case valueTypeMismatch(ValueTypeMismatchInfo)
| `- warning: associated value 'valueTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ValueTypeMismatchInfo'; this is an error in the Swift 6 language mode
286 | /// additional information about the value type mismatch error
287 | public struct ValueTypeMismatchInfo {
| `- note: consider making struct 'ValueTypeMismatchInfo' conform to the 'Sendable' protocol
288 | public let expected:ValueType
289 | public let found:ValueType
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:298:8: warning: associated value 'documentParseError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ParseInfo'; this is an error in the Swift 6 language mode
296 | case notFound
297 | /// the root of the document could not be found
298 | case documentParseError(ParseInfo)
| `- warning: associated value 'documentParseError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ParseInfo'; this is an error in the Swift 6 language mode
299 | /// detailed information about a parse error
300 | public struct ParseInfo {
| `- note: consider making struct 'ParseInfo' conform to the 'Sendable' protocol
301 | /// description of the error
302 | let error:String
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:333:21: warning: static property 'inSitu' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
| |- warning: static property 'inSitu' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inSitu' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:334:21: warning: static property 'stopWhenDone' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
| |- warning: static property 'stopWhenDone' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stopWhenDone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:335:21: warning: static property 'allowTrailingCommas' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
| |- warning: static property 'allowTrailingCommas' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowTrailingCommas' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:336:21: warning: static property 'allowComments' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
| |- warning: static property 'allowComments' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:337:21: warning: static property 'allowInfAndNaN' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
| |- warning: static property 'allowInfAndNaN' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInfAndNaN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:338:21: warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
| |- warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInvalidUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 | }
340 |
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:77:21: warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
75 | /// - parameter rawValue: the raw value of the option flags
76 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
| |- warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pretty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:78:21: warning: static property 'escapeUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
76 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
| |- warning: static property 'escapeUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:79:21: warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
| |- warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:80:21: warning: static property 'allowInfAndNan' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
| |- warning: static property 'allowInfAndNan' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInfAndNan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:81:21: warning: static property 'infAndNanAsNull' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
| |- warning: static property 'infAndNanAsNull' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infAndNanAsNull' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:82:21: warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
| |- warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInvalidUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:83:21: warning: static property 'prettyTwoSpaces' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
| |- warning: static property 'prettyTwoSpaces' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prettyTwoSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[16/23] Compiling QuickJSON Encoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:285:8: warning: associated value 'valueTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ValueTypeMismatchInfo'; this is an error in the Swift 6 language mode
283 | case contentOverflow
284 | /// thrown when the decoder encounters a value that is not the type that was expected
285 | case valueTypeMismatch(ValueTypeMismatchInfo)
| `- warning: associated value 'valueTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ValueTypeMismatchInfo'; this is an error in the Swift 6 language mode
286 | /// additional information about the value type mismatch error
287 | public struct ValueTypeMismatchInfo {
| `- note: consider making struct 'ValueTypeMismatchInfo' conform to the 'Sendable' protocol
288 | public let expected:ValueType
289 | public let found:ValueType
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:298:8: warning: associated value 'documentParseError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ParseInfo'; this is an error in the Swift 6 language mode
296 | case notFound
297 | /// the root of the document could not be found
298 | case documentParseError(ParseInfo)
| `- warning: associated value 'documentParseError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ParseInfo'; this is an error in the Swift 6 language mode
299 | /// detailed information about a parse error
300 | public struct ParseInfo {
| `- note: consider making struct 'ParseInfo' conform to the 'Sendable' protocol
301 | /// description of the error
302 | let error:String
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:333:21: warning: static property 'inSitu' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
| |- warning: static property 'inSitu' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inSitu' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:334:21: warning: static property 'stopWhenDone' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
| |- warning: static property 'stopWhenDone' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stopWhenDone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:335:21: warning: static property 'allowTrailingCommas' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
| |- warning: static property 'allowTrailingCommas' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowTrailingCommas' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:336:21: warning: static property 'allowComments' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
| |- warning: static property 'allowComments' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:337:21: warning: static property 'allowInfAndNaN' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
| |- warning: static property 'allowInfAndNaN' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInfAndNaN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:338:21: warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
| |- warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInvalidUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 | }
340 |
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:77:21: warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
75 | /// - parameter rawValue: the raw value of the option flags
76 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
| |- warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pretty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:78:21: warning: static property 'escapeUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
76 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
| |- warning: static property 'escapeUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:79:21: warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
| |- warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:80:21: warning: static property 'allowInfAndNan' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
| |- warning: static property 'allowInfAndNan' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInfAndNan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:81:21: warning: static property 'infAndNanAsNull' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
| |- warning: static property 'infAndNanAsNull' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infAndNanAsNull' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:82:21: warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
| |- warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInvalidUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:83:21: warning: static property 'prettyTwoSpaces' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
| |- warning: static property 'prettyTwoSpaces' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prettyTwoSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[17/23] Compiling QuickJSON dc_keyed.swift
[18/23] Compiling QuickJSON dc_single.swift
[19/23] Compiling QuickJSON dc_unkeyed.swift
[20/23] Emitting module QuickJSON
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:285:8: warning: associated value 'valueTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ValueTypeMismatchInfo'; this is an error in the Swift 6 language mode
283 | case contentOverflow
284 | /// thrown when the decoder encounters a value that is not the type that was expected
285 | case valueTypeMismatch(ValueTypeMismatchInfo)
| `- warning: associated value 'valueTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ValueTypeMismatchInfo'; this is an error in the Swift 6 language mode
286 | /// additional information about the value type mismatch error
287 | public struct ValueTypeMismatchInfo {
| `- note: consider making struct 'ValueTypeMismatchInfo' conform to the 'Sendable' protocol
288 | public let expected:ValueType
289 | public let found:ValueType
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:298:8: warning: associated value 'documentParseError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ParseInfo'; this is an error in the Swift 6 language mode
296 | case notFound
297 | /// the root of the document could not be found
298 | case documentParseError(ParseInfo)
| `- warning: associated value 'documentParseError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Decoding.Error.ParseInfo'; this is an error in the Swift 6 language mode
299 | /// detailed information about a parse error
300 | public struct ParseInfo {
| `- note: consider making struct 'ParseInfo' conform to the 'Sendable' protocol
301 | /// description of the error
302 | let error:String
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:333:21: warning: static property 'inSitu' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
| |- warning: static property 'inSitu' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inSitu' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:334:21: warning: static property 'stopWhenDone' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
| |- warning: static property 'stopWhenDone' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stopWhenDone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:335:21: warning: static property 'allowTrailingCommas' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
333 | public static let inSitu = Flags(rawValue:YYJSON_READ_INSITU)
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
| |- warning: static property 'allowTrailingCommas' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowTrailingCommas' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:336:21: warning: static property 'allowComments' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
334 | public static let stopWhenDone = Flags(rawValue:YYJSON_READ_STOP_WHEN_DONE)
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
| |- warning: static property 'allowComments' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:337:21: warning: static property 'allowInfAndNaN' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
335 | public static let allowTrailingCommas = Flags(rawValue:YYJSON_READ_ALLOW_TRAILING_COMMAS)
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
| |- warning: static property 'allowInfAndNaN' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInfAndNaN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Decoding.swift:338:21: warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// option flags for the decoder
330 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
331 | public let rawValue:UInt32
332 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
:
336 | public static let allowComments = Flags(rawValue:YYJSON_READ_ALLOW_COMMENTS)
337 | public static let allowInfAndNaN = Flags(rawValue:YYJSON_READ_ALLOW_INF_AND_NAN)
338 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_READ_ALLOW_INVALID_UNICODE)
| |- warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Decoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInvalidUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 | }
340 |
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:77:21: warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
75 | /// - parameter rawValue: the raw value of the option flags
76 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
| |- warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pretty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:78:21: warning: static property 'escapeUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
76 | public init(rawValue:UInt32 = 0) { self.rawValue = rawValue }
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
| |- warning: static property 'escapeUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:79:21: warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
77 | public static let pretty = Flags(rawValue:YYJSON_WRITE_PRETTY)
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
| |- warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:80:21: warning: static property 'allowInfAndNan' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
78 | public static let escapeUnicode = Flags(rawValue:YYJSON_WRITE_ESCAPE_UNICODE)
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
| |- warning: static property 'allowInfAndNan' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInfAndNan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:81:21: warning: static property 'infAndNanAsNull' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
79 | public static let escapeSlashes = Flags(rawValue:YYJSON_WRITE_ESCAPE_SLASHES)
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
| |- warning: static property 'infAndNanAsNull' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infAndNanAsNull' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:82:21: warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
80 | public static let allowInfAndNan = Flags(rawValue:YYJSON_WRITE_ALLOW_INF_AND_NAN)
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
| |- warning: static property 'allowInvalidUnicode' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowInvalidUnicode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/QuickJSON/Encoding.swift:83:21: warning: static property 'prettyTwoSpaces' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// option flags for the encoder
71 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
72 | /// the raw value of the option flags
73 | public let rawValue:UInt32
:
81 | public static let infAndNanAsNull = Flags(rawValue:YYJSON_WRITE_INF_AND_NAN_AS_NULL)
82 | public static let allowInvalidUnicode = Flags(rawValue:YYJSON_WRITE_ALLOW_INVALID_UNICODE)
83 | public static let prettyTwoSpaces = Flags(rawValue:YYJSON_WRITE_PRETTY_TWO_SPACES)
| |- warning: static property 'prettyTwoSpaces' is not concurrency-safe because non-'Sendable' type 'Encoding.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prettyTwoSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[21/23] Compiling QuickJSON ec_single.swift
[22/23] Compiling QuickJSON MemoryPool.swift
[23/23] Compiling QuickJSON QuickJSON.swift
Build complete! (5.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "yyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "0.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ibireme/yyjson.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "QuickJSON",
"name" : "QuickJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "QuickJSON",
"targets" : [
"QuickJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "QuickJSONTests",
"module_type" : "SwiftTarget",
"name" : "QuickJSONTests",
"path" : "Tests/QuickJSONTests",
"sources" : [
"QuickJSONTests.swift"
],
"target_dependencies" : [
"QuickJSON"
],
"type" : "test"
},
{
"c99name" : "QuickJSON",
"module_type" : "SwiftTarget",
"name" : "QuickJSON",
"path" : "Sources/QuickJSON",
"product_dependencies" : [
"yyjson",
"Logging"
],
"product_memberships" : [
"QuickJSON"
],
"sources" : [
"Decoding.swift",
"Encoding.swift",
"MemoryPool.swift",
"QuickJSON.swift",
"decoder/dc_keyed.swift",
"decoder/dc_single.swift",
"decoder/dc_unkeyed.swift",
"decoder/decoder.swift",
"encoder/ec_keyed.swift",
"encoder/ec_single.swift",
"encoder/ec_unkeyed.swift",
"encoder/encoder.swift",
"extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.