Build Information
Successful build of SwiftPrettyPrint, reference main (5bc864
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 11:55:17 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/YusukeHosonuma/SwiftPrettyPrint
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5bc8648 Merge pull request #195 from YusukeHosonuma/hotfix-infinity-loop
Cloned https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Revision (git rev-parse @):
5bc86489448197a543c5dd62beb6cbeffb6006fc
SUCCESS checkout https://github.com/YusukeHosonuma/SwiftPrettyPrint.git at main
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/YusukeHosonuma/SHList.git
Fetching https://github.com/YusukeHosonuma/Flatten.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/YusukeHosonuma/SwiftParamTest.git
[1/64] Fetching shlist
[45/876] Fetching shlist, swiftparamtest
[167/1167] Fetching shlist, swiftparamtest, colorizeswift
[226/1758] Fetching shlist, swiftparamtest, colorizeswift, curry
[280/1900] Fetching shlist, swiftparamtest, colorizeswift, curry, flatten
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.99s)
[1133/1758] Fetching shlist, swiftparamtest, colorizeswift, curry
Fetched https://github.com/YusukeHosonuma/SHList.git from cache (1.26s)
Fetched https://github.com/YusukeHosonuma/SwiftParamTest.git from cache (1.26s)
Fetched https://github.com/thoughtbot/Curry.git from cache (1.26s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (1.26s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.6.0 (2.82s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (2.74s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest.git
Computed https://github.com/YusukeHosonuma/SwiftParamTest.git at 2.2.1 (0.67s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.70s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.68s)
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.6.0
Creating working copy for https://github.com/YusukeHosonuma/SwiftParamTest.git
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest.git resolved at 2.2.1
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved at 0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftprettyprint",
"name": "SwiftPrettyPrint",
"url": "https://github.com/YusukeHosonuma/SwiftPrettyPrint.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPrettyPrint",
"dependencies": [
{
"identity": "swiftparamtest",
"name": "SwiftParamTest",
"url": "https://github.com/YusukeHosonuma/SwiftParamTest.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftParamTest",
"dependencies": [
{
"identity": "flatten",
"name": "Flatten",
"url": "https://github.com/YusukeHosonuma/Flatten.git",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Flatten",
"dependencies": [
]
},
{
"identity": "shlist",
"name": "SHList",
"url": "https://github.com/YusukeHosonuma/SHList.git",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SHList",
"dependencies": [
]
}
]
},
{
"identity": "curry",
"name": "Curry",
"url": "https://github.com/thoughtbot/Curry.git",
"version": "4.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Curry",
"dependencies": [
]
},
{
"identity": "colorizeswift",
"name": "ColorizeSwift",
"url": "https://github.com/mtynior/ColorizeSwift.git",
"version": "1.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ColorizeSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
[1/3099] Fetching swiftprettyprint
Fetched https://github.com/YusukeHosonuma/SwiftPrettyPrint.git from cache (1.35s)
Fetching https://github.com/thoughtbot/Curry.git from cache
Fetching https://github.com/YusukeHosonuma/SwiftParamTest.git from cache
Fetching https://github.com/mtynior/ColorizeSwift.git from cache
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (0.50s)
Fetched https://github.com/thoughtbot/Curry.git from cache (0.51s)
Fetched https://github.com/YusukeHosonuma/SwiftParamTest.git from cache (0.51s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (0.04s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest.git
Computed https://github.com/YusukeHosonuma/SwiftParamTest.git at 2.2.1 (0.03s)
Fetching https://github.com/YusukeHosonuma/Flatten.git from cache
Fetching https://github.com/YusukeHosonuma/SHList.git from cache
Fetched https://github.com/YusukeHosonuma/SHList.git from cache (0.49s)
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.49s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.03s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.02s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (0.02s)
Creating working copy for https://github.com/YusukeHosonuma/SwiftParamTest.git
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest.git resolved at 2.2.1
Creating working copy for https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Working copy of https://github.com/YusukeHosonuma/SwiftPrettyPrint.git resolved at main (5bc8648)
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.0
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved at 0.1.0
warning: '.resolve-product-dependencies': dependency 'swiftprettyprint' is not used by any target
Found 3 product dependencies
- SwiftParamTest
- Curry
- ColorizeSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Emitting module ColorizeSwift
[5/5] Compiling ColorizeSwift ColorizeSwift.swift
[6/20] Compiling SwiftPrettyPrint Operator.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:33:12: warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
31 | // ----------------------------------------------------------------------------
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
| |- warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:34:12: warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
| |- warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pp' 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
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:35:12: warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
| |- warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pd' 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
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:36:12: warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
| |- warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ppd' 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
37 |
38 | public struct P {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class Pretty {
18 | /// Global format option
19 | public static var sharedOption: Option = .init()
| |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedOption' 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
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
[7/21] Compiling SwiftPrettyPrint CombineOperatorOption.swift
[8/21] Compiling SwiftPrettyPrint String+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/CombineExtension.swift:59:23: warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 |
46 | /// Output events to specified output stream.
47 | public func prettyPrint<Output: TextOutputStream>(
| `- note: 'Output' previously declared here
48 | _ prefix: String = "",
49 | when: [CombineOperatorOption.Event] = CombineOperatorOption.Event.allCases,
:
57 | // Use local function for capture arguments.
58 |
59 | func _out<Output: TextOutputStream>(_ value: String, terminator: String = "\n", to output: Output) {
| `- warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 | let message = prefix.isEmpty
61 | ? "\(value)"
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class Pretty {
18 | /// Global format option
19 | public static var sharedOption: Option = .init()
| |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedOption' 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
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var sharedOption: Option = .init()
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
| |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'plainLogStream' 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
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
| |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'coloredLogStream' 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
23 |
24 | private init() {}
[9/21] Compiling SwiftPrettyPrint CombineExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/CombineExtension.swift:59:23: warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 |
46 | /// Output events to specified output stream.
47 | public func prettyPrint<Output: TextOutputStream>(
| `- note: 'Output' previously declared here
48 | _ prefix: String = "",
49 | when: [CombineOperatorOption.Event] = CombineOperatorOption.Event.allCases,
:
57 | // Use local function for capture arguments.
58 |
59 | func _out<Output: TextOutputStream>(_ value: String, terminator: String = "\n", to output: Output) {
| `- warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 | let message = prefix.isEmpty
61 | ? "\(value)"
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class Pretty {
18 | /// Global format option
19 | public static var sharedOption: Option = .init()
| |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedOption' 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
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var sharedOption: Option = .init()
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
| |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'plainLogStream' 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
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
| |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'coloredLogStream' 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
23 |
24 | private init() {}
[10/21] Compiling SwiftPrettyPrint Option.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
13 | type: { $0 },
:
19 | )
20 |
21 | public static let `default` = ColorTheme(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
22 | type: { $0.green().bold() },
23 | nil: { $0.red() },
[11/21] Compiling SwiftPrettyPrint PrettyDescriberError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:12:10: warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | enum PrettyDescriberError: Error {
12 | case notSupported(target: Any)
| `- warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | case failedExtractKeyValue(dictionary: Any)
14 | case unknownError(target: Any)
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:13:10: warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | enum PrettyDescriberError: Error {
12 | case notSupported(target: Any)
13 | case failedExtractKeyValue(dictionary: Any)
| `- warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case unknownError(target: Any)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:14:10: warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | case notSupported(target: Any)
13 | case failedExtractKeyValue(dictionary: Any)
14 | case unknownError(target: Any)
| `- warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
[12/21] Compiling SwiftPrettyPrint Util.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:12:10: warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | enum PrettyDescriberError: Error {
12 | case notSupported(target: Any)
| `- warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | case failedExtractKeyValue(dictionary: Any)
14 | case unknownError(target: Any)
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:13:10: warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | enum PrettyDescriberError: Error {
12 | case notSupported(target: Any)
13 | case failedExtractKeyValue(dictionary: Any)
| `- warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case unknownError(target: Any)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:14:10: warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | case notSupported(target: Any)
13 | case failedExtractKeyValue(dictionary: Any)
14 | case unknownError(target: Any)
| `- warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
[13/21] Compiling SwiftPrettyPrint Pretty.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class Pretty {
18 | /// Global format option
19 | public static var sharedOption: Option = .init()
| |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedOption' 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
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
13 | type: { $0 },
:
19 | )
20 |
21 | public static let `default` = ColorTheme(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
22 | type: { $0.green().bold() },
23 | nil: { $0.red() },
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var sharedOption: Option = .init()
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
| |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'plainLogStream' 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
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
| |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'coloredLogStream' 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
23 |
24 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
[14/21] Compiling SwiftPrettyPrint View+prettyPrint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class Pretty {
18 | /// Global format option
19 | public static var sharedOption: Option = .init()
| |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedOption' 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
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
[15/21] Compiling SwiftPrettyPrint ColorTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
13 | type: { $0 },
:
19 | )
20 |
21 | public static let `default` = ColorTheme(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
22 | type: { $0.green().bold() },
23 | nil: { $0.red() },
[16/21] Compiling SwiftPrettyPrint MultilineFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
13 | type: { $0 },
:
19 | )
20 |
21 | public static let `default` = ColorTheme(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
22 | type: { $0.green().bold() },
23 | nil: { $0.red() },
[17/21] Compiling SwiftPrettyPrint PrettyFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
[18/21] Compiling SwiftPrettyPrint SinglelineFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
[19/21] Emitting module SwiftPrettyPrint
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
13 | type: { $0 },
:
19 | )
20 |
21 | public static let `default` = ColorTheme(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
22 | type: { $0.green().bold() },
23 | nil: { $0.red() },
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:12:10: warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | enum PrettyDescriberError: Error {
12 | case notSupported(target: Any)
| `- warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | case failedExtractKeyValue(dictionary: Any)
14 | case unknownError(target: Any)
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:13:10: warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | enum PrettyDescriberError: Error {
12 | case notSupported(target: Any)
13 | case failedExtractKeyValue(dictionary: Any)
| `- warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case unknownError(target: Any)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:14:10: warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | case notSupported(target: Any)
13 | case failedExtractKeyValue(dictionary: Any)
14 | case unknownError(target: Any)
| `- warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:33:12: warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
31 | // ----------------------------------------------------------------------------
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
| |- warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:34:12: warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
| |- warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pp' 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
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:35:12: warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
| |- warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pd' 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
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Public/Operator.swift:36:12: warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
| |- warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ppd' 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
37 |
38 | public struct P {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class Pretty {
18 | /// Global format option
19 | public static var sharedOption: Option = .init()
| |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedOption' 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
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var sharedOption: Option = .init()
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
| |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'plainLogStream' 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
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
22 | static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
| |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'coloredLogStream' 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
23 |
24 | private init() {}
[20/21] Compiling SwiftPrettyPrint LogOutputStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:193:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
186 | }
187 |
188 | private func asPremitiveString<T>(_ target: T, debug: Bool) -> String? {
| `- note: 'T' previously declared here
189 | //
190 | // SwiftUI Library
191 | //
192 | #if canImport(SwiftUI)
193 | func __string<T: Any>(_ target: T) -> String {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
194 | string(target, debug: debug) // ☑️ Capture `debug`
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:401:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
399 | case let value as CustomStringConvertible:
400 | if #available(iOS 10.0, tvOS 10.0, *),
401 | let _ = value as? UIComponent {
| `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
402 | return nil
403 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:414:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
412 | case let value as CustomStringConvertible:
413 | if #available(iOS 10.0, tvOS 10.0, *),
414 | let _ = value as? UIComponent {
| `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
415 | return nil
416 | } else {
[21/21] Compiling SwiftPrettyPrint PrettyDescriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ColorTheme {
| `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 | public static let plain = ColorTheme(
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' 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
13 | type: { $0 },
14 | nil: { $0 },
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:193:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
186 | }
187 |
188 | private func asPremitiveString<T>(_ target: T, debug: Bool) -> String? {
| `- note: 'T' previously declared here
189 | //
190 | // SwiftUI Library
191 | //
192 | #if canImport(SwiftUI)
193 | func __string<T: Any>(_ target: T) -> String {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
194 | string(target, debug: debug) // ☑️ Capture `debug`
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:401:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
399 | case let value as CustomStringConvertible:
400 | if #available(iOS 10.0, tvOS 10.0, *),
401 | let _ = value as? UIComponent {
| `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
402 | return nil
403 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:414:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
412 | case let value as CustomStringConvertible:
413 | if #available(iOS 10.0, tvOS 10.0, *),
414 | let _ = value as? UIComponent {
| `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
415 | return nil
416 | } else {
Build complete! (16.62s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftparamtest",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/YusukeHosonuma/SwiftParamTest.git"
},
{
"identity" : "curry",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.2",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/thoughtbot/Curry.git"
},
{
"identity" : "colorizeswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mtynior/ColorizeSwift.git"
}
],
"manifest_display_name" : "SwiftPrettyPrint",
"name" : "SwiftPrettyPrint",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SwiftPrettyPrint",
"targets" : [
"SwiftPrettyPrint"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftPrettyPrintTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPrettyPrintTests",
"path" : "Tests/SwiftPrettyPrintTests",
"product_dependencies" : [
"SwiftParamTest",
"Curry"
],
"sources" : [
"Core/Formatter/MultilineFormatterTests.swift",
"Core/Formatter/SinglelineFormatterTests.swift",
"Core/PrettyDescriberTests.swift",
"Core/URLColoringTests.swift",
"Core/UtilTests.swift",
"Extension/String+extensionTests.swift",
"Helper/Assertions.swift",
"Helper/DebugHelper.swift",
"Public/CombineExtensionTests.swift",
"Public/DebugTests.swift",
"Public/OperatorTests.swift",
"Public/OptionTests.swift"
],
"target_dependencies" : [
"SwiftPrettyPrint"
],
"type" : "test"
},
{
"c99name" : "SwiftPrettyPrint",
"module_type" : "SwiftTarget",
"name" : "SwiftPrettyPrint",
"path" : "Sources",
"product_dependencies" : [
"ColorizeSwift"
],
"product_memberships" : [
"SwiftPrettyPrint"
],
"sources" : [
"Core/Color/ColorTheme.swift",
"Core/Formatter/MultilineFormatter.swift",
"Core/Formatter/PrettyFormatter.swift",
"Core/Formatter/SinglelineFormatter.swift",
"Core/Log/LogOutputStream.swift",
"Core/PrettyDescriber.swift",
"Core/PrettyDescriberError.swift",
"Core/Util.swift",
"Extension/String+extension.swift",
"Public/CombineExtension.swift",
"Public/CombineOperatorOption.swift",
"Public/Operator.swift",
"Public/Option.swift",
"Public/Pretty.swift",
"Public/View+prettyPrint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.