Build Information
Successful build of Kebab with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eneko/kebab.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eneko/kebab
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at abfb07b Update README.md
Cloned https://github.com/eneko/kebab.git
Revision (git rev-parse @):
abfb07b7fcf34d37afabcef8085b0d1cd4578742
SUCCESS checkout https://github.com/eneko/kebab.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/eneko/kebab.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/9] Compiling Kebab CaseDetector.swift
[6/9] Compiling Kebab MultiWordIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:57:23: warning: static property 'lowerCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
55 | extension MultiWordIdentifier {
56 | /// `lowerCamelCase`, equivalent to `camelCase`
57 | public static let lowerCamelCase = Self.camelCase
| |- warning: static property 'lowerCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowerCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// `dromedaryCase`, equivalent to `camelCase`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:60:23: warning: static property 'dromedaryCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
58 |
59 | /// `dromedaryCase`, equivalent to `camelCase`
60 | public static let dromedaryCase = Self.camelCase
| |- warning: static property 'dromedaryCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dromedaryCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// `UpperCamelCase`, equivalent to `PascalCase`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:63:23: warning: static property 'UpperCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
61 |
62 | /// `UpperCamelCase`, equivalent to `PascalCase`
63 | public static let UpperCamelCase = Self.PascalCase
| |- warning: static property 'UpperCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UpperCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// `StudlyCase`, equivalent to `PascalCase`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:66:23: warning: static property 'StudlyCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
64 |
65 | /// `StudlyCase`, equivalent to `PascalCase`
66 | public static let StudlyCase = Self.PascalCase
| |- warning: static property 'StudlyCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'StudlyCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// `pothole_case`, equivalent to `snake_case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:69:23: warning: static property 'pothole_case' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
67 |
68 | /// `pothole_case`, equivalent to `snake_case`
69 | public static let pothole_case = Self.snake_case
| |- warning: static property 'pothole_case' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pothole_case' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// `SCREAMING_SNAKE_CASE`, equivalent to `MACRO_CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:72:23: warning: static property 'SCREAMING_SNAKE_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
70 |
71 | /// `SCREAMING_SNAKE_CASE`, equivalent to `MACRO_CASE`
72 | public static let SCREAMING_SNAKE_CASE = Self.MACRO_CASE
| |- warning: static property 'SCREAMING_SNAKE_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SCREAMING_SNAKE_CASE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// `CONSTANT_CASE`, equivalent to `MACRO_CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:75:23: warning: static property 'CONSTANT_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
73 |
74 | /// `CONSTANT_CASE`, equivalent to `MACRO_CASE`
75 | public static let CONSTANT_CASE = Self.MACRO_CASE
| |- warning: static property 'CONSTANT_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONSTANT_CASE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// `spine-case`, equivalent to `kebab-case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:78:23: warning: static property 'spineCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
76 |
77 | /// `spine-case`, equivalent to `kebab-case`
78 | public static let spineCase = Self.kebabCase
| |- warning: static property 'spineCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spineCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// `dash-case`, equivalent to `kebab-case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:81:23: warning: static property 'dashCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
79 |
80 | /// `dash-case`, equivalent to `kebab-case`
81 | public static let dashCase = Self.kebabCase
| |- warning: static property 'dashCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dashCase' with '@MainActor' 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 |
83 | /// `lisp-case`, equivalent to `kebab-case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:84:23: warning: static property 'lispCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
82 |
83 | /// `lisp-case`, equivalent to `kebab-case`
84 | public static let lispCase = Self.kebabCase
| |- warning: static property 'lispCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lispCase' with '@MainActor' 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 |
86 | /// `Http-Header-Case`, equivalent to `Train-Case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:87:23: warning: static property 'httpHeaderCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
85 |
86 | /// `Http-Header-Case`, equivalent to `Train-Case`
87 | public static let httpHeaderCase = Self.trainCase
| |- warning: static property 'httpHeaderCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpHeaderCase' with '@MainActor' 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 |
89 | /// `SCREAMING-KEBAB-CASE`, equivalent to `COBOL-CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:90:23: warning: static property 'screamingKebabCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
88 |
89 | /// `SCREAMING-KEBAB-CASE`, equivalent to `COBOL-CASE`
90 | public static let screamingKebabCase = Self.cobolCase
| |- warning: static property 'screamingKebabCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'screamingKebabCase' with '@MainActor' 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 | /// `SCREAMING-TRAIN-CASE`, equivalent to `COBOL-CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:93:23: warning: static property 'screamingTrainCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
91 |
92 | /// `SCREAMING-TRAIN-CASE`, equivalent to `COBOL-CASE`
93 | public static let screamingTrainCase = Self.cobolCase
| |- warning: static property 'screamingTrainCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'screamingTrainCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
[7/9] Compiling Kebab StringExtensions.swift
[8/9] Emitting module Kebab
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:57:23: warning: static property 'lowerCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
55 | extension MultiWordIdentifier {
56 | /// `lowerCamelCase`, equivalent to `camelCase`
57 | public static let lowerCamelCase = Self.camelCase
| |- warning: static property 'lowerCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowerCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// `dromedaryCase`, equivalent to `camelCase`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:60:23: warning: static property 'dromedaryCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
58 |
59 | /// `dromedaryCase`, equivalent to `camelCase`
60 | public static let dromedaryCase = Self.camelCase
| |- warning: static property 'dromedaryCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dromedaryCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// `UpperCamelCase`, equivalent to `PascalCase`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:63:23: warning: static property 'UpperCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
61 |
62 | /// `UpperCamelCase`, equivalent to `PascalCase`
63 | public static let UpperCamelCase = Self.PascalCase
| |- warning: static property 'UpperCamelCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UpperCamelCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// `StudlyCase`, equivalent to `PascalCase`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:66:23: warning: static property 'StudlyCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
64 |
65 | /// `StudlyCase`, equivalent to `PascalCase`
66 | public static let StudlyCase = Self.PascalCase
| |- warning: static property 'StudlyCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'StudlyCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// `pothole_case`, equivalent to `snake_case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:69:23: warning: static property 'pothole_case' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
67 |
68 | /// `pothole_case`, equivalent to `snake_case`
69 | public static let pothole_case = Self.snake_case
| |- warning: static property 'pothole_case' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pothole_case' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// `SCREAMING_SNAKE_CASE`, equivalent to `MACRO_CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:72:23: warning: static property 'SCREAMING_SNAKE_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
70 |
71 | /// `SCREAMING_SNAKE_CASE`, equivalent to `MACRO_CASE`
72 | public static let SCREAMING_SNAKE_CASE = Self.MACRO_CASE
| |- warning: static property 'SCREAMING_SNAKE_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SCREAMING_SNAKE_CASE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// `CONSTANT_CASE`, equivalent to `MACRO_CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:75:23: warning: static property 'CONSTANT_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
73 |
74 | /// `CONSTANT_CASE`, equivalent to `MACRO_CASE`
75 | public static let CONSTANT_CASE = Self.MACRO_CASE
| |- warning: static property 'CONSTANT_CASE' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONSTANT_CASE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// `spine-case`, equivalent to `kebab-case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:78:23: warning: static property 'spineCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
76 |
77 | /// `spine-case`, equivalent to `kebab-case`
78 | public static let spineCase = Self.kebabCase
| |- warning: static property 'spineCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spineCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// `dash-case`, equivalent to `kebab-case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:81:23: warning: static property 'dashCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
79 |
80 | /// `dash-case`, equivalent to `kebab-case`
81 | public static let dashCase = Self.kebabCase
| |- warning: static property 'dashCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dashCase' with '@MainActor' 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 |
83 | /// `lisp-case`, equivalent to `kebab-case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:84:23: warning: static property 'lispCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
82 |
83 | /// `lisp-case`, equivalent to `kebab-case`
84 | public static let lispCase = Self.kebabCase
| |- warning: static property 'lispCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lispCase' with '@MainActor' 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 |
86 | /// `Http-Header-Case`, equivalent to `Train-Case`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:87:23: warning: static property 'httpHeaderCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
85 |
86 | /// `Http-Header-Case`, equivalent to `Train-Case`
87 | public static let httpHeaderCase = Self.trainCase
| |- warning: static property 'httpHeaderCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'httpHeaderCase' with '@MainActor' 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 |
89 | /// `SCREAMING-KEBAB-CASE`, equivalent to `COBOL-CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:90:23: warning: static property 'screamingKebabCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
88 |
89 | /// `SCREAMING-KEBAB-CASE`, equivalent to `COBOL-CASE`
90 | public static let screamingKebabCase = Self.cobolCase
| |- warning: static property 'screamingKebabCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'screamingKebabCase' with '@MainActor' 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 | /// `SCREAMING-TRAIN-CASE`, equivalent to `COBOL-CASE`
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/MultiWordIdentifier.swift:93:23: warning: static property 'screamingTrainCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // swiftlint:disable identifier_name
11 | public enum MultiWordIdentifier: CaseIterable {
| `- note: consider making enum 'MultiWordIdentifier' conform to the 'Sendable' protocol
12 | /// Indicates the text is plain, and can contain spaces and any other symbols.
13 | /// When used as output, input is returned as is.
:
91 |
92 | /// `SCREAMING-TRAIN-CASE`, equivalent to `COBOL-CASE`
93 | public static let screamingTrainCase = Self.cobolCase
| |- warning: static property 'screamingTrainCase' is not concurrency-safe because non-'Sendable' type 'MultiWordIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'screamingTrainCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
[9/9] Compiling Kebab CaseConverter.swift
[10/13] Compiling KebabExtensions StringExtensions.swift
[11/13] Emitting module KebabExtensions
[12/13] Compiling KebabJSON JSONStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/KebabJSON/JSONStrategies.swift:14:16: warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | extension JSONEncoder.KeyEncodingStrategy {
14 | static let converter = CaseConverter()
| `- warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Encode keys in `PascalCase` format
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/CaseConverter.swift:11:15: note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
9 |
10 | /// Convert text from one case to another
11 | public struct CaseConverter {
| `- note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
12 |
13 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/KebabJSON/JSONStrategies.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Kebab'
7 |
8 | import Foundation
9 | import Kebab
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Kebab'
10 |
11 | // MARK: Encoding Strategies
12 |
13 | extension JSONEncoder.KeyEncodingStrategy {
14 | static let converter = CaseConverter()
| |- note: annotate 'converter' with '@MainActor' 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 |
16 | /// Encode keys in `PascalCase` format
/Users/admin/builder/spi-builder-workspace/Sources/KebabJSON/JSONStrategies.swift:40:16: warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | extension JSONDecoder.KeyDecodingStrategy {
40 | static let converter = CaseConverter()
| |- warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'converter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Decode keys from `PascalCase` format
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/CaseConverter.swift:11:15: note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
9 |
10 | /// Convert text from one case to another
11 | public struct CaseConverter {
| `- note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
12 |
13 | public init() {}
[13/13] Emitting module KebabJSON
/Users/admin/builder/spi-builder-workspace/Sources/KebabJSON/JSONStrategies.swift:14:16: warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | extension JSONEncoder.KeyEncodingStrategy {
14 | static let converter = CaseConverter()
| `- warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Encode keys in `PascalCase` format
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/CaseConverter.swift:11:15: note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
9 |
10 | /// Convert text from one case to another
11 | public struct CaseConverter {
| `- note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
12 |
13 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/KebabJSON/JSONStrategies.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Kebab'
7 |
8 | import Foundation
9 | import Kebab
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Kebab'
10 |
11 | // MARK: Encoding Strategies
12 |
13 | extension JSONEncoder.KeyEncodingStrategy {
14 | static let converter = CaseConverter()
| |- note: annotate 'converter' with '@MainActor' 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 |
16 | /// Encode keys in `PascalCase` format
/Users/admin/builder/spi-builder-workspace/Sources/KebabJSON/JSONStrategies.swift:40:16: warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | extension JSONDecoder.KeyDecodingStrategy {
40 | static let converter = CaseConverter()
| |- warning: static property 'converter' is not concurrency-safe because non-'Sendable' type 'CaseConverter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'converter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Decode keys from `PascalCase` format
/Users/admin/builder/spi-builder-workspace/Sources/Kebab/CaseConverter.swift:11:15: note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
9 |
10 | /// Convert text from one case to another
11 | public struct CaseConverter {
| `- note: struct 'CaseConverter' does not conform to the 'Sendable' protocol
12 |
13 | public init() {}
Build complete! (18.43s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Kebab",
"name" : "Kebab",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Kebab",
"targets" : [
"Kebab"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KebabExtensions",
"targets" : [
"KebabExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KebabJSON",
"targets" : [
"KebabJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KebabTests",
"module_type" : "SwiftTarget",
"name" : "KebabTests",
"path" : "Tests/KebabTests",
"sources" : [
"CaseConverter/CamelCaseTests.swift",
"CaseConverter/CamelSnakeCaseTests.swift",
"CaseConverter/CobolCaseTests.swift",
"CaseConverter/DonerCaseTests.swift",
"CaseConverter/FlatCaseTests.swift",
"CaseConverter/KebabCaseTests.swift",
"CaseConverter/MacroCaseTests.swift",
"CaseConverter/PascalCaseTests.swift",
"CaseConverter/PascalSnakeCaseTests.swift",
"CaseConverter/SnakeCaseTests.swift",
"CaseConverter/TrainCaseTests.swift",
"CaseConverter/UpperFlatCaseTests.swift",
"CaseDetectorTests.swift",
"ExampleTests.swift",
"Strings.swift"
],
"target_dependencies" : [
"Kebab"
],
"type" : "test"
},
{
"c99name" : "KebabJSONTests",
"module_type" : "SwiftTarget",
"name" : "KebabJSONTests",
"path" : "Tests/KebabJSONTests",
"sources" : [
"KebabJSONTests.swift"
],
"target_dependencies" : [
"KebabJSON"
],
"type" : "test"
},
{
"c99name" : "KebabJSON",
"module_type" : "SwiftTarget",
"name" : "KebabJSON",
"path" : "Sources/KebabJSON",
"product_memberships" : [
"KebabJSON"
],
"sources" : [
"JSONStrategies.swift"
],
"target_dependencies" : [
"Kebab"
],
"type" : "library"
},
{
"c99name" : "KebabExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "KebabExtensionsTests",
"path" : "Tests/KebabExtensionsTests",
"sources" : [
"StringExtensionsTests.swift"
],
"target_dependencies" : [
"KebabExtensions"
],
"type" : "test"
},
{
"c99name" : "KebabExtensions",
"module_type" : "SwiftTarget",
"name" : "KebabExtensions",
"path" : "Sources/KebabExtensions",
"product_memberships" : [
"KebabExtensions"
],
"sources" : [
"StringExtensions.swift"
],
"target_dependencies" : [
"Kebab"
],
"type" : "library"
},
{
"c99name" : "Kebab",
"module_type" : "SwiftTarget",
"name" : "Kebab",
"path" : "Sources/Kebab",
"product_memberships" : [
"Kebab",
"KebabExtensions",
"KebabJSON"
],
"sources" : [
"CaseConverter.swift",
"CaseDetector.swift",
"MultiWordIdentifier.swift",
"StringExtensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.