Build Information
Successful build of QuickJSON, reference 1.1.2 (79df0e
), with Swift 6.1 for Linux on 29 Apr 2025 00:56:22 UTC.
Swift 6 data race errors: 15
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/QuickJSON.git
Reference: 1.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/tannerdsilva/QuickJSON.git
https://github.com/tannerdsilva/QuickJSON.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/ibireme/yyjson.git
[1/3836] Fetching swift-log
[3837/7410] Fetching swift-log, yyjson
Fetched https://github.com/apple/swift-log.git from cache (0.61s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.62s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.8.0 (1.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (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.6.3
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.8.0
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling yyjson.c
[5/9] Compiling Logging MetadataProvider.swift
[6/9] Compiling Logging Locks.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging LogHandler.swift
[9/9] Compiling Logging Logging.swift
[11/23] Compiling QuickJSON encoder.swift
[12/24] Emitting module QuickJSON
/host/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
/host/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
/host/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: add '@MainActor' to make static property 'inSitu' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'stopWhenDone' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowTrailingCommas' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowComments' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInfAndNaN' part of global actor 'MainActor'
| `- 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 | }
/host/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: add '@MainActor' to make static property 'allowInvalidUnicode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 | }
340 |
/host/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: add '@MainActor' to make static property 'pretty' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'escapeUnicode' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'escapeSlashes' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInfAndNan' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'infAndNanAsNull' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInvalidUnicode' part of global actor 'MainActor'
| `- 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 | }
/host/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: add '@MainActor' to make static property 'prettyTwoSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[13/24] Compiling QuickJSON dc_unkeyed.swift
[14/24] Compiling QuickJSON decoder.swift
[15/24] Compiling QuickJSON MemoryPool.swift
[16/24] Compiling QuickJSON QuickJSON.swift
[17/24] Compiling QuickJSON dc_keyed.swift
[18/24] Compiling QuickJSON dc_single.swift
[19/24] Compiling QuickJSON Decoding.swift
/host/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
/host/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
/host/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: add '@MainActor' to make static property 'inSitu' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'stopWhenDone' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowTrailingCommas' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowComments' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInfAndNaN' part of global actor 'MainActor'
| `- 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 | }
/host/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: add '@MainActor' to make static property 'allowInvalidUnicode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 | }
340 |
/host/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: add '@MainActor' to make static property 'pretty' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'escapeUnicode' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'escapeSlashes' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInfAndNan' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'infAndNanAsNull' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInvalidUnicode' part of global actor 'MainActor'
| `- 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 | }
/host/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: add '@MainActor' to make static property 'prettyTwoSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[20/24] Compiling QuickJSON Encoding.swift
/host/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
/host/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
/host/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: add '@MainActor' to make static property 'inSitu' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'stopWhenDone' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowTrailingCommas' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowComments' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInfAndNaN' part of global actor 'MainActor'
| `- 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 | }
/host/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: add '@MainActor' to make static property 'allowInvalidUnicode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 | }
340 |
/host/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: add '@MainActor' to make static property 'pretty' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'escapeUnicode' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'escapeSlashes' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInfAndNan' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'infAndNanAsNull' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'allowInvalidUnicode' part of global actor 'MainActor'
| `- 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 | }
/host/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: add '@MainActor' to make static property 'prettyTwoSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[21/24] Compiling QuickJSON ec_unkeyed.swift
[22/24] Compiling QuickJSON extensions.swift
[23/24] Compiling QuickJSON ec_keyed.swift
[24/24] Compiling QuickJSON ec_single.swift
Build complete! (9.43s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.