Build Information
Successful build of DLog, reference 1.5.0 (42db6f
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 13:22:44 UTC.
Swift 6 data race errors: 73
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: annotate 'icons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | .log : "💬",
83 | .trace : "#️⃣",
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogItem.swift:67:13: note: consider making enum 'LogType' conform to the 'Sendable' protocol
65 | ///
66 | @objc
67 | public enum LogType : Int {
| `- note: consider making enum 'LogType' conform to the 'Sendable' protocol
68 | /// The default log level to capture non critical information.
69 | case log
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Text.swift:97:14: warning: static property 'titles' is not concurrency-safe because non-'Sendable' type '[LogType : String]' may have shared mutable state; this is an error in the Swift 6 language mode
95 | }
96 |
97 | static let titles: [LogType : String] = [
| |- warning: static property 'titles' is not concurrency-safe because non-'Sendable' type '[LogType : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titles' 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
98 | .log : "LOG",
99 | .trace : "TRACE",
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogItem.swift:67:13: note: consider making enum 'LogType' conform to the 'Sendable' protocol
65 | ///
66 | @objc
67 | public enum LogType : Int {
| `- note: consider making enum 'LogType' conform to the 'Sendable' protocol
68 | /// The default log level to capture non critical information.
69 | case log
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Text.swift:125:22: warning: static property 'tags' is not concurrency-safe because non-'Sendable' type '[LogType : Text.Tag]' may have shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | private static let tags: [LogType : Tag] = [
| |- warning: static property 'tags' is not concurrency-safe because non-'Sendable' type '[LogType : Text.Tag]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tags' 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
126 | .log : Tag(textColor: .textWhite, colors: [.backgroundWhite, .textBlack]),
127 | .info : Tag(textColor: .textGreen, colors: [.backgroundGreen, .textWhite]),
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogItem.swift:67:13: note: consider making enum 'LogType' conform to the 'Sendable' protocol
65 | ///
66 | @objc
67 | public enum LogType : Int {
| `- note: consider making enum 'LogType' conform to the 'Sendable' protocol
68 | /// The default log level to capture non critical information.
69 | case log
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:50:21: warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
48 |
49 | /// Start sign
50 | public static let sign = Self(0)
| |- warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sign' 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
51 |
52 | /// Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:53:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
51 |
52 | /// Timestamp
53 | public static let time = Self(1)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
54 |
55 | /// Level of the current scope
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:56:21: warning: static property 'level' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
54 |
55 | /// Level of the current scope
56 | public static let level = Self(2)
| |- warning: static property 'level' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'level' 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
57 |
58 | /// Category
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:59:21: warning: static property 'category' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
57 |
58 | /// Category
59 | public static let category = Self(3)
| |- warning: static property 'category' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'category' 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
60 |
61 | /// The current scope padding
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:62:21: warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
60 |
61 | /// The current scope padding
62 | public static let padding = Self(4)
| |- warning: static property 'padding' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'padding' 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
63 |
64 | /// Log type
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:65:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
63 |
64 | /// Log type
65 | public static let type = Self(5)
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' 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
66 |
67 | /// Location
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:68:21: warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
66 |
67 | /// Location
68 | public static let location = Self(6)
| |- warning: static property 'location' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'location' 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
69 |
70 | /// Metadata
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:71:21: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Indicates which info from the logger should be used.
40 | public struct LogOptions: OptionSet {
| `- note: consider making struct 'LogOptions' conform to the 'Sendable' protocol
41 | /// The corresponding value of the raw type.
42 | public let rawValue: Int
:
69 |
70 | /// Metadata
71 | public static let metadata = Self(7)
| |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'LogOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metadata' 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
72 |
73 | /// Compact: `.sign` and `.time`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:39:21: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
37 |
38 | /// Function
39 | public static let function = Self(0)
| |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'function' 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
40 |
41 | /// Process
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:42:21: warning: static property 'process' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Process
42 | public static let process = Self(1)
| |- warning: static property 'process' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'process' 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
43 |
44 | /// Queue
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:45:21: warning: static property 'queue' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
43 |
44 | /// Queue
45 | public static let queue = Self(2)
| |- warning: static property 'queue' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queue' 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
46 |
47 | /// Stack
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:48:21: warning: static property 'stack' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
46 |
47 | /// Stack
48 | public static let stack = Self(3)
| |- warning: static property 'stack' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stack' 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
49 |
50 | /// Thread
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:51:21: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Thread
51 | public static let thread = Self(4)
| |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thread' 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
52 |
53 | /// Compact: `.thread` and `.function`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:54:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
52 |
53 | /// Compact: `.thread` and `.function`
54 | public static let compact: Self = [.thread, .function]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
55 |
56 | /// Regular: `.thread`, `.queue` and `.function`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Trace.swift:57:21: warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from the `trace` method should be used.
29 | public struct TraceOptions: OptionSet {
| `- note: consider making struct 'TraceOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
55 |
56 | /// Regular: `.thread`, `.queue` and `.function`
57 | public static let regular: Self = [.thread, .queue, .function]
| |- warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'TraceOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regular' 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
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[24/37] Compiling DLog LogPrivacy.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/DLog.swift:42:21: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// The central class to emit log messages to specified outputs using one of the methods corresponding to a log level.
30 | ///
31 | public class DLog: LogProtocol {
| `- note: class 'DLog' does not conform to the 'Sendable' protocol
32 |
33 | private let output: LogOutput?
:
40 | ///
41 | @objc
42 | public static let disabled = DLog(nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disabled' 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
43 |
44 | /// Creates a logger object that assigns log messages to a specified category.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[25/37] Compiling DLog LogProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/DLog.swift:42:21: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// The central class to emit log messages to specified outputs using one of the methods corresponding to a log level.
30 | ///
31 | public class DLog: LogProtocol {
| `- note: class 'DLog' does not conform to the 'Sendable' protocol
32 |
33 | private let output: LogOutput?
:
40 | ///
41 | @objc
42 | public static let disabled = DLog(nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disabled' 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
43 |
44 | /// Creates a logger object that assigns log messages to a specified category.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[26/37] Compiling DLog LogScope.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/DLog.swift:42:21: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// The central class to emit log messages to specified outputs using one of the methods corresponding to a log level.
30 | ///
31 | public class DLog: LogProtocol {
| `- note: class 'DLog' does not conform to the 'Sendable' protocol
32 |
33 | private let output: LogOutput?
:
40 | ///
41 | @objc
42 | public static let disabled = DLog(nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disabled' 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
43 |
44 | /// Creates a logger object that assigns log messages to a specified category.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[27/37] Compiling DLog OSLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/OSLog.swift:39:22: warning: static property 'types' is not concurrency-safe because non-'Sendable' type '[LogType : OSLogType]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | public class OSLog : LogOutput {
38 |
39 | private static let types: [LogType : OSLogType] = [
| |- warning: static property 'types' is not concurrency-safe because non-'Sendable' type '[LogType : OSLogType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'types' 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
40 | .log : .default,
41 | // Debug
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogItem.swift:67:13: note: consider making enum 'LogType' conform to the 'Sendable' protocol
65 | ///
66 | @objc
67 | public enum LogType : Int {
| `- note: consider making enum 'LogType' conform to the 'Sendable' protocol
68 | /// The default log level to capture non critical information.
69 | case log
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:39:14: warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
| |- warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' 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
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
41 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:50:14: warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| `- warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
25 |
26 | import Foundation
27 | import os
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
28 |
29 |
:
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[28/37] Compiling DLog Standard.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/OSLog.swift:39:22: warning: static property 'types' is not concurrency-safe because non-'Sendable' type '[LogType : OSLogType]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | public class OSLog : LogOutput {
38 |
39 | private static let types: [LogType : OSLogType] = [
| |- warning: static property 'types' is not concurrency-safe because non-'Sendable' type '[LogType : OSLogType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'types' 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
40 | .log : .default,
41 | // Debug
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogItem.swift:67:13: note: consider making enum 'LogType' conform to the 'Sendable' protocol
65 | ///
66 | @objc
67 | public enum LogType : Int {
| `- note: consider making enum 'LogType' conform to the 'Sendable' protocol
68 | /// The default log level to capture non critical information.
69 | case log
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:39:14: warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
| |- warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' 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
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
41 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:50:14: warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| `- warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
25 |
26 | import Foundation
27 | import os
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
28 |
29 |
:
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[29/37] Compiling DLog LogFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:34:17: warning: let 'byteCountFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | fileprivate let dateFormatter = DateFormatter()
34 | fileprivate let byteCountFormatter = ByteCountFormatter()
| |- warning: let 'byteCountFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteCountFormatter' 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 | fileprivate let numberFormatter = NumberFormatter()
36 | fileprivate let dateComponentsFormatter: DateComponentsFormatter = {
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:139:21: warning: static property 'octal' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
137 |
138 | /// Displays an integer value in octal format.
139 | public static let octal = Self.octal()
| |- warning: static property 'octal' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octal' 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
140 |
141 | /// Displays an integer value in hexadecimal format with the specified
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:151:21: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
149 |
150 | /// Displays an integer value in hexadecimal format.
151 | public static let hex = Self.hex()
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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
152 |
153 | /// Displays an integer value in byte count format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:161:21: warning: static property 'byteCount' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
159 |
160 | /// Displays an integer value in byte count format.
161 | public static let byteCount = Self.byteCount(allowedUnits: .useAll)
| |- warning: static property 'byteCount' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteCount' 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
162 |
163 | /// Displays an integer value in number format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:171:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
169 |
170 | /// Displays an integer value in number format.
171 | public static let number = Self.number(style: .decimal)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'number' 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
172 |
173 | /// Displays a localized string corresponding to a specified HTTP status code.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:188:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
186 |
187 | /// Displays a time duration from seconds.
188 | public static let time = Self.time(unitsStyle: .abbreviated)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
189 |
190 | /// Displays date from seconds since 1970.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:199:21: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
197 |
198 | /// Displays date from seconds since 1970.
199 | public static let date = Self.date(dateStyle: .short, timeStyle: .short)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
200 |
201 | func string<T: BinaryInteger>(from value: T) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:262:21: warning: static property 'fixed' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
260 |
261 | /// Displays a floating-point value in fprintf's `%f` format with default precision.
262 | public static let fixed = Self.fixed()
| |- warning: static property 'fixed' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixed' 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
263 |
264 | /// Displays a floating-point value in hexadecimal format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:273:21: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
271 |
272 | /// Displays a floating-point value in hexadecimal format.
273 | public static let hex = Self.hex()
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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
274 |
275 | /// Displays a floating-point value in fprintf's `%e` format with specified precision.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:282:21: warning: static property 'exponential' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
280 |
281 | /// Displays a floating-point value in fprintf's `%e` format.
282 | public static let exponential = Self.exponential()
| |- warning: static property 'exponential' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exponential' 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
283 |
284 | /// Displays a floating-point value in fprintf's `%g` format with the
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:292:21: warning: static property 'hybrid' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
290 |
291 | /// Displays a floating-point value in fprintf's `%g` format.
292 | public static let hybrid = Self.hybrid()
| |- warning: static property 'hybrid' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hybrid' 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
293 |
294 | /// Displays a floating-point value in number format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:308:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
306 |
307 | /// Displays a time duration from seconds.
308 | public static let time = Self.time(unitsStyle: .abbreviated)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
309 |
310 | /// Displays date from seconds since 1970.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:319:21: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
317 |
318 | /// Displays date from seconds since 1970.
319 | public static let date = Self.date(dateStyle: .short, timeStyle: .short)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
320 |
321 | /// Displays a floating-point value in number format.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:322:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
320 |
321 | /// Displays a floating-point value in number format.
322 | public static let number = Self.number(style: .decimal)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'number' 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
323 |
324 | func string<T: BinaryFloatingPoint>(from value: T) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:40:21: warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
38 |
39 | /// Average time duration
40 | public static let average = Self(0)
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' 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
41 |
42 | /// Number of total calls
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:43:21: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
41 |
42 | /// Number of total calls
43 | public static let count = Self(1)
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' 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
44 |
45 | /// Time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:46:21: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
44 |
45 | /// Time duration
46 | public static let duration = Self(2)
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'duration' 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
47 |
48 | /// Maximum time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:49:21: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
47 |
48 | /// Maximum time duration
49 | public static let max = Self(3)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
50 |
51 | /// Minimum time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:52:21: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
50 |
51 | /// Minimum time duration
52 | public static let min = Self(4)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' 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
53 |
54 | /// Total time duration of all calls
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:55:21: warning: static property 'total' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
53 |
54 | /// Total time duration of all calls
55 | public static let total = Self(5)
| |- warning: static property 'total' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'total' 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
56 |
57 | /// Compact: `.duration` and `.average`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:58:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
56 |
57 | /// Compact: `.duration` and `.average`
58 | public static let compact: Self = [.duration, .average]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
59 |
60 | /// Regular: `.duration`, `.average`, `.count` and `.total`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:61:21: warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
59 |
60 | /// Regular: `.duration`, `.average`, `.count` and `.total`
61 | public static let regular: Self = [.duration, .average, .count, .total]
| |- warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regular' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:93:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StatisticsStore' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }
91 |
92 | fileprivate class StatisticsStore {
| `- note: class 'StatisticsStore' does not conform to the 'Sendable' protocol
93 | static let shared = StatisticsStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StatisticsStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
94 |
95 | private var intervals = [Int : IntervalStatistics]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[30/37] Compiling DLog LogInterval.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:34:17: warning: let 'byteCountFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | fileprivate let dateFormatter = DateFormatter()
34 | fileprivate let byteCountFormatter = ByteCountFormatter()
| |- warning: let 'byteCountFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteCountFormatter' 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 | fileprivate let numberFormatter = NumberFormatter()
36 | fileprivate let dateComponentsFormatter: DateComponentsFormatter = {
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:139:21: warning: static property 'octal' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
137 |
138 | /// Displays an integer value in octal format.
139 | public static let octal = Self.octal()
| |- warning: static property 'octal' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octal' 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
140 |
141 | /// Displays an integer value in hexadecimal format with the specified
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:151:21: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
149 |
150 | /// Displays an integer value in hexadecimal format.
151 | public static let hex = Self.hex()
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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
152 |
153 | /// Displays an integer value in byte count format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:161:21: warning: static property 'byteCount' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
159 |
160 | /// Displays an integer value in byte count format.
161 | public static let byteCount = Self.byteCount(allowedUnits: .useAll)
| |- warning: static property 'byteCount' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteCount' 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
162 |
163 | /// Displays an integer value in number format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:171:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
169 |
170 | /// Displays an integer value in number format.
171 | public static let number = Self.number(style: .decimal)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'number' 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
172 |
173 | /// Displays a localized string corresponding to a specified HTTP status code.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:188:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
186 |
187 | /// Displays a time duration from seconds.
188 | public static let time = Self.time(unitsStyle: .abbreviated)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
189 |
190 | /// Displays date from seconds since 1970.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:199:21: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
197 |
198 | /// Displays date from seconds since 1970.
199 | public static let date = Self.date(dateStyle: .short, timeStyle: .short)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
200 |
201 | func string<T: BinaryInteger>(from value: T) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:262:21: warning: static property 'fixed' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
260 |
261 | /// Displays a floating-point value in fprintf's `%f` format with default precision.
262 | public static let fixed = Self.fixed()
| |- warning: static property 'fixed' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixed' 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
263 |
264 | /// Displays a floating-point value in hexadecimal format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:273:21: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
271 |
272 | /// Displays a floating-point value in hexadecimal format.
273 | public static let hex = Self.hex()
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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
274 |
275 | /// Displays a floating-point value in fprintf's `%e` format with specified precision.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:282:21: warning: static property 'exponential' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
280 |
281 | /// Displays a floating-point value in fprintf's `%e` format.
282 | public static let exponential = Self.exponential()
| |- warning: static property 'exponential' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exponential' 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
283 |
284 | /// Displays a floating-point value in fprintf's `%g` format with the
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:292:21: warning: static property 'hybrid' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
290 |
291 | /// Displays a floating-point value in fprintf's `%g` format.
292 | public static let hybrid = Self.hybrid()
| |- warning: static property 'hybrid' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hybrid' 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
293 |
294 | /// Displays a floating-point value in number format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:308:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
306 |
307 | /// Displays a time duration from seconds.
308 | public static let time = Self.time(unitsStyle: .abbreviated)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
309 |
310 | /// Displays date from seconds since 1970.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:319:21: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
317 |
318 | /// Displays date from seconds since 1970.
319 | public static let date = Self.date(dateStyle: .short, timeStyle: .short)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
320 |
321 | /// Displays a floating-point value in number format.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:322:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
320 |
321 | /// Displays a floating-point value in number format.
322 | public static let number = Self.number(style: .decimal)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'number' 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
323 |
324 | func string<T: BinaryFloatingPoint>(from value: T) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:40:21: warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
38 |
39 | /// Average time duration
40 | public static let average = Self(0)
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' 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
41 |
42 | /// Number of total calls
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:43:21: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
41 |
42 | /// Number of total calls
43 | public static let count = Self(1)
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' 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
44 |
45 | /// Time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:46:21: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
44 |
45 | /// Time duration
46 | public static let duration = Self(2)
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'duration' 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
47 |
48 | /// Maximum time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:49:21: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
47 |
48 | /// Maximum time duration
49 | public static let max = Self(3)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
50 |
51 | /// Minimum time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:52:21: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
50 |
51 | /// Minimum time duration
52 | public static let min = Self(4)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' 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
53 |
54 | /// Total time duration of all calls
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:55:21: warning: static property 'total' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
53 |
54 | /// Total time duration of all calls
55 | public static let total = Self(5)
| |- warning: static property 'total' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'total' 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
56 |
57 | /// Compact: `.duration` and `.average`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:58:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
56 |
57 | /// Compact: `.duration` and `.average`
58 | public static let compact: Self = [.duration, .average]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
59 |
60 | /// Regular: `.duration`, `.average`, `.count` and `.total`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:61:21: warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
59 |
60 | /// Regular: `.duration`, `.average`, `.count` and `.total`
61 | public static let regular: Self = [.duration, .average, .count, .total]
| |- warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regular' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:93:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StatisticsStore' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }
91 |
92 | fileprivate class StatisticsStore {
| `- note: class 'StatisticsStore' does not conform to the 'Sendable' protocol
93 | static let shared = StatisticsStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StatisticsStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
94 |
95 | private var intervals = [Int : IntervalStatistics]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[31/37] Compiling DLog LogItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:34:17: warning: let 'byteCountFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | fileprivate let dateFormatter = DateFormatter()
34 | fileprivate let byteCountFormatter = ByteCountFormatter()
| |- warning: let 'byteCountFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteCountFormatter' 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 | fileprivate let numberFormatter = NumberFormatter()
36 | fileprivate let dateComponentsFormatter: DateComponentsFormatter = {
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:139:21: warning: static property 'octal' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
137 |
138 | /// Displays an integer value in octal format.
139 | public static let octal = Self.octal()
| |- warning: static property 'octal' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octal' 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
140 |
141 | /// Displays an integer value in hexadecimal format with the specified
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:151:21: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
149 |
150 | /// Displays an integer value in hexadecimal format.
151 | public static let hex = Self.hex()
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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
152 |
153 | /// Displays an integer value in byte count format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:161:21: warning: static property 'byteCount' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
159 |
160 | /// Displays an integer value in byte count format.
161 | public static let byteCount = Self.byteCount(allowedUnits: .useAll)
| |- warning: static property 'byteCount' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteCount' 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
162 |
163 | /// Displays an integer value in number format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:171:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
169 |
170 | /// Displays an integer value in number format.
171 | public static let number = Self.number(style: .decimal)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'number' 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
172 |
173 | /// Displays a localized string corresponding to a specified HTTP status code.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:188:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
186 |
187 | /// Displays a time duration from seconds.
188 | public static let time = Self.time(unitsStyle: .abbreviated)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
189 |
190 | /// Displays date from seconds since 1970.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:199:21: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | /// Format options for integers.
128 | public enum LogIntFormatting {
| `- note: consider making enum 'LogIntFormatting' conform to the 'Sendable' protocol
129 | /// Displays an integer value in binary format.
130 | case binary
:
197 |
198 | /// Displays date from seconds since 1970.
199 | public static let date = Self.date(dateStyle: .short, timeStyle: .short)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogIntFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
200 |
201 | func string<T: BinaryInteger>(from value: T) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:262:21: warning: static property 'fixed' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
260 |
261 | /// Displays a floating-point value in fprintf's `%f` format with default precision.
262 | public static let fixed = Self.fixed()
| |- warning: static property 'fixed' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixed' 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
263 |
264 | /// Displays a floating-point value in hexadecimal format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:273:21: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
271 |
272 | /// Displays a floating-point value in hexadecimal format.
273 | public static let hex = Self.hex()
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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
274 |
275 | /// Displays a floating-point value in fprintf's `%e` format with specified precision.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:282:21: warning: static property 'exponential' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
280 |
281 | /// Displays a floating-point value in fprintf's `%e` format.
282 | public static let exponential = Self.exponential()
| |- warning: static property 'exponential' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exponential' 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
283 |
284 | /// Displays a floating-point value in fprintf's `%g` format with the
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:292:21: warning: static property 'hybrid' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
290 |
291 | /// Displays a floating-point value in fprintf's `%g` format.
292 | public static let hybrid = Self.hybrid()
| |- warning: static property 'hybrid' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hybrid' 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
293 |
294 | /// Displays a floating-point value in number format with the specified parameters.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:308:21: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
306 |
307 | /// Displays a time duration from seconds.
308 | public static let time = Self.time(unitsStyle: .abbreviated)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
309 |
310 | /// Displays date from seconds since 1970.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:319:21: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
317 |
318 | /// Displays date from seconds since 1970.
319 | public static let date = Self.date(dateStyle: .short, timeStyle: .short)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
320 |
321 | /// Displays a floating-point value in number format.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogFormat.swift:322:21: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
252 |
253 | /// Format options for floating-point numbers.
254 | public enum LogFloatFormatting {
| `- note: consider making enum 'LogFloatFormatting' conform to the 'Sendable' protocol
255 | /// Displays a floating-point value in fprintf's `%f` format with specified precision.
256 | ///
:
320 |
321 | /// Displays a floating-point value in number format.
322 | public static let number = Self.number(style: .decimal)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'LogFloatFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'number' 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
323 |
324 | func string<T: BinaryFloatingPoint>(from value: T) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:40:21: warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
38 |
39 | /// Average time duration
40 | public static let average = Self(0)
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' 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
41 |
42 | /// Number of total calls
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:43:21: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
41 |
42 | /// Number of total calls
43 | public static let count = Self(1)
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' 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
44 |
45 | /// Time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:46:21: warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
44 |
45 | /// Time duration
46 | public static let duration = Self(2)
| |- warning: static property 'duration' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'duration' 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
47 |
48 | /// Maximum time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:49:21: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
47 |
48 | /// Maximum time duration
49 | public static let max = Self(3)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
50 |
51 | /// Minimum time duration
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:52:21: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
50 |
51 | /// Minimum time duration
52 | public static let min = Self(4)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' 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
53 |
54 | /// Total time duration of all calls
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:55:21: warning: static property 'total' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
53 |
54 | /// Total time duration of all calls
55 | public static let total = Self(5)
| |- warning: static property 'total' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'total' 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
56 |
57 | /// Compact: `.duration` and `.average`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:58:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
56 |
57 | /// Compact: `.duration` and `.average`
58 | public static let compact: Self = [.duration, .average]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
59 |
60 | /// Regular: `.duration`, `.average`, `.count` and `.total`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:61:21: warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Indicates which info from intervals should be used.
30 | public struct IntervalOptions: OptionSet {
| `- note: consider making struct 'IntervalOptions' conform to the 'Sendable' protocol
31 | /// The corresponding value of the raw type.
32 | public let rawValue: Int
:
59 |
60 | /// Regular: `.duration`, `.average`, `.count` and `.total`
61 | public static let regular: Self = [.duration, .average, .count, .total]
| |- warning: static property 'regular' is not concurrency-safe because non-'Sendable' type 'IntervalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regular' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogInterval.swift:93:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StatisticsStore' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }
91 |
92 | fileprivate class StatisticsStore {
| `- note: class 'StatisticsStore' does not conform to the 'Sendable' protocol
93 | static let shared = StatisticsStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StatisticsStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
94 |
95 | private var intervals = [Int : IntervalStatistics]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[32/37] Compiling DLog Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/DLog.swift:42:21: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// The central class to emit log messages to specified outputs using one of the methods corresponding to a log level.
30 | ///
31 | public class DLog: LogProtocol {
| `- note: class 'DLog' does not conform to the 'Sendable' protocol
32 |
33 | private let output: LogOutput?
:
40 | ///
41 | @objc
42 | public static let disabled = DLog(nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disabled' 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
43 |
44 | /// Creates a logger object that assigns log messages to a specified category.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:39:14: warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
| |- warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' 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
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
41 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:40:22: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_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
41 |
42 | private static func dynamic<T>(symbol: String) -> T? {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:50:14: warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| `- warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
25 |
26 | import Foundation
27 | import os
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
28 |
29 |
:
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[33/37] Compiling DLog DLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/DLog.swift:42:21: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// The central class to emit log messages to specified outputs using one of the methods corresponding to a log level.
30 | ///
31 | public class DLog: LogProtocol {
| `- note: class 'DLog' does not conform to the 'Sendable' protocol
32 |
33 | private let output: LogOutput?
:
40 | ///
41 | @objc
42 | public static let disabled = DLog(nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disabled' 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
43 |
44 | /// Creates a logger object that assigns log messages to a specified category.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:39:14: warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
| |- warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' 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
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
41 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:40:22: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_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
41 |
42 | private static func dynamic<T>(symbol: String) -> T? {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:50:14: warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| `- warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
25 |
26 | import Foundation
27 | import os
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
28 |
29 |
:
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[34/37] Compiling DLog Dynamic.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/DLog.swift:42:21: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// The central class to emit log messages to specified outputs using one of the methods corresponding to a log level.
30 | ///
31 | public class DLog: LogProtocol {
| `- note: class 'DLog' does not conform to the 'Sendable' protocol
32 |
33 | private let output: LogOutput?
:
40 | ///
41 | @objc
42 | public static let disabled = DLog(nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'DLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disabled' 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
43 |
44 | /// Creates a logger object that assigns log messages to a specified category.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogScope.swift:30:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import os.log
28 |
29 | class ScopeStack {
| `- note: class 'ScopeStack' does not conform to the 'Sendable' protocol
30 | static let shared = ScopeStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ScopeStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | private var scopes = [LogScope]()
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:39:14: warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
| |- warning: static property 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' 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
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
41 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:40:22: warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
38 | // Constants
39 | static let dso = UnsafeMutableRawPointer(mutating: #dsohandle)
40 | private static let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
| |- warning: static property 'RTLD_DEFAULT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RTLD_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
41 |
42 | private static func dynamic<T>(symbol: String) -> T? {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:50:14: warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| `- warning: static property 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t?' (aka 'Optional<any OS_os_activity>') may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
25 |
26 | import Foundation
27 | import os
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
28 |
29 |
:
48 |
49 | // Functions
50 | static let OS_ACTIVITY_CURRENT: os_activity_t? = dynamic(symbol: "_os_activity_current")
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
51 | static let swift_demangle: Swift_Demangle? = dynamic(symbol: "swift_demangle")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:61:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Contains configuration values regarding to a process info.
29 | public struct ProcessOptions: OptionSet {
| `- note: consider making struct 'ProcessOptions' conform to the 'Sendable' protocol
30 |
31 | /// The corresponding value of the raw type.
:
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
61 | public static let compact: Self = [.cpu, .memory, .pid, .threads]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ProcessOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceThread.swift:92:21: warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Indicates which info from threads should be used.
64 | public struct ThreadOptions: OptionSet {
| `- note: consider making struct 'ThreadOptions' conform to the 'Sendable' protocol
65 | /// The corresponding value of the raw type.
66 | public let rawValue: Int
:
90 |
91 | /// Compact: `.number` and `.name`
92 | public static let compact: Self = [.number, .name]
| |- warning: static property 'compact' is not concurrency-safe because non-'Sendable' type 'ThreadOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'compact' 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
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:42:21: warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
40 |
41 | /// Frame
42 | public static let frame = Self(1)
| |- warning: static property 'frame' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frame' 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
43 |
44 | /// Module name
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceStack.swift:51:21: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Indicates which info from stacks should be used.
29 | public struct StackOptions: OptionSet {
| `- note: consider making struct 'StackOptions' conform to the 'Sendable' protocol
30 | /// The corresponding value of the raw type.
31 | public let rawValue: Int
:
49 |
50 | /// Stack symbol
51 | public static let symbol = Self(4)
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'StackOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbol' 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
52 | }
53 |
[34/37] Linking NetConsole
[35/37] Applying NetConsole
[36/37] Compiling DLogObjC DLog.m
Build complete! (24.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DLog",
"name" : "DLog",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "DLog",
"targets" : [
"DLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DLogObjC",
"targets" : [
"DLogObjC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NetConsole",
"targets" : [
"NetConsole"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NetConsole",
"module_type" : "SwiftTarget",
"name" : "NetConsole",
"path" : "Sources/NetConsole",
"product_memberships" : [
"NetConsole"
],
"sources" : [
"Arguments.swift",
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "DLogTestsObjC",
"module_type" : "ClangTarget",
"name" : "DLogTestsObjC",
"path" : "Tests/DLogTestsObjC",
"sources" : [
"DLogTestsObjC.m"
],
"target_dependencies" : [
"DLogObjC"
],
"type" : "test"
},
{
"c99name" : "DLogTests",
"module_type" : "SwiftTarget",
"name" : "DLogTests",
"path" : "Tests/DLogTests",
"sources" : [
"DLogTests.swift"
],
"target_dependencies" : [
"DLog"
],
"type" : "test"
},
{
"c99name" : "DLogObjC",
"module_type" : "ClangTarget",
"name" : "DLogObjC",
"path" : "Sources/DLogObjC",
"product_memberships" : [
"DLogObjC"
],
"sources" : [
"DLog.m"
],
"target_dependencies" : [
"DLog"
],
"type" : "library"
},
{
"c99name" : "DLog",
"module_type" : "SwiftTarget",
"name" : "DLog",
"path" : "Sources/DLog",
"product_memberships" : [
"DLog",
"DLogObjC"
],
"sources" : [
"Atomic.swift",
"DLog.swift",
"Dynamic.swift",
"File.swift",
"Filter.swift",
"LogConfig.swift",
"LogFormat.swift",
"LogInterval.swift",
"LogItem.swift",
"LogMessage.swift",
"LogMetadata.swift",
"LogOutput.swift",
"LogPrivacy.swift",
"LogProtocol.swift",
"LogScope.swift",
"Mach.swift",
"Net.swift",
"OSLog.swift",
"Standard.swift",
"Text.swift",
"Trace.swift",
"TraceFunc.swift",
"TraceProcess.swift",
"TraceStack.swift",
"TraceThread.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.