Build Information
Successful build of LetterCase with Swift 6.0 for Linux.
Swift 6 data race errors: 25
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/LetterCase.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/rwbutler/LetterCase
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 03589da Release 1.6.1
Cloned https://github.com/rwbutler/LetterCase.git
Revision (git rev-parse @):
03589da8c6554655b276ba187cfc1cd35ad711d2
SUCCESS checkout https://github.com/rwbutler/LetterCase.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/rwbutler/LetterCase.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module LetterCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:38:16: warning: static property 'convertFromCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
36 | // MARK: - Aliases
37 |
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
| `- warning: static property 'convertFromCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 |
10 | struct AnyKey: CodingKey {
:
36 | // MARK: - Aliases
37 |
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
| |- note: annotate 'convertFromCapitalized' 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
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:39:16: warning: static property 'convertFromDashCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertFromDashCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromDashCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:40:16: warning: static property 'convertFromKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertFromKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromKebabCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:41:16: warning: static property 'convertFromLispCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertFromLispCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromLispCase' 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
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:42:16: warning: static property 'convertFromLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
| |- warning: static property 'convertFromLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromLowerCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:43:16: warning: static property 'convertFromLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
| |- warning: static property 'convertFromLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromLowerCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:44:16: warning: static property 'convertFromMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertFromMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromMacroCase' 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
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:45:16: warning: static property 'convertFromScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertFromScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromScreamingSnakeCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:46:16: warning: static property 'convertFromTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
| |- warning: static property 'convertFromTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromTrainCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
48 | static let convertFromUpperCamelCase = letterCaseStrategy(for: .upperCamel)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:47:16: warning: static property 'convertFromUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
| |- warning: static property 'convertFromUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromUpperCase' 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
48 | static let convertFromUpperCamelCase = letterCaseStrategy(for: .upperCamel)
49 |
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:48:16: warning: static property 'convertFromUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
48 | static let convertFromUpperCamelCase = letterCaseStrategy(for: .upperCamel)
| |- warning: static property 'convertFromUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromUpperCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: - Conversion
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:80:16: warning: static property 'convertToCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
78 | // MARK: - Aliases
79 |
80 | static let convertToCapitalized = letterCaseStrategy(for: .capitalized)
| |- warning: static property 'convertToCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToCapitalized' 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
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:81:16: warning: static property 'convertToDashCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | static let convertToCapitalized = letterCaseStrategy(for: .capitalized)
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertToDashCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToDashCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:82:16: warning: static property 'convertToKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
80 | static let convertToCapitalized = letterCaseStrategy(for: .capitalized)
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertToKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToKebabCase' 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
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:83:16: warning: static property 'convertToLispCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertToLispCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToLispCase' 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
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:84:16: warning: static property 'convertToLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
| |- warning: static property 'convertToLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToLowerCase' 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
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:85:16: warning: static property 'convertToLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
| |- warning: static property 'convertToLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToLowerCamelCase' 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
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:86:16: warning: static property 'convertToMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertToMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToMacroCase' 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
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:87:16: warning: static property 'convertToScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertToScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToScreamingSnakeCase' 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
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:88:16: warning: static property 'convertToTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
| |- warning: static property 'convertToTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToTrainCase' 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
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
90 | static let convertToUpperCamelCase = letterCaseStrategy(for: .upperCamel)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:89:16: warning: static property 'convertToUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
| |- warning: static property 'convertToUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToUpperCase' 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
90 | static let convertToUpperCamelCase = letterCaseStrategy(for: .upperCamel)
91 |
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:90:16: warning: static property 'convertToUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
90 | static let convertToUpperCamelCase = letterCaseStrategy(for: .upperCamel)
| |- warning: static property 'convertToUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToUpperCamelCase' 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
91 |
92 | // MARK: - Conversion
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:13:23: warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
| |- warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveSuffix' 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
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:14:23: warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
| |- warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preservePunctuation' 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
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
16 |
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:15:23: warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
| |- warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stripPunctuation' 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 |
17 | public init(rawValue: Int) {
[4/7] Compiling LetterCase LetterCaseOptions.swift
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:13:23: warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
| |- warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveSuffix' 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
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:14:23: warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
| |- warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preservePunctuation' 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
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
16 |
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:15:23: warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
| |- warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stripPunctuation' 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 |
17 | public init(rawValue: Int) {
[5/7] Compiling LetterCase LetterCase.swift
[6/7] Compiling LetterCase StringAdditions.swift
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:15:23: warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
| |- warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stripPunctuation' 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 |
17 | public init(rawValue: Int) {
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:14:23: warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
| |- warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preservePunctuation' 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
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
16 |
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:13:23: warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
| |- warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveSuffix' 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
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
[7/7] Compiling LetterCase KeyDecodingStrategyAdditions.swift
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:38:16: warning: static property 'convertFromCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
36 | // MARK: - Aliases
37 |
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
| `- warning: static property 'convertFromCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 |
10 | struct AnyKey: CodingKey {
:
36 | // MARK: - Aliases
37 |
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
| |- note: annotate 'convertFromCapitalized' 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
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:39:16: warning: static property 'convertFromDashCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertFromDashCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromDashCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:40:16: warning: static property 'convertFromKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
38 | static let convertFromCapitalized = letterCaseStrategy(for: .capitalized)
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertFromKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromKebabCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:41:16: warning: static property 'convertFromLispCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let convertFromDashCase = letterCaseStrategy(for: .kebab)
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertFromLispCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromLispCase' 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
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:42:16: warning: static property 'convertFromLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
40 | static let convertFromKebabCase = letterCaseStrategy(for: .kebab)
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
| |- warning: static property 'convertFromLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromLowerCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:43:16: warning: static property 'convertFromLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
41 | static let convertFromLispCase = letterCaseStrategy(for: .kebab)
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
| |- warning: static property 'convertFromLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromLowerCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:44:16: warning: static property 'convertFromMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
42 | static let convertFromLowerCase = letterCaseStrategy(for: .lower)
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertFromMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromMacroCase' 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
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:45:16: warning: static property 'convertFromScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
43 | static let convertFromLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertFromScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromScreamingSnakeCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:46:16: warning: static property 'convertFromTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let convertFromMacroCase = letterCaseStrategy(for: .macro)
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
| |- warning: static property 'convertFromTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromTrainCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
48 | static let convertFromUpperCamelCase = letterCaseStrategy(for: .upperCamel)
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:47:16: warning: static property 'convertFromUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
45 | static let convertFromScreamingSnakeCase = letterCaseStrategy(for: .macro)
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
| |- warning: static property 'convertFromUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromUpperCase' 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
48 | static let convertFromUpperCamelCase = letterCaseStrategy(for: .upperCamel)
49 |
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:48:16: warning: static property 'convertFromUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let convertFromTrainCase = letterCaseStrategy(for: .train)
47 | static let convertFromUpperCase = letterCaseStrategy(for: .upper)
48 | static let convertFromUpperCamelCase = letterCaseStrategy(for: .upperCamel)
| |- warning: static property 'convertFromUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONDecoder.KeyDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertFromUpperCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: - Conversion
Foundation.JSONDecoder:20:17: note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
18 | case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
19 | }
20 | public enum KeyDecodingStrategy {
| `- note: enum 'KeyDecodingStrategy' does not conform to the 'Sendable' protocol
21 | case useDefaultKeys
22 | case convertFromSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:80:16: warning: static property 'convertToCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
78 | // MARK: - Aliases
79 |
80 | static let convertToCapitalized = letterCaseStrategy(for: .capitalized)
| |- warning: static property 'convertToCapitalized' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToCapitalized' 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
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:81:16: warning: static property 'convertToDashCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | static let convertToCapitalized = letterCaseStrategy(for: .capitalized)
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertToDashCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToDashCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:82:16: warning: static property 'convertToKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
80 | static let convertToCapitalized = letterCaseStrategy(for: .capitalized)
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertToKebabCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToKebabCase' 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
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:83:16: warning: static property 'convertToLispCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
81 | static let convertToDashCase = letterCaseStrategy(for: .kebab)
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
| |- warning: static property 'convertToLispCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToLispCase' 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
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:84:16: warning: static property 'convertToLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
82 | static let convertToKebabCase = letterCaseStrategy(for: .kebab)
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
| |- warning: static property 'convertToLowerCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToLowerCase' 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
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:85:16: warning: static property 'convertToLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
83 | static let convertToLispCase = letterCaseStrategy(for: .kebab)
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
| |- warning: static property 'convertToLowerCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToLowerCamelCase' 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
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:86:16: warning: static property 'convertToMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
84 | static let convertToLowerCase = letterCaseStrategy(for: .lower)
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertToMacroCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToMacroCase' 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
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:87:16: warning: static property 'convertToScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
85 | static let convertToLowerCamelCase = letterCaseStrategy(for: .lowerCamel)
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
| |- warning: static property 'convertToScreamingSnakeCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToScreamingSnakeCase' 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
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:88:16: warning: static property 'convertToTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
86 | static let convertToMacroCase = letterCaseStrategy(for: .macro)
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
| |- warning: static property 'convertToTrainCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToTrainCase' 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
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
90 | static let convertToUpperCamelCase = letterCaseStrategy(for: .upperCamel)
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:89:16: warning: static property 'convertToUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
87 | static let convertToScreamingSnakeCase = letterCaseStrategy(for: .macro)
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
| |- warning: static property 'convertToUpperCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToUpperCase' 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
90 | static let convertToUpperCamelCase = letterCaseStrategy(for: .upperCamel)
91 |
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:90:16: warning: static property 'convertToUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
88 | static let convertToTrainCase = letterCaseStrategy(for: .train)
89 | static let convertToUpperCase = letterCaseStrategy(for: .upper)
90 | static let convertToUpperCamelCase = letterCaseStrategy(for: .upperCamel)
| |- warning: static property 'convertToUpperCamelCase' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.KeyEncodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convertToUpperCamelCase' 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
91 |
92 | // MARK: - Conversion
Foundation.JSONEncoder:31:17: note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
29 | case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
30 | }
31 | public enum KeyEncodingStrategy {
| `- note: enum 'KeyEncodingStrategy' does not conform to the 'Sendable' protocol
32 | case useDefaultKeys
33 | case convertToSnakeCase
Build complete! (10.88s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LetterCase",
"name" : "LetterCase",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LetterCase",
"targets" : [
"LetterCase"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LetterCase",
"module_type" : "SwiftTarget",
"name" : "LetterCase",
"path" : "LetterCase/Classes",
"product_memberships" : [
"LetterCase"
],
"sources" : [
"KeyDecodingStrategyAdditions.swift",
"LetterCase.swift",
"LetterCaseOptions.swift",
"StringAdditions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.