Build Information
Successful build of Yosina, reference v3.0.0 (3ffcff), with Swift 6.1 for Android on 21 Apr 2026 07:03:56 UTC.
Swift 6 data race errors: 21
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yosina-lib/yosina-swift.git
Reference: v3.0.0
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/yosina-lib/yosina-swift
* tag v3.0.0 -> FETCH_HEAD
HEAD is now at 3ffcffc v3.0.0
Cloned https://github.com/yosina-lib/yosina-swift.git
Revision (git rev-parse @):
3ffcffceaf445b997f9fb3c0dc1eaf6688196ac5
SUCCESS checkout https://github.com/yosina-lib/yosina-swift.git at v3.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/yosina-lib/yosina-swift.git
https://github.com/yosina-lib/yosina-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.81s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[3/5] Copying ivs_svs_base.data
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/29] Compiling Yosina ProlongedSoundMarksTransliterator.swift
[7/29] Compiling Yosina RadicalsTransliterator.swift
[8/29] Compiling Yosina RomanNumeralsTransliterator.swift
[9/32] Emitting module Yosina
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:10:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:11:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
13 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:12:23: warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
:
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
| |- warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'u005cAsYenSign' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:32:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:33:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
35 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:34:23: warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
:
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
| |- warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hankakuKana' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:54:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:55:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
57 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:56:23: warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
:
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
| |- warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dropAllSelectors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:76:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let enabled = ReplaceHyphensOptions(
78 | enabled: true,
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:77:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
77 | public static let enabled = ReplaceHyphensOptions(
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | enabled: true,
79 | precedence: [.jisx0208_90_windows, .jisx0201]
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:103:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:104:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:105:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
107 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:106:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
| |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:126:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:127:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
129 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:128:23: warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
:
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
| |- warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'excludeEmojis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:22:24: warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
| |- warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hiraToKataCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hiraToKataCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var kataToHiraCache: [Character: Character]?
24 |
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:23:24: warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
23 | private static var kataToHiraCache: [Character: Character]?
| |- warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kataToHiraCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kataToHiraCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public init(options: Options = Options()) {
/host/spi-builder-workspace/Sources/Yosina/Transliterators/IvsSvsBaseTransliterator.swift:36:24: warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // Lazy loaded mappings
36 | private static var _mappings: MappingData?
| |- warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mappings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mappings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static let mappingsQueue = DispatchQueue(label: "com.yosina.ivs-svs-mappings")
38 |
[10/32] Compiling Yosina ChainedTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:10:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:11:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
13 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:12:23: warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
:
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
| |- warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'u005cAsYenSign' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:32:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:33:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
35 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:34:23: warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
:
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
| |- warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hankakuKana' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:54:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:55:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
57 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:56:23: warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
:
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
| |- warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dropAllSelectors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:76:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let enabled = ReplaceHyphensOptions(
78 | enabled: true,
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:77:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
77 | public static let enabled = ReplaceHyphensOptions(
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | enabled: true,
79 | precedence: [.jisx0208_90_windows, .jisx0201]
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:103:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:104:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:105:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
107 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:106:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
| |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:126:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:127:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
129 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:128:23: warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
:
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
| |- warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'excludeEmojis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public var isEnabled: Bool { enabled }
[11/32] Compiling Yosina TransliterationRecipe.swift
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:10:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:11:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
13 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:12:23: warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
:
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
| |- warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'u005cAsYenSign' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:32:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:33:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
35 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:34:23: warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
:
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
| |- warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hankakuKana' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:54:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:55:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
57 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:56:23: warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
:
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
| |- warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dropAllSelectors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:76:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let enabled = ReplaceHyphensOptions(
78 | enabled: true,
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:77:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
77 | public static let enabled = ReplaceHyphensOptions(
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | enabled: true,
79 | precedence: [.jisx0208_90_windows, .jisx0201]
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:103:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:104:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:105:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
107 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:106:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
| |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:126:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:127:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
129 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:128:23: warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
:
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
| |- warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'excludeEmojis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public var isEnabled: Bool { enabled }
[12/32] Compiling Yosina TransliteratorChar.swift
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:10:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:11:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
13 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:12:23: warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
:
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
| |- warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'u005cAsYenSign' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:32:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:33:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
35 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:34:23: warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
:
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
| |- warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hankakuKana' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:54:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:55:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
57 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:56:23: warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
:
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
| |- warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dropAllSelectors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:76:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let enabled = ReplaceHyphensOptions(
78 | enabled: true,
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:77:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
77 | public static let enabled = ReplaceHyphensOptions(
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | enabled: true,
79 | precedence: [.jisx0208_90_windows, .jisx0201]
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:103:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:104:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:105:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
107 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:106:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
| |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:126:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:127:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
129 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:128:23: warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
:
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
| |- warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'excludeEmojis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public var isEnabled: Bool { enabled }
[13/32] Compiling Yosina TransliteratorConfig.swift
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:10:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:11:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
9 |
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
13 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:12:23: warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Options for full-width conversion.
6 | public struct ToFullwidthOptions {
| `- note: consider making struct 'ToFullwidthOptions' conform to the 'Sendable' protocol
7 | public let enabled: Bool
8 | public let u005cAsYenSign: Bool
:
10 | public static let disabled = ToFullwidthOptions(enabled: false, u005cAsYenSign: false)
11 | public static let enabled = ToFullwidthOptions(enabled: true, u005cAsYenSign: false)
12 | public static let u005cAsYenSign = ToFullwidthOptions(enabled: true, u005cAsYenSign: true)
| |- warning: static property 'u005cAsYenSign' is not concurrency-safe because non-'Sendable' type 'ToFullwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'u005cAsYenSign' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:32:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:33:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
31 |
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
35 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:34:23: warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Options for half-width conversion.
28 | public struct ToHalfwidthOptions {
| `- note: consider making struct 'ToHalfwidthOptions' conform to the 'Sendable' protocol
29 | public let enabled: Bool
30 | public let hankakuKana: Bool
:
32 | public static let disabled = ToHalfwidthOptions(enabled: false, hankakuKana: false)
33 | public static let enabled = ToHalfwidthOptions(enabled: true, hankakuKana: false)
34 | public static let hankakuKana = ToHalfwidthOptions(enabled: true, hankakuKana: true)
| |- warning: static property 'hankakuKana' is not concurrency-safe because non-'Sendable' type 'ToHalfwidthOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hankakuKana' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:54:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:55:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
53 |
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
57 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:56:23: warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Options for IVS/SVS removal.
50 | public struct RemoveIvsSvsOptions {
| `- note: consider making struct 'RemoveIvsSvsOptions' conform to the 'Sendable' protocol
51 | public let enabled: Bool
52 | public let dropAllSelectors: Bool
:
54 | public static let disabled = RemoveIvsSvsOptions(enabled: false, dropAllSelectors: false)
55 | public static let enabled = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: false)
56 | public static let dropAllSelectors = RemoveIvsSvsOptions(enabled: true, dropAllSelectors: true)
| |- warning: static property 'dropAllSelectors' is not concurrency-safe because non-'Sendable' type 'RemoveIvsSvsOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dropAllSelectors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:76:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let enabled = ReplaceHyphensOptions(
78 | enabled: true,
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:77:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Options for hyphens replacement.
72 | public struct ReplaceHyphensOptions {
| `- note: consider making struct 'ReplaceHyphensOptions' conform to the 'Sendable' protocol
73 | public let enabled: Bool
74 | public let precedence: [HyphensTransliterator.Precedence]?
75 |
76 | public static let disabled = ReplaceHyphensOptions(enabled: false, precedence: nil)
77 | public static let enabled = ReplaceHyphensOptions(
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | enabled: true,
79 | precedence: [.jisx0208_90_windows, .jisx0201]
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:103:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:104:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
102 |
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:105:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
103 | public static let disabled = ReplaceSuspiciousHyphensOptions(enabled: false, aggressive: false)
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
| |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
107 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:106:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | /// Options for suspicious hyphens to prolonged sound marks replacement.
99 | public struct ReplaceSuspiciousHyphensOptions {
| `- note: consider making struct 'ReplaceSuspiciousHyphensOptions' conform to the 'Sendable' protocol
100 | public let enabled: Bool
101 | public let aggressive: Bool
:
104 | public static let enabled = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
105 | public static let conservative = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: false)
106 | public static let aggressive = ReplaceSuspiciousHyphensOptions(enabled: true, aggressive: true)
| |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'ReplaceSuspiciousHyphensOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public var isEnabled: Bool { enabled }
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:126:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
| |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:127:23: warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
125 |
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
| |- warning: static property 'enabled' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
129 |
/host/spi-builder-workspace/Sources/Yosina/TransliterationRecipe.swift:128:23: warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Options for circled or squared characters replacement.
122 | public struct ReplaceCircledOrSquaredCharactersOptions {
| `- note: consider making struct 'ReplaceCircledOrSquaredCharactersOptions' conform to the 'Sendable' protocol
123 | public let enabled: Bool
124 | public let includeEmojis: Bool
:
126 | public static let disabled = ReplaceCircledOrSquaredCharactersOptions(enabled: false, includeEmojis: false)
127 | public static let enabled = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: true)
128 | public static let excludeEmojis = ReplaceCircledOrSquaredCharactersOptions(enabled: true, includeEmojis: false)
| |- warning: static property 'excludeEmojis' is not concurrency-safe because non-'Sendable' type 'ReplaceCircledOrSquaredCharactersOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'excludeEmojis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public var isEnabled: Bool { enabled }
[14/32] Compiling Yosina CombinedTransliterator.swift
[15/32] Compiling Yosina HiraKataCompositionTransliterator.swift
[16/32] Compiling Yosina HiraKataTable.swift
[17/32] Compiling Yosina TransliteratorExtension.swift
[18/32] Compiling Yosina TransliteratorProtocol.swift
[19/32] Compiling Yosina ArchaicHirakatasTransliterator.swift
[20/32] Compiling Yosina CircledOrSquaredTransliterator.swift
[21/32] Compiling Yosina IdeographicAnnotationsTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/Transliterators/IvsSvsBaseTransliterator.swift:36:24: warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // Lazy loaded mappings
36 | private static var _mappings: MappingData?
| |- warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mappings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mappings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static let mappingsQueue = DispatchQueue(label: "com.yosina.ivs-svs-mappings")
38 |
[22/32] Compiling Yosina IvsSvsBaseTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/Transliterators/IvsSvsBaseTransliterator.swift:36:24: warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // Lazy loaded mappings
36 | private static var _mappings: MappingData?
| |- warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mappings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mappings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static let mappingsQueue = DispatchQueue(label: "com.yosina.ivs-svs-mappings")
38 |
[23/32] Compiling Yosina JapaneseIterationMarksTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/Transliterators/IvsSvsBaseTransliterator.swift:36:24: warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // Lazy loaded mappings
36 | private static var _mappings: MappingData?
| |- warning: static property '_mappings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mappings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mappings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static let mappingsQueue = DispatchQueue(label: "com.yosina.ivs-svs-mappings")
38 |
[24/32] Compiling Yosina HiraKataTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:22:24: warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
| |- warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hiraToKataCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hiraToKataCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var kataToHiraCache: [Character: Character]?
24 |
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:23:24: warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
23 | private static var kataToHiraCache: [Character: Character]?
| |- warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kataToHiraCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kataToHiraCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public init(options: Options = Options()) {
[25/32] Compiling Yosina HistoricalHirakatasTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:22:24: warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
| |- warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hiraToKataCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hiraToKataCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var kataToHiraCache: [Character: Character]?
24 |
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:23:24: warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
23 | private static var kataToHiraCache: [Character: Character]?
| |- warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kataToHiraCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kataToHiraCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public init(options: Options = Options()) {
[26/32] Compiling Yosina HyphensTransliterator.swift
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:22:24: warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
| |- warning: static property 'hiraToKataCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hiraToKataCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hiraToKataCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var kataToHiraCache: [Character: Character]?
24 |
/host/spi-builder-workspace/Sources/Yosina/Transliterators/HiraKataTransliterator.swift:23:24: warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // Static cache for mapping tables
22 | private static var hiraToKataCache: [Character: Character]?
23 | private static var kataToHiraCache: [Character: Character]?
| |- warning: static property 'kataToHiraCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kataToHiraCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kataToHiraCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public init(options: Options = Options()) {
[27/32] Compiling Yosina Jisx0201AndAlikeTransliterator.swift
[28/32] Compiling Yosina KanjiOldNewTransliterator.swift
[29/32] Compiling Yosina MathematicalAlphanumericsTransliterator.swift
[30/32] Compiling Yosina SmallHirakatasTransliterator.swift
[31/32] Compiling Yosina SpacesTransliterator.swift
[32/32] Compiling Yosina resource_bundle_accessor.swift
Build complete! (56.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Yosina",
"name" : "Yosina",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Yosina",
"targets" : [
"Yosina"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YosinaTests",
"module_type" : "SwiftTarget",
"name" : "YosinaTests",
"path" : "Tests/YosinaTests",
"sources" : [
"CircledOrSquaredTests.swift",
"CombinedTests.swift",
"HiraKataCompositionTests.swift",
"HiraKataTests.swift",
"HistoricalHirakatasTests.swift",
"HyphensTests.swift",
"IvsSvsBaseTests.swift",
"JapaneseIterationMarksTests.swift",
"Jisx0201AndAlikeTests.swift",
"ProlongedSoundMarksTests.swift",
"RomanNumeralsTests.swift",
"SpacesTests.swift",
"TransliterationRecipeTests.swift"
],
"target_dependencies" : [
"Yosina"
],
"type" : "test"
},
{
"c99name" : "Yosina",
"module_type" : "SwiftTarget",
"name" : "Yosina",
"path" : "Sources/Yosina",
"product_memberships" : [
"Yosina"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Yosina/Resources/ivs_svs_base.data",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ChainedTransliterator.swift",
"TransliterationRecipe.swift",
"TransliteratorChar.swift",
"TransliteratorConfig.swift",
"TransliteratorExtension.swift",
"TransliteratorProtocol.swift",
"Transliterators/ArchaicHirakatasTransliterator.swift",
"Transliterators/CircledOrSquaredTransliterator.swift",
"Transliterators/CombinedTransliterator.swift",
"Transliterators/HiraKataCompositionTransliterator.swift",
"Transliterators/HiraKataTable.swift",
"Transliterators/HiraKataTransliterator.swift",
"Transliterators/HistoricalHirakatasTransliterator.swift",
"Transliterators/HyphensTransliterator.swift",
"Transliterators/IdeographicAnnotationsTransliterator.swift",
"Transliterators/IvsSvsBaseTransliterator.swift",
"Transliterators/JapaneseIterationMarksTransliterator.swift",
"Transliterators/Jisx0201AndAlikeTransliterator.swift",
"Transliterators/KanjiOldNewTransliterator.swift",
"Transliterators/MathematicalAlphanumericsTransliterator.swift",
"Transliterators/ProlongedSoundMarksTransliterator.swift",
"Transliterators/RadicalsTransliterator.swift",
"Transliterators/RomanNumeralsTransliterator.swift",
"Transliterators/SmallHirakatasTransliterator.swift",
"Transliterators/SpacesTransliterator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Done.