The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CleanJSON, reference master (8cfc48), with Swift 6.0 for Linux on 3 Nov 2024 12:43:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Pircate/CleanJSON.git
Reference: master
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/Pircate/CleanJSON
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8cfc48a build: 新增 swiftlint
Cloned https://github.com/Pircate/CleanJSON.git
Revision (git rev-parse @):
8cfc48a79934e772f7d8ed36eb95916cfed8156c
SUCCESS checkout https://github.com/Pircate/CleanJSON.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Pircate/CleanJSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Emitting module CleanJSON
/host/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 21 | }
 22 |
 23 | open class CleanJSONDecoder: JSONDecoder {
    |            `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 24 |
 25 |     /// Options set on the top-level encoder to pass down the decoding hierarchy.
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:454:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
452 |
453 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
454 | private var _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_iso8601Formatter' 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
455 |     let formatter = ISO8601DateFormatter()
456 |     formatter.formatOptions = .withInternetDateTime
[4/20] Compiling CleanJSON CodingKeysConverter.swift
[5/20] Compiling CleanJSON DecodingError+CleanJSON.swift
[6/20] Compiling CleanJSON CaseDefaultable.swift
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:24: error: cannot find 'kCFBooleanTrue' in scope
40 |
41 |         if let number = storage.topContainer as? NSNumber,
42 |             number === kCFBooleanTrue || number === kCFBooleanFalse {
   |                        `- error: cannot find 'kCFBooleanTrue' in scope
43 |             guard let rawValue = number.boolValue as? T.RawValue else {
44 |                 return T.defaultCase
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:53: error: cannot find 'kCFBooleanFalse' in scope
40 |
41 |         if let number = storage.topContainer as? NSNumber,
42 |             number === kCFBooleanTrue || number === kCFBooleanFalse {
   |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
43 |             guard let rawValue = number.boolValue as? T.RawValue else {
44 |                 return T.defaultCase
/host/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 21 | }
 22 |
 23 | open class CleanJSONDecoder: JSONDecoder {
    |            `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 24 |
 25 |     /// Options set on the top-level encoder to pass down the decoding hierarchy.
[7/20] Compiling CleanJSON CleanDecoder.swift
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:24: error: cannot find 'kCFBooleanTrue' in scope
40 |
41 |         if let number = storage.topContainer as? NSNumber,
42 |             number === kCFBooleanTrue || number === kCFBooleanFalse {
   |                        `- error: cannot find 'kCFBooleanTrue' in scope
43 |             guard let rawValue = number.boolValue as? T.RawValue else {
44 |                 return T.defaultCase
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:53: error: cannot find 'kCFBooleanFalse' in scope
40 |
41 |         if let number = storage.topContainer as? NSNumber,
42 |             number === kCFBooleanTrue || number === kCFBooleanFalse {
   |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
43 |             guard let rawValue = number.boolValue as? T.RawValue else {
44 |                 return T.defaultCase
/host/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 21 | }
 22 |
 23 | open class CleanJSONDecoder: JSONDecoder {
    |            `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 24 |
 25 |     /// Options set on the top-level encoder to pass down the decoding hierarchy.
[8/20] Compiling CleanJSON CleanJSONDecoder.swift
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:24: error: cannot find 'kCFBooleanTrue' in scope
40 |
41 |         if let number = storage.topContainer as? NSNumber,
42 |             number === kCFBooleanTrue || number === kCFBooleanFalse {
   |                        `- error: cannot find 'kCFBooleanTrue' in scope
43 |             guard let rawValue = number.boolValue as? T.RawValue else {
44 |                 return T.defaultCase
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:53: error: cannot find 'kCFBooleanFalse' in scope
40 |
41 |         if let number = storage.topContainer as? NSNumber,
42 |             number === kCFBooleanTrue || number === kCFBooleanFalse {
   |                                                     `- error: cannot find 'kCFBooleanFalse' in scope
43 |             guard let rawValue = number.boolValue as? T.RawValue else {
44 |                 return T.defaultCase
/host/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 21 | }
 22 |
 23 | open class CleanJSONDecoder: JSONDecoder {
    |            `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 24 |
 25 |     /// Options set on the top-level encoder to pass down the decoding hierarchy.
[9/20] Compiling CleanJSON CleanJSONKeyedDecodingContainer.swift
[10/20] Compiling CleanJSON CleanJSONUnkeyedDecodingContainer.swift
[11/20] Compiling CleanJSON CleanJSONDecodingStorage.swift
[12/20] Compiling CleanJSON CleanJSONKey.swift
[13/20] Compiling CleanJSON JSONAdapter.swift
[14/20] Compiling CleanJSON ToJSON.swift
[15/20] Compiling CleanJSON DecodingStrategy.swift
[16/20] Compiling CleanJSON Defaultable.swift
[17/20] Compiling CleanJSON _CleanJSONDecoder+Decode.swift
[18/20] Compiling CleanJSON _CleanJSONDecoder+SingleValueDecodingContainer.swift
[19/20] Compiling CleanJSON _CleanJSONDecoder+Unbox.swift
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:454:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
452 |
453 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
454 | private var _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_iso8601Formatter' 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
455 |     let formatter = ISO8601DateFormatter()
456 |     formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:19:27: error: cannot find 'kCFBooleanTrue' in scope
 17 |         if let number = value as? NSNumber {
 18 |             // TODO: Add a flag to coerce non-boolean numbers into Bools?
 19 |             if number === kCFBooleanTrue as NSNumber {
    |                           `- error: cannot find 'kCFBooleanTrue' in scope
 20 |                 return true
 21 |             } else if number === kCFBooleanFalse as NSNumber {
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:21:34: error: cannot find 'kCFBooleanFalse' in scope
 19 |             if number === kCFBooleanTrue as NSNumber {
 20 |                 return true
 21 |             } else if number === kCFBooleanFalse as NSNumber {
    |                                  `- error: cannot find 'kCFBooleanFalse' in scope
 22 |                 return false
 23 |             }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:39:24: error: cannot find 'kCFBooleanTrue' in scope
 37 |
 38 |         guard let number = value as? NSNumber,
 39 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 40 |             number !== kCFBooleanFalse else {
 41 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:40:24: error: cannot find 'kCFBooleanFalse' in scope
 38 |         guard let number = value as? NSNumber,
 39 |             number !== kCFBooleanTrue,
 40 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 41 |                 return nil
 42 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:56:24: error: cannot find 'kCFBooleanTrue' in scope
 54 |
 55 |         guard let number = value as? NSNumber,
 56 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 57 |             number !== kCFBooleanFalse else {
 58 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:57:24: error: cannot find 'kCFBooleanFalse' in scope
 55 |         guard let number = value as? NSNumber,
 56 |             number !== kCFBooleanTrue,
 57 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 58 |                 return nil
 59 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:73:24: error: cannot find 'kCFBooleanTrue' in scope
 71 |
 72 |         guard let number = value as? NSNumber,
 73 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 74 |             number !== kCFBooleanFalse else {
 75 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:74:24: error: cannot find 'kCFBooleanFalse' in scope
 72 |         guard let number = value as? NSNumber,
 73 |             number !== kCFBooleanTrue,
 74 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 75 |                 return nil
 76 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:90:24: error: cannot find 'kCFBooleanTrue' in scope
 88 |
 89 |         guard let number = value as? NSNumber,
 90 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 91 |             number !== kCFBooleanFalse else {
 92 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:91:24: error: cannot find 'kCFBooleanFalse' in scope
 89 |         guard let number = value as? NSNumber,
 90 |             number !== kCFBooleanTrue,
 91 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 92 |                 return nil
 93 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:107:24: error: cannot find 'kCFBooleanTrue' in scope
105 |
106 |         guard let number = value as? NSNumber,
107 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
108 |             number !== kCFBooleanFalse else {
109 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:108:24: error: cannot find 'kCFBooleanFalse' in scope
106 |         guard let number = value as? NSNumber,
107 |             number !== kCFBooleanTrue,
108 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
109 |                 return nil
110 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:124:24: error: cannot find 'kCFBooleanTrue' in scope
122 |
123 |         guard let number = value as? NSNumber,
124 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
125 |             number !== kCFBooleanFalse else {
126 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:125:24: error: cannot find 'kCFBooleanFalse' in scope
123 |         guard let number = value as? NSNumber,
124 |             number !== kCFBooleanTrue,
125 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
126 |                 return nil
127 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:141:24: error: cannot find 'kCFBooleanTrue' in scope
139 |
140 |         guard let number = value as? NSNumber,
141 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
142 |             number !== kCFBooleanFalse else {
143 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:142:24: error: cannot find 'kCFBooleanFalse' in scope
140 |         guard let number = value as? NSNumber,
141 |             number !== kCFBooleanTrue,
142 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
143 |                 return nil
144 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:158:24: error: cannot find 'kCFBooleanTrue' in scope
156 |
157 |         guard let number = value as? NSNumber,
158 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
159 |             number !== kCFBooleanFalse else {
160 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:159:24: error: cannot find 'kCFBooleanFalse' in scope
157 |         guard let number = value as? NSNumber,
158 |             number !== kCFBooleanTrue,
159 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
160 |                 return nil
161 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:175:24: error: cannot find 'kCFBooleanTrue' in scope
173 |
174 |         guard let number = value as? NSNumber,
175 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
176 |             number !== kCFBooleanFalse else {
177 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:176:24: error: cannot find 'kCFBooleanFalse' in scope
174 |         guard let number = value as? NSNumber,
175 |             number !== kCFBooleanTrue,
176 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
177 |                 return nil
178 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:192:24: error: cannot find 'kCFBooleanTrue' in scope
190 |
191 |         guard let number = value as? NSNumber,
192 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
193 |             number !== kCFBooleanFalse else {
194 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:193:24: error: cannot find 'kCFBooleanFalse' in scope
191 |         guard let number = value as? NSNumber,
192 |             number !== kCFBooleanTrue,
193 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
194 |                 return nil
195 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:209:24: error: cannot find 'kCFBooleanTrue' in scope
207 |
208 |         if let number = value as? NSNumber,
209 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
210 |             number !== kCFBooleanFalse {
211 |             // We are willing to return a Float by losing precision:
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:210:24: error: cannot find 'kCFBooleanFalse' in scope
208 |         if let number = value as? NSNumber,
209 |             number !== kCFBooleanTrue,
210 |             number !== kCFBooleanFalse {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
211 |             // We are willing to return a Float by losing precision:
212 |             // * If the original value was integral,
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:257:24: error: cannot find 'kCFBooleanTrue' in scope
255 |
256 |         if let number = value as? NSNumber,
257 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
258 |             number !== kCFBooleanFalse {
259 |             // We are always willing to return the number as a Double:
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:258:24: error: cannot find 'kCFBooleanFalse' in scope
256 |         if let number = value as? NSNumber,
257 |             number !== kCFBooleanTrue,
258 |             number !== kCFBooleanFalse {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
259 |             // We are always willing to return the number as a Double:
260 |             // * If the original value was integral, it is guaranteed to fit in a Double; we are willing to lose precision past 2^53 if you encoded a UInt64 but requested a Double
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:331:25: error: 'let' binding pattern cannot appear in an expression
329 |             }
330 |
331 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
332 |             guard let string = try self.unbox(value, as: String.self) else { return nil }
333 |
[20/20] Compiling CleanJSON _CleanJSONDecoder.swift
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:454:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
452 |
453 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
454 | private var _iso8601Formatter: ISO8601DateFormatter = {
    |             |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_iso8601Formatter' 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
455 |     let formatter = ISO8601DateFormatter()
456 |     formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:19:27: error: cannot find 'kCFBooleanTrue' in scope
 17 |         if let number = value as? NSNumber {
 18 |             // TODO: Add a flag to coerce non-boolean numbers into Bools?
 19 |             if number === kCFBooleanTrue as NSNumber {
    |                           `- error: cannot find 'kCFBooleanTrue' in scope
 20 |                 return true
 21 |             } else if number === kCFBooleanFalse as NSNumber {
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:21:34: error: cannot find 'kCFBooleanFalse' in scope
 19 |             if number === kCFBooleanTrue as NSNumber {
 20 |                 return true
 21 |             } else if number === kCFBooleanFalse as NSNumber {
    |                                  `- error: cannot find 'kCFBooleanFalse' in scope
 22 |                 return false
 23 |             }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:39:24: error: cannot find 'kCFBooleanTrue' in scope
 37 |
 38 |         guard let number = value as? NSNumber,
 39 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 40 |             number !== kCFBooleanFalse else {
 41 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:40:24: error: cannot find 'kCFBooleanFalse' in scope
 38 |         guard let number = value as? NSNumber,
 39 |             number !== kCFBooleanTrue,
 40 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 41 |                 return nil
 42 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:56:24: error: cannot find 'kCFBooleanTrue' in scope
 54 |
 55 |         guard let number = value as? NSNumber,
 56 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 57 |             number !== kCFBooleanFalse else {
 58 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:57:24: error: cannot find 'kCFBooleanFalse' in scope
 55 |         guard let number = value as? NSNumber,
 56 |             number !== kCFBooleanTrue,
 57 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 58 |                 return nil
 59 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:73:24: error: cannot find 'kCFBooleanTrue' in scope
 71 |
 72 |         guard let number = value as? NSNumber,
 73 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 74 |             number !== kCFBooleanFalse else {
 75 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:74:24: error: cannot find 'kCFBooleanFalse' in scope
 72 |         guard let number = value as? NSNumber,
 73 |             number !== kCFBooleanTrue,
 74 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 75 |                 return nil
 76 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:90:24: error: cannot find 'kCFBooleanTrue' in scope
 88 |
 89 |         guard let number = value as? NSNumber,
 90 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
 91 |             number !== kCFBooleanFalse else {
 92 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:91:24: error: cannot find 'kCFBooleanFalse' in scope
 89 |         guard let number = value as? NSNumber,
 90 |             number !== kCFBooleanTrue,
 91 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
 92 |                 return nil
 93 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:107:24: error: cannot find 'kCFBooleanTrue' in scope
105 |
106 |         guard let number = value as? NSNumber,
107 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
108 |             number !== kCFBooleanFalse else {
109 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:108:24: error: cannot find 'kCFBooleanFalse' in scope
106 |         guard let number = value as? NSNumber,
107 |             number !== kCFBooleanTrue,
108 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
109 |                 return nil
110 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:124:24: error: cannot find 'kCFBooleanTrue' in scope
122 |
123 |         guard let number = value as? NSNumber,
124 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
125 |             number !== kCFBooleanFalse else {
126 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:125:24: error: cannot find 'kCFBooleanFalse' in scope
123 |         guard let number = value as? NSNumber,
124 |             number !== kCFBooleanTrue,
125 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
126 |                 return nil
127 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:141:24: error: cannot find 'kCFBooleanTrue' in scope
139 |
140 |         guard let number = value as? NSNumber,
141 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
142 |             number !== kCFBooleanFalse else {
143 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:142:24: error: cannot find 'kCFBooleanFalse' in scope
140 |         guard let number = value as? NSNumber,
141 |             number !== kCFBooleanTrue,
142 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
143 |                 return nil
144 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:158:24: error: cannot find 'kCFBooleanTrue' in scope
156 |
157 |         guard let number = value as? NSNumber,
158 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
159 |             number !== kCFBooleanFalse else {
160 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:159:24: error: cannot find 'kCFBooleanFalse' in scope
157 |         guard let number = value as? NSNumber,
158 |             number !== kCFBooleanTrue,
159 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
160 |                 return nil
161 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:175:24: error: cannot find 'kCFBooleanTrue' in scope
173 |
174 |         guard let number = value as? NSNumber,
175 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
176 |             number !== kCFBooleanFalse else {
177 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:176:24: error: cannot find 'kCFBooleanFalse' in scope
174 |         guard let number = value as? NSNumber,
175 |             number !== kCFBooleanTrue,
176 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
177 |                 return nil
178 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:192:24: error: cannot find 'kCFBooleanTrue' in scope
190 |
191 |         guard let number = value as? NSNumber,
192 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
193 |             number !== kCFBooleanFalse else {
194 |                 return nil
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:193:24: error: cannot find 'kCFBooleanFalse' in scope
191 |         guard let number = value as? NSNumber,
192 |             number !== kCFBooleanTrue,
193 |             number !== kCFBooleanFalse else {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
194 |                 return nil
195 |         }
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:209:24: error: cannot find 'kCFBooleanTrue' in scope
207 |
208 |         if let number = value as? NSNumber,
209 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
210 |             number !== kCFBooleanFalse {
211 |             // We are willing to return a Float by losing precision:
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:210:24: error: cannot find 'kCFBooleanFalse' in scope
208 |         if let number = value as? NSNumber,
209 |             number !== kCFBooleanTrue,
210 |             number !== kCFBooleanFalse {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
211 |             // We are willing to return a Float by losing precision:
212 |             // * If the original value was integral,
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:257:24: error: cannot find 'kCFBooleanTrue' in scope
255 |
256 |         if let number = value as? NSNumber,
257 |             number !== kCFBooleanTrue,
    |                        `- error: cannot find 'kCFBooleanTrue' in scope
258 |             number !== kCFBooleanFalse {
259 |             // We are always willing to return the number as a Double:
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:258:24: error: cannot find 'kCFBooleanFalse' in scope
256 |         if let number = value as? NSNumber,
257 |             number !== kCFBooleanTrue,
258 |             number !== kCFBooleanFalse {
    |                        `- error: cannot find 'kCFBooleanFalse' in scope
259 |             // We are always willing to return the number as a Double:
260 |             // * If the original value was integral, it is guaranteed to fit in a Double; we are willing to lose precision past 2^53 if you encoded a UInt64 but requested a Double
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:331:25: error: 'let' binding pattern cannot appear in an expression
329 |             }
330 |
331 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
332 |             guard let string = try self.unbox(value, as: String.self) else { return nil }
333 |
BUILD FAILURE 6.0 linux