The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build WrkstrmFoundation, reference 0.6.3 (24c782), with Swift 6.0 for Linux on 2 Nov 2024 00:04:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/WrkstrmFoundation.git
Reference: 0.6.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/wrkstrm/WrkstrmFoundation
 * tag               0.6.3      -> FETCH_HEAD
HEAD is now at 24c7826 Create RelativeDateTimeFormatter+Date.swift
Cloned https://github.com/wrkstrm/WrkstrmFoundation.git
Revision (git rev-parse @):
24c78264ca576668b98319c5237e55e2d986ef47
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmFoundation.git at 0.6.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wrkstrm/WrkstrmFoundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Fetching https://github.com/wrkstrm/WrkstrmLog.git
Fetching https://github.com/wrkstrm/WrkstrmMain.git
[1/797] Fetching wrkstrmmain
[798/1666] Fetching wrkstrmmain, wrkstrmlog
[843/869] Fetching wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.20s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.24s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (0.56s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.53s)
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.72s)
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.0
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/32] Emitting module WrkstrmMain
[7/35] Compiling WrkstrmMain CommandLine+Executable.swift
[8/35] Compiling WrkstrmMain Optional+Comparable.swift
[9/35] Compiling WrkstrmMain Optional+Flatten.swift
[10/35] Compiling WrkstrmMain JSON.swift
[11/35] Compiling WrkstrmMain Injectable.swift
[12/35] Compiling WrkstrmMain Result.swift
[13/35] Compiling Logging LogHandler.swift
[14/35] Compiling Logging Logging.swift
[15/35] Compiling Logging MetadataProvider.swift
[16/35] Compiling Logging Locks.swift
[17/35] Emitting module Logging
[19/42] Emitting module WrkstrmLog
[20/42] Compiling WrkstrmLog Log.swift
[21/42] Compiling WrkstrmMain SortEnum.swift
[22/42] Compiling WrkstrmMain IndexedCollection.swift
[23/42] Compiling WrkstrmMain SortedArray.swift
[24/42] Compiling WrkstrmMain BinaryTree.swift
[25/42] Compiling WrkstrmMain TreeClass.swift
[26/42] Compiling WrkstrmMain ListEnum.swift
[27/42] Compiling WrkstrmMain Array+Filter.swift
[28/42] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[29/42] Compiling WrkstrmMain Collection+Sorting.swift
[30/42] Compiling WrkstrmMain String+Contains.swift
[31/42] Compiling WrkstrmMain String+Count.swift
[32/42] Compiling WrkstrmMain String+Error.swift
[33/42] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[34/42] Compiling WrkstrmMain Sequence+Decompose.swift
[35/42] Compiling WrkstrmMain Sequence+Unique.swift
[36/42] Compiling WrkstrmMain String+KebabCase.swift
[37/42] Compiling WrkstrmMain String+Source.swift
[38/42] Compiling WrkstrmMain UInt+BitSetting.swift
[39/43] Compiling WrkstrmLog Level+Emoji.swift
[40/43] Compiling WrkstrmLog Level+OSLogType.swift
[41/43] Compiling WrkstrmLog Log+Shared.swift
[43/43] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[45/67] Compiling WrkstrmFoundation Date+GitLog.swift
[46/67] Compiling WrkstrmFoundation Date+Utilities.swift
[47/67] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[48/70] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[49/70] Compiling WrkstrmFoundation String+Casing.swift
[50/70] Compiling WrkstrmFoundation String+Expanding.swift
[51/70] Compiling WrkstrmFoundation String+FileType.swift
[52/70] Compiling WrkstrmFoundation String+Stats.swift
[53/70] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[54/70] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
 6 | #endif
 7 |
 8 | extension RelativeDateTimeFormatter {
   |           `- error: cannot find type 'RelativeDateTimeFormatter' in scope
 9 |   /// Returns a non breaking localized string describing the relative time between the provided
10 |   /// timestamp and now.
[55/70] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
 6 | #endif
 7 |
 8 | extension RelativeDateTimeFormatter {
   |           `- error: cannot find type 'RelativeDateTimeFormatter' in scope
 9 |   /// Returns a non breaking localized string describing the relative time between the provided
10 |   /// timestamp and now.
[56/70] Compiling WrkstrmFoundation FileHandle+Standard.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
 6 | #endif
 7 |
 8 | extension RelativeDateTimeFormatter {
   |           `- error: cannot find type 'RelativeDateTimeFormatter' in scope
 9 |   /// Returns a non breaking localized string describing the relative time between the provided
10 |   /// timestamp and now.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/70] Emitting module WrkstrmFoundation
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
 6 | #endif
 7 |
 8 | extension RelativeDateTimeFormatter {
   |           `- error: cannot find type 'RelativeDateTimeFormatter' in scope
 9 |   /// Returns a non breaking localized string describing the relative time between the provided
10 |   /// timestamp and now.
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[58/70] Compiling WrkstrmFoundation FileManager+Source.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:7: warning: capture of 'block' with non-sendable type '(A) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 |   ) -> Notification.Token {
75 |     let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 |       block(transformer.transform(note))
   |       |- warning: capture of 'block' with non-sendable type '(A) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 |     }
78 |     return Notification.Token(token: token, center: self)
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:13: warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |   ///   - name: The name of the notification.
21 |   ///   - transform: A closure that transforms a `Notification` into type `A`.
22 |   public struct Transformer<A> {
   |                 `- note: consider making generic struct 'Transformer' conform to the 'Sendable' protocol
23 |     public let name: Notification.Name
24 |     public let transform: (Notification) -> A
   :
74 |   ) -> Notification.Token {
75 |     let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 |       block(transformer.transform(note))
   |             `- warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     }
78 |     return Notification.Token(token: token, center: self)
[59/70] Compiling WrkstrmFoundation Log+Foundation.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:7: warning: capture of 'block' with non-sendable type '(A) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 |   ) -> Notification.Token {
75 |     let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 |       block(transformer.transform(note))
   |       |- warning: capture of 'block' with non-sendable type '(A) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 |     }
78 |     return Notification.Token(token: token, center: self)
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:13: warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |   ///   - name: The name of the notification.
21 |   ///   - transform: A closure that transforms a `Notification` into type `A`.
22 |   public struct Transformer<A> {
   |                 `- note: consider making generic struct 'Transformer' conform to the 'Sendable' protocol
23 |     public let name: Notification.Name
24 |     public let transform: (Notification) -> A
   :
74 |   ) -> Notification.Token {
75 |     let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 |       block(transformer.transform(note))
   |             `- warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     }
78 |     return Notification.Token(token: token, center: self)
[60/70] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:7: warning: capture of 'block' with non-sendable type '(A) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 |   ) -> Notification.Token {
75 |     let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 |       block(transformer.transform(note))
   |       |- warning: capture of 'block' with non-sendable type '(A) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 |     }
78 |     return Notification.Token(token: token, center: self)
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:13: warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |   ///   - name: The name of the notification.
21 |   ///   - transform: A closure that transforms a `Notification` into type `A`.
22 |   public struct Transformer<A> {
   |                 `- note: consider making generic struct 'Transformer' conform to the 'Sendable' protocol
23 |     public let name: Notification.Name
24 |     public let transform: (Notification) -> A
   :
74 |   ) -> Notification.Token {
75 |     let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 |       block(transformer.transform(note))
   |             `- warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     }
78 |     return Notification.Token(token: token, center: self)
[61/70] Compiling WrkstrmFoundation HTTP.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[62/70] Compiling WrkstrmFoundation JSONCoders.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[63/70] Compiling WrkstrmFoundation JSONEnums.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[64/70] Compiling WrkstrmFoundation Calendar.swift
[65/70] Compiling WrkstrmFoundation Bundle+Version.swift
[66/70] Compiling WrkstrmFoundation Data+UTF8.swift
[67/70] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[68/70] Compiling WrkstrmFoundation JSONResource.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
[69/70] Compiling WrkstrmFoundation Bundle+Decode.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
[70/70] Compiling WrkstrmFoundation CodableArchiver.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
 19 | /// logger.info("Network request started")
 20 | /// ```
 21 | public struct Log: Hashable {
    |               `- note: struct 'Log' does not conform to the 'Sendable' protocol
 22 |   /// Enum defining different logging styles.
 23 |   public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 1 | import WrkstrmLog
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
 2 |
 3 | extension Log {
   :
13 |   ///
14 |   /// - Returns: A configured `Log` instance for foundation-related logging.
15 |   static let foundation: Log = {
   |              |- note: annotate 'foundation' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     var log = Log(system: "wrkstrm", category: "foundation")
17 |     log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
/host/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
BUILD FAILURE 6.0 linux