Build Information
Successful build of DLog, reference 1.5.0 (42db6f
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 07:33:58 UTC.
Swift 6 data race errors: 73
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
| |- 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- 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/TraceThread.swift:95:21: warning: static property 'regular' 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
:
93 |
94 | /// Regular: `.number`, `.name` and `.qos`
95 | public static let regular: Self = [.number, .name, .qos]
| |- warning: static property 'regular' 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
[12/37] Compiling DLog LogMessage.swift
[13/37] Compiling DLog LogMetadata.swift
[14/37] Compiling DLog LogOutput.swift
[15/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: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'dso' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
| `- 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/os/activity.h:67:1: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
65 | API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0))
66 | #if OS_OBJECT_USE_OBJC
67 | OS_OBJECT_DECL(os_activity);
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
68 | #else
69 | typedef struct os_activity_s *os_activity_t;
/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: add '@MainActor' to make static property 'OS_ACTIVITY_CURRENT' part of global actor 'MainActor'
| `- 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 | }
[16/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: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'dso' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
| `- 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/os/activity.h:67:1: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
65 | API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0))
66 | #if OS_OBJECT_USE_OBJC
67 | OS_OBJECT_DECL(os_activity);
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
68 | #else
69 | typedef struct os_activity_s *os_activity_t;
/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: add '@MainActor' to make static property 'OS_ACTIVITY_CURRENT' part of global actor 'MainActor'
| `- 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 | }
[17/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: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'dso' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'RTLD_DEFAULT' part of global actor 'MainActor'
| `- 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/os/activity.h:67:1: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
65 | API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0))
66 | #if OS_OBJECT_USE_OBJC
67 | OS_OBJECT_DECL(os_activity);
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
68 | #else
69 | typedef struct os_activity_s *os_activity_t;
/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: add '@MainActor' to make static property 'OS_ACTIVITY_CURRENT' part of global actor 'MainActor'
| `- 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 | }
[18/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: add '@MainActor' to make let 'byteCountFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | fileprivate let numberFormatter = NumberFormatter()
36 | fileprivate let dateComponentsFormatter: DateComponentsFormatter = {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'octal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'byteCount' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'fixed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'exponential' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hybrid' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'average' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'total' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | private var intervals = [Int : IntervalStatistics]()
[19/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: add '@MainActor' to make let 'byteCountFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | fileprivate let numberFormatter = NumberFormatter()
36 | fileprivate let dateComponentsFormatter: DateComponentsFormatter = {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'octal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'byteCount' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'fixed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'exponential' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hybrid' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'average' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'total' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | private var intervals = [Int : IntervalStatistics]()
[20/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: add '@MainActor' to make let 'byteCountFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | fileprivate let numberFormatter = NumberFormatter()
36 | fileprivate let dateComponentsFormatter: DateComponentsFormatter = {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/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: add '@MainActor' to make static property 'octal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'byteCount' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'fixed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'exponential' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hybrid' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'average' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'duration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'total' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | private var intervals = [Int : IntervalStatistics]()
[21/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: add '@MainActor' to make static property 'types' part of global actor 'MainActor'
| `- 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
[22/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: add '@MainActor' to make static property 'types' part of global actor 'MainActor'
| `- 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
[23/37] Compiling DLog Text.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Text.swift:81:14: warning: static property 'icons' 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
79 |
80 | private extension LogType {
81 | static let icons: [LogType : String] = [
| |- warning: static property 'icons' 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: add '@MainActor' to make static property 'icons' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'titles' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'process' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'queue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[24/37] Compiling DLog Trace.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Text.swift:81:14: warning: static property 'icons' 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
79 |
80 | private extension LogType {
81 | static let icons: [LogType : String] = [
| |- warning: static property 'icons' 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: add '@MainActor' to make static property 'icons' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'titles' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'process' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'queue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[25/37] Compiling DLog Mach.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Net.swift:104:25: warning: capture of 'self' with non-sendable type 'Net' in a '@Sendable' closure
62 | /// `NetConsole` service can be run from a command line on your machine and then the output connects and sends your log messages to it.
63 | ///
64 | public class Net : LogOutput {
| `- note: class 'Net' does not conform to the 'Sendable' protocol
65 | private static let type = "_dlog._tcp"
66 | private static let domain = "local."
:
102 | if let str = text, !str.isEmpty {
103 | queue.async {
104 | if let stream = self.outputStream {
| `- warning: capture of 'self' with non-sendable type 'Net' in a '@Sendable' closure
105 | let data = str + (newline ? "\n" : "")
106 | stream.write(data, maxLength: data.lengthOfBytes(using: .utf8))
[26/37] Compiling DLog Net.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/Net.swift:104:25: warning: capture of 'self' with non-sendable type 'Net' in a '@Sendable' closure
62 | /// `NetConsole` service can be run from a command line on your machine and then the output connects and sends your log messages to it.
63 | ///
64 | public class Net : LogOutput {
| `- note: class 'Net' does not conform to the 'Sendable' protocol
65 | private static let type = "_dlog._tcp"
66 | private static let domain = "local."
:
102 | if let str = text, !str.isEmpty {
103 | queue.async {
104 | if let stream = self.outputStream {
| `- warning: capture of 'self' with non-sendable type 'Net' in a '@Sendable' closure
105 | let data = str + (newline ? "\n" : "")
106 | stream.write(data, maxLength: data.lengthOfBytes(using: .utf8))
[27/37] Compiling DLog File.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/File.swift:74:11: warning: capture of 'self' with non-sendable type 'File' in a '@Sendable' closure
29 | /// Target output for a file.
30 | ///
31 | public class File : LogOutput {
| `- note: class 'File' does not conform to the 'Sendable' protocol
32 | private let file: FileHandle?
33 | private let queue = DispatchQueue(label: "File")
:
72 | queue.async {
73 | if let data = (str + "\n").data(using: .utf8) {
74 | self.file?.write(data)
| `- warning: capture of 'self' with non-sendable type 'File' in a '@Sendable' closure
75 | }
76 | }
/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: add '@MainActor' to make static property 'sign' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'level' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'category' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'location' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
| `- 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/LogConfig.swift:74:21: warning: static property 'compact' 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
:
72 |
73 | /// Compact: `.sign` and `.time`
74 | public static let compact: Self = [.sign, .time]
| |- warning: static property 'compact' 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Regular: `.sign`, `.time`, `.category`, `.padding`, `.type`, `.location` and `.metadata`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:77:21: warning: static property 'regular' 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
:
75 |
76 | /// Regular: `.sign`, `.time`, `.category`, `.padding`, `.type`, `.location` and `.metadata`
77 | public static let regular: Self = [.sign, .time, .category, .padding, .type, .location, .metadata]
| |- warning: static property 'regular' 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[28/37] Compiling DLog Filter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/File.swift:74:11: warning: capture of 'self' with non-sendable type 'File' in a '@Sendable' closure
29 | /// Target output for a file.
30 | ///
31 | public class File : LogOutput {
| `- note: class 'File' does not conform to the 'Sendable' protocol
32 | private let file: FileHandle?
33 | private let queue = DispatchQueue(label: "File")
:
72 | queue.async {
73 | if let data = (str + "\n").data(using: .utf8) {
74 | self.file?.write(data)
| `- warning: capture of 'self' with non-sendable type 'File' in a '@Sendable' closure
75 | }
76 | }
/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: add '@MainActor' to make static property 'sign' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'level' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'category' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'location' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
| `- 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/LogConfig.swift:74:21: warning: static property 'compact' 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
:
72 |
73 | /// Compact: `.sign` and `.time`
74 | public static let compact: Self = [.sign, .time]
| |- warning: static property 'compact' 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Regular: `.sign`, `.time`, `.category`, `.padding`, `.type`, `.location` and `.metadata`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:77:21: warning: static property 'regular' 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
:
75 |
76 | /// Regular: `.sign`, `.time`, `.category`, `.padding`, `.type`, `.location` and `.metadata`
77 | public static let regular: Self = [.sign, .time, .category, .padding, .type, .location, .metadata]
| |- warning: static property 'regular' 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[29/37] Compiling DLog LogConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/File.swift:74:11: warning: capture of 'self' with non-sendable type 'File' in a '@Sendable' closure
29 | /// Target output for a file.
30 | ///
31 | public class File : LogOutput {
| `- note: class 'File' does not conform to the 'Sendable' protocol
32 | private let file: FileHandle?
33 | private let queue = DispatchQueue(label: "File")
:
72 | queue.async {
73 | if let data = (str + "\n").data(using: .utf8) {
74 | self.file?.write(data)
| `- warning: capture of 'self' with non-sendable type 'File' in a '@Sendable' closure
75 | }
76 | }
/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: add '@MainActor' to make static property 'sign' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'level' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'category' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'padding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'location' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
| `- 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/LogConfig.swift:74:21: warning: static property 'compact' 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
:
72 |
73 | /// Compact: `.sign` and `.time`
74 | public static let compact: Self = [.sign, .time]
| |- warning: static property 'compact' 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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Regular: `.sign`, `.time`, `.category`, `.padding`, `.type`, `.location` and `.metadata`
/Users/admin/builder/spi-builder-workspace/Sources/DLog/LogConfig.swift:77:21: warning: static property 'regular' 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
:
75 |
76 | /// Regular: `.sign`, `.time`, `.category`, `.padding`, `.type`, `.location` and `.metadata`
77 | public static let regular: Self = [.sign, .time, .category, .padding, .type, .location, .metadata]
| |- warning: static property 'regular' 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: add '@MainActor' to make static property 'regular' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[30/37] Compiling DLog TraceFunc.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:40:21: warning: static property 'cpu' 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.
:
38 |
39 | /// CPU usage (%).
40 | public static let cpu = Self(0)
| |- warning: static property 'cpu' 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: add '@MainActor' to make static property 'cpu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Global unique identifier for the process.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:43:21: warning: static property 'guid' 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.
:
41 |
42 | /// Global unique identifier for the process.
43 | public static let guid = Self(1)
| |- warning: static property 'guid' 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: add '@MainActor' to make static property 'guid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Memory usage (MB).
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:46:21: warning: static property 'memory' 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.
:
44 |
45 | /// Memory usage (MB).
46 | public static let memory = Self(2)
| |- warning: static property 'memory' 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: add '@MainActor' to make static property 'memory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// The name of the process.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:49:21: warning: static property 'name' 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.
:
47 |
48 | /// The name of the process.
49 | public static let name = Self(3)
| |- warning: static property 'name' 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: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// The identifier of the process.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:52:21: warning: static property 'pid' 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.
:
50 |
51 | /// The identifier of the process.
52 | public static let pid = Self(4)
| |- warning: static property 'pid' 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: add '@MainActor' to make static property 'pid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Threads count.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:55:21: warning: static property 'threads' 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.
:
53 |
54 | /// Threads count.
55 | public static let threads = Self(5)
| |- warning: static property 'threads' 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: add '@MainActor' to make static property 'threads' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Wakeups info
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:58:21: warning: static property 'wakeups' 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.
:
56 |
57 | /// Wakeups info
58 | public static let wakeups = Self(6)
| |- warning: static property 'wakeups' 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: add '@MainActor' to make static property 'wakeups' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
/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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:75:21: warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Contains configuration values regarding to a wakeups info.
65 | public struct WakeupsOptions: OptionSet {
| `- note: consider making struct 'WakeupsOptions' conform to the 'Sendable' protocol
66 | /// The corresponding value of the raw type.
67 | public let rawValue: Int
:
73 |
74 | /// Total number of wakeups generated by the process.
75 | public static let interrupt = Self(0)
| |- warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'interrupt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// The number of times the processor was taken out of its low-power idle state.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:78:21: warning: static property 'idle' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Contains configuration values regarding to a wakeups info.
65 | public struct WakeupsOptions: OptionSet {
| `- note: consider making struct 'WakeupsOptions' conform to the 'Sendable' protocol
66 | /// The corresponding value of the raw type.
67 | public let rawValue: Int
:
76 |
77 | /// The number of times the processor was taken out of its low-power idle state.
78 | public static let idle = Self(1)
| |- warning: static property 'idle' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Timer wakeups
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:81:21: warning: static property 'timer' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Contains configuration values regarding to a wakeups info.
65 | public struct WakeupsOptions: OptionSet {
| `- note: consider making struct 'WakeupsOptions' conform to the 'Sendable' protocol
66 | /// The corresponding value of the raw type.
67 | public let rawValue: Int
:
79 |
80 | /// Timer wakeups
81 | public static let timer = Self(2)
| |- warning: static property 'timer' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | }
83 |
[31/37] Compiling DLog TraceProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:40:21: warning: static property 'cpu' 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.
:
38 |
39 | /// CPU usage (%).
40 | public static let cpu = Self(0)
| |- warning: static property 'cpu' 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: add '@MainActor' to make static property 'cpu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Global unique identifier for the process.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:43:21: warning: static property 'guid' 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.
:
41 |
42 | /// Global unique identifier for the process.
43 | public static let guid = Self(1)
| |- warning: static property 'guid' 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: add '@MainActor' to make static property 'guid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Memory usage (MB).
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:46:21: warning: static property 'memory' 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.
:
44 |
45 | /// Memory usage (MB).
46 | public static let memory = Self(2)
| |- warning: static property 'memory' 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: add '@MainActor' to make static property 'memory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// The name of the process.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:49:21: warning: static property 'name' 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.
:
47 |
48 | /// The name of the process.
49 | public static let name = Self(3)
| |- warning: static property 'name' 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: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// The identifier of the process.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:52:21: warning: static property 'pid' 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.
:
50 |
51 | /// The identifier of the process.
52 | public static let pid = Self(4)
| |- warning: static property 'pid' 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: add '@MainActor' to make static property 'pid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Threads count.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:55:21: warning: static property 'threads' 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.
:
53 |
54 | /// Threads count.
55 | public static let threads = Self(5)
| |- warning: static property 'threads' 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: add '@MainActor' to make static property 'threads' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Wakeups info
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:58:21: warning: static property 'wakeups' 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.
:
56 |
57 | /// Wakeups info
58 | public static let wakeups = Self(6)
| |- warning: static property 'wakeups' 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: add '@MainActor' to make static property 'wakeups' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Compact: `.cpu`, `.memory`, `.pid` and `.threads`
/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: add '@MainActor' to make static property 'compact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:75:21: warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Contains configuration values regarding to a wakeups info.
65 | public struct WakeupsOptions: OptionSet {
| `- note: consider making struct 'WakeupsOptions' conform to the 'Sendable' protocol
66 | /// The corresponding value of the raw type.
67 | public let rawValue: Int
:
73 |
74 | /// Total number of wakeups generated by the process.
75 | public static let interrupt = Self(0)
| |- warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'interrupt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// The number of times the processor was taken out of its low-power idle state.
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:78:21: warning: static property 'idle' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Contains configuration values regarding to a wakeups info.
65 | public struct WakeupsOptions: OptionSet {
| `- note: consider making struct 'WakeupsOptions' conform to the 'Sendable' protocol
66 | /// The corresponding value of the raw type.
67 | public let rawValue: Int
:
76 |
77 | /// The number of times the processor was taken out of its low-power idle state.
78 | public static let idle = Self(1)
| |- warning: static property 'idle' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Timer wakeups
/Users/admin/builder/spi-builder-workspace/Sources/DLog/TraceProcess.swift:81:21: warning: static property 'timer' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Contains configuration values regarding to a wakeups info.
65 | public struct WakeupsOptions: OptionSet {
| `- note: consider making struct 'WakeupsOptions' conform to the 'Sendable' protocol
66 | /// The corresponding value of the raw type.
67 | public let rawValue: Int
:
79 |
80 | /// Timer wakeups
81 | public static let timer = Self(2)
| |- warning: static property 'timer' is not concurrency-safe because non-'Sendable' type 'WakeupsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | }
83 |
[32/37] Compiling DLog LogPrivacy.swift
/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | private var scopes = [LogScope]()
[33/37] Compiling DLog LogProtocol.swift
/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | private var scopes = [LogScope]()
[34/37] Compiling DLog LogScope.swift
/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | private var scopes = [LogScope]()
[34/37] Linking NetConsole
[35/37] Applying NetConsole
[36/37] Compiling DLogObjC DLog.m
Build complete! (9.07s)
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.