Build Information
Successful build of SwiftyHaru, reference 0.3.0 (eee249
), with Swift 6.1 for Linux on 25 Apr 2025 08:51:40 UTC.
Swift 6 data race errors: 84
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
Build Log
10 |
11 | // MARK: - Singlebyte encodings
:
27 |
28 | /// Latin Alphabet No.3 (*ISO8859-3*)
29 | public static let latinAlphabet3 = Encoding(name: "ISO8859-3")
| |- warning: static property 'latinAlphabet3' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Latin Alphabet No.4 (*ISO8859-4*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:32:23: warning: static property 'latinAlphabet4' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
30 |
31 | /// Latin Alphabet No.4 (*ISO8859-4*)
32 | public static let latinAlphabet4 = Encoding(name: "ISO8859-4")
| |- warning: static property 'latinAlphabet4' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Latin Cyrillic Alphabet (*ISO8859-5*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:35:23: warning: static property 'latinCyrillicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
33 |
34 | /// Latin Cyrillic Alphabet (*ISO8859-5*)
35 | public static let latinCyrillicAlphabet = Encoding(name: "ISO8859-5")
| |- warning: static property 'latinCyrillicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinCyrillicAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Latin Arabic Alphabet (*ISO8859-6*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:38:23: warning: static property 'latinArabicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
36 |
37 | /// Latin Arabic Alphabet (*ISO8859-6*)
38 | public static let latinArabicAlphabet = Encoding(name: "ISO8859-6")
| |- warning: static property 'latinArabicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinArabicAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Latin Greek Alphabet (*ISO8859-7*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:41:23: warning: static property 'latinGreekAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
39 |
40 | /// Latin Greek Alphabet (*ISO8859-7*)
41 | public static let latinGreekAlphabet = Encoding(name: "ISO8859-7")
| |- warning: static property 'latinGreekAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinGreekAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Latin Hebrew Alphabet (*ISO8859-8*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:44:23: warning: static property 'latinHebrewAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
42 |
43 | /// Latin Hebrew Alphabet (*ISO8859-8*)
44 | public static let latinHebrewAlphabet = Encoding(name: "ISO8859-8")
| |- warning: static property 'latinHebrewAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinHebrewAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Latin Alphabet No.5 (*ISO8859-9*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:47:23: warning: static property 'latinAlphabet5' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
45 |
46 | /// Latin Alphabet No.5 (*ISO8859-9*)
47 | public static let latinAlphabet5 = Encoding(name: "ISO8859-9")
| |- warning: static property 'latinAlphabet5' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | /// Latin Alphabet No.6 (*ISO8859-10*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:50:23: warning: static property 'latinAlphabet6' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
48 |
49 | /// Latin Alphabet No.6 (*ISO8859-10*)
50 | public static let latinAlphabet6 = Encoding(name: "ISO8859-10")
| |- warning: static property 'latinAlphabet6' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// Thai, TIS 620-2569 character set (*ISO8859-11*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:53:23: warning: static property 'thai' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
51 |
52 | /// Thai, TIS 620-2569 character set (*ISO8859-11*)
53 | public static let thai = Encoding(name: "ISO8859-11")
| |- warning: static property 'thai' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thai' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Latin Alphabet No.7 (*ISO8859-13*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:56:23: warning: static property 'latinAlphabet7' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
54 |
55 | /// Latin Alphabet No.7 (*ISO8859-13*)
56 | public static let latinAlphabet7 = Encoding(name: "ISO8859-13")
| |- warning: static property 'latinAlphabet7' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Latin Alphabet No.8 (*ISO8859-14*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:59:23: warning: static property 'latinAlphabet8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
57 |
58 | /// Latin Alphabet No.8 (*ISO8859-14*)
59 | public static let latinAlphabet8 = Encoding(name: "ISO8859-14")
| |- warning: static property 'latinAlphabet8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Latin Alphabet No.9 (*ISO8859-15*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:62:23: warning: static property 'latinAlphabet9' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
60 |
61 | /// Latin Alphabet No.9 (*ISO8859-15*)
62 | public static let latinAlphabet9 = Encoding(name: "ISO8859-15")
| |- warning: static property 'latinAlphabet9' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Latin Alphabet No.10 (*ISO8859-16*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:65:23: warning: static property 'latinAlphabet10' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
63 |
64 | /// Latin Alphabet No.10 (*ISO8859-16*)
65 | public static let latinAlphabet10 = Encoding(name: "ISO8859-16")
| |- warning: static property 'latinAlphabet10' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Microsoft Windows Codepage 1250 (EE) (*CP1250*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:68:23: warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
66 |
67 | /// Microsoft Windows Codepage 1250 (EE) (*CP1250*)
68 | public static let cp1250 = Encoding(name: "CP1250")
| |- warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1250' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Microsoft Windows Codepage 1251 (Cyrl) (*CP1251*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:71:23: warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
69 |
70 | /// Microsoft Windows Codepage 1251 (Cyrl) (*CP1251*)
71 | public static let cp1251 = Encoding(name: "CP1251")
| |- warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1251' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Microsoft Windows Codepage 1252 (ANSI) (*CP1252*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:74:23: warning: static property 'cp1252' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
72 |
73 | /// Microsoft Windows Codepage 1252 (ANSI) (*CP1252*)
74 | public static let cp1252 = Encoding(name: "CP1252")
| |- warning: static property 'cp1252' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1252' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Microsoft Windows Codepage 1253 (Greek) (*CP1253*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:77:23: warning: static property 'cp1253' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
75 |
76 | /// Microsoft Windows Codepage 1253 (Greek) (*CP1253*)
77 | public static let cp1253 = Encoding(name: "CP1253")
| |- warning: static property 'cp1253' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1253' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Microsoft Windows Codepage 1254 (Turk) (*CP1254*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:80:23: warning: static property 'cp1254' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
78 |
79 | /// Microsoft Windows Codepage 1254 (Turk) (*CP1254*)
80 | public static let cp1254 = Encoding(name: "CP1254")
| |- warning: static property 'cp1254' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1254' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Microsoft Windows Codepage 1255 (Hebr) (*CP1255*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:83:23: warning: static property 'cp1255' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
81 |
82 | /// Microsoft Windows Codepage 1255 (Hebr) (*CP1255*)
83 | public static let cp1255 = Encoding(name: "CP1255")
| |- warning: static property 'cp1255' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1255' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | /// Microsoft Windows Codepage 1256 (Arab) (*CP1256*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:86:23: warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
84 |
85 | /// Microsoft Windows Codepage 1256 (Arab) (*CP1256*)
86 | public static let cp1256 = Encoding(name: "CP1256")
| |- warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Microsoft Windows Codepage 1257 (BaltRim) (*CP1257*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:89:23: warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
87 |
88 | /// Microsoft Windows Codepage 1257 (BaltRim) (*CP1257*)
89 | public static let cp1257 = Encoding(name: "CP1257")
| |- warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1257' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Microsoft Windows Codepage 1258 (Viet) (*CP1258*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:92:23: warning: static property 'cp1258' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
90 |
91 | /// Microsoft Windows Codepage 1258 (Viet) (*CP1258*)
92 | public static let cp1258 = Encoding(name: "CP1258")
| |- warning: static property 'cp1258' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1258' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Russian Net Character Set (*KOI8-R*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:95:23: warning: static property 'koi8r' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
93 |
94 | /// Russian Net Character Set (*KOI8-R*)
95 | public static let koi8r = Encoding(name: "KOI8-R")
| |- warning: static property 'koi8r' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'koi8r' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | // - MARK: Multibyte encodings
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:100:23: warning: static property 'gbEucCnHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
98 |
99 | /// EUC-CN encoding (*GB-EUC-H*)
100 | public static let gbEucCnHorisontal = Encoding(name: "GB-EUC-H", isMultibyte: true)
| |- warning: static property 'gbEucCnHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbEucCnHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Vertical writing version of `eucCNHorisontal` (*GB-EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:103:23: warning: static property 'gbEucCnVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
101 |
102 | /// Vertical writing version of `eucCNHorisontal` (*GB-EUC-V*)
103 | public static let gbEucCnVertical = Encoding(name: "GB-EUC-V", isMultibyte: true)
| |- warning: static property 'gbEucCnVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbEucCnVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | /// Microsoft Code Page 936 (lfCharSet 0x86) GBK encoding (*GBK-EUC-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:106:23: warning: static property 'gbkEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
104 |
105 | /// Microsoft Code Page 936 (lfCharSet 0x86) GBK encoding (*GBK-EUC-H*)
106 | public static let gbkEucHorisontal = Encoding(name: "GBK-EUC-H", isMultibyte: true)
| |- warning: static property 'gbkEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbkEucHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /// Vertical writing version of `gbkEucHorisontal` (*GBK-EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:109:23: warning: static property 'gbkEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
107 |
108 | /// Vertical writing version of `gbkEucHorisontal` (*GBK-EUC-V*)
109 | public static let gbkEucVertical = Encoding(name: "GBK-EUC-V", isMultibyte: true)
| |- warning: static property 'gbkEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbkEucVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Microsoft Code Page 950 (lfCharSet 0x88) Big Five character set with ETen extensions (*ETen-B5-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:112:23: warning: static property 'eTenB5Horisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
110 |
111 | /// Microsoft Code Page 950 (lfCharSet 0x88) Big Five character set with ETen extensions (*ETen-B5-H*)
112 | public static let eTenB5Horisontal = Encoding(name: "ETen-B5-H", isMultibyte: true)
| |- warning: static property 'eTenB5Horisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eTenB5Horisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// Vertical writing version of `eTenB5Horisontal` (*ETen-B5-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:115:23: warning: static property 'eTenB5Vertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
113 |
114 | /// Vertical writing version of `eTenB5Horisontal` (*ETen-B5-V*)
115 | public static let eTenB5Vertical = Encoding(name: "ETen-B5-V", isMultibyte: true)
| |- warning: static property 'eTenB5Vertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eTenB5Vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Microsoft Code Page 932, JIS X 0208 character (*90ms-RKSJ-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:118:23: warning: static property 'rksjHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
116 |
117 | /// Microsoft Code Page 932, JIS X 0208 character (*90ms-RKSJ-H*)
118 | public static let rksjHorisontal = Encoding(name: "90ms-RKSJ-H", isMultibyte: true)
| |- warning: static property 'rksjHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rksjHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Vertical writing version of `rksjHorisontal` (*90ms-RKSJ-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:121:23: warning: static property 'rksjVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
119 |
120 | /// Vertical writing version of `rksjHorisontal` (*90ms-RKSJ-V*)
121 | public static let rksjVertical = Encoding(name: "90ms-RKSJ-V", isMultibyte: true)
| |- warning: static property 'rksjVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rksjVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Microsoft Code Page 932, JIS X 0208 character (proportional) (*90msp-RKSJ-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:124:23: warning: static property 'rksjHorisontalProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
122 |
123 | /// Microsoft Code Page 932, JIS X 0208 character (proportional) (*90msp-RKSJ-H*)
124 | public static let rksjHorisontalProportional = Encoding(name: "90msp-RKSJ-H", isMultibyte: true)
| |- warning: static property 'rksjHorisontalProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rksjHorisontalProportional' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | /// JIS X 0208 character set, EUC-JP encoding (*EUC-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:127:23: warning: static property 'eucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
125 |
126 | /// JIS X 0208 character set, EUC-JP encoding (*EUC-H*)
127 | public static let eucHorisontal = Encoding(name: "EUC-H", isMultibyte: true)
| |- warning: static property 'eucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eucHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Vertical writing version of `eucHorisontal` (*EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:130:23: warning: static property 'eucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
128 |
129 | /// Vertical writing version of `eucHorisontal` (*EUC-V*)
130 | public static let eucVertical = Encoding(name: "EUC-V", isMultibyte: true)
| |- warning: static property 'eucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eucVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | /// KS X 1001:1992 character set, EUC-KR encoding (*KSC-EUC-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:133:23: warning: static property 'kscEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
131 |
132 | /// KS X 1001:1992 character set, EUC-KR encoding (*KSC-EUC-H*)
133 | public static let kscEucHorisontal = Encoding(name: "KSC-EUC-H", isMultibyte: true)
| |- warning: static property 'kscEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscEucHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Vertical writing version of `kscEucHorisontal` (*KSC-EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:136:23: warning: static property 'kscEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
134 |
135 | /// Vertical writing version of `kscEucHorisontal` (*KSC-EUC-V*)
136 | public static let kscEucVertical = Encoding(name: "KSC-EUC-V", isMultibyte: true)
| |- warning: static property 'kscEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscEucVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:140:23: warning: static property 'kscMsUhcProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
138 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
139 | /// Unified Hangul Code (UHC) encoding (proportional) (*KSCms-UHC-H*)
140 | public static let kscMsUhcProportional = Encoding(name: "KSCms-UHC-H", isMultibyte: true)
| |- warning: static property 'kscMsUhcProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscMsUhcProportional' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:144:23: warning: static property 'kscMsUhsHorisontalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
142 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
143 | /// Unified Hangul Code (UHC) encoding (fixed width) (*KSCms-UHC-HW-H*)
144 | public static let kscMsUhsHorisontalFixedWidth = Encoding(name: "KSCms-UHC-HW-H", isMultibyte: true)
| |- warning: static property 'kscMsUhsHorisontalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscMsUhsHorisontalFixedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Vertical writing version of `kscMsUhsHorisontalFixedWidth` (*KSCms-UHC-HW-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:147:23: warning: static property 'kscMsUhsVerticalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
145 |
146 | /// Vertical writing version of `kscMsUhsHorisontalFixedWidth` (*KSCms-UHC-HW-V*)
147 | public static let kscMsUhsVerticalFixedWidth = Encoding(name: "KSCms-UHC-HW-V", isMultibyte: true)
| |- warning: static property 'kscMsUhsVerticalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscMsUhsVerticalFixedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Unicode (*UTF-8*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:150:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
148 |
149 | /// Unicode (*UTF-8*)
150 | public static let utf8 = Encoding(name: "UTF-8", isMultibyte: true)
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | // MARK: - Interface
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:17:23: warning: static property 'courier' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
16 |
17 | public static let courier = Font(name: "Courier")
| |- warning: static property 'courier' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static let courierBold = Font(name: "Courier-Bold")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:19:23: warning: static property 'courierBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
17 | public static let courier = Font(name: "Courier")
18 |
19 | public static let courierBold = Font(name: "Courier-Bold")
| |- warning: static property 'courierBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courierBold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public static let courierOblique = Font(name: "Courier-Oblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:21:23: warning: static property 'courierOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
19 | public static let courierBold = Font(name: "Courier-Bold")
20 |
21 | public static let courierOblique = Font(name: "Courier-Oblique")
| |- warning: static property 'courierOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courierOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let courierBoldOblique = Font(name: "Courier-BoldOblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:23:23: warning: static property 'courierBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
21 | public static let courierOblique = Font(name: "Courier-Oblique")
22 |
23 | public static let courierBoldOblique = Font(name: "Courier-BoldOblique")
| |- warning: static property 'courierBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courierBoldOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public static let helvetica = Font(name: "Helvetica")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:25:23: warning: static property 'helvetica' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
23 | public static let courierBoldOblique = Font(name: "Courier-BoldOblique")
24 |
25 | public static let helvetica = Font(name: "Helvetica")
| |- warning: static property 'helvetica' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helvetica' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static let helveticaBold = Font(name: "Helvetica-Bold")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:27:23: warning: static property 'helveticaBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
25 | public static let helvetica = Font(name: "Helvetica")
26 |
27 | public static let helveticaBold = Font(name: "Helvetica-Bold")
| |- warning: static property 'helveticaBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helveticaBold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let helveticaOblique = Font(name: "Helvetica-Oblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:29:23: warning: static property 'helveticaOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
27 | public static let helveticaBold = Font(name: "Helvetica-Bold")
28 |
29 | public static let helveticaOblique = Font(name: "Helvetica-Oblique")
| |- warning: static property 'helveticaOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helveticaOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let helveticaBoldOblique = Font(name: "Helvetica-BoldOblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:31:23: warning: static property 'helveticaBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
29 | public static let helveticaOblique = Font(name: "Helvetica-Oblique")
30 |
31 | public static let helveticaBoldOblique = Font(name: "Helvetica-BoldOblique")
| |- warning: static property 'helveticaBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helveticaBoldOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let timesRoman = Font(name: "Times-Roman")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:33:23: warning: static property 'timesRoman' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
31 | public static let helveticaBoldOblique = Font(name: "Helvetica-BoldOblique")
32 |
33 | public static let timesRoman = Font(name: "Times-Roman")
| |- warning: static property 'timesRoman' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesRoman' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let timesBold = Font(name: "Times-Bold")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:35:23: warning: static property 'timesBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
33 | public static let timesRoman = Font(name: "Times-Roman")
34 |
35 | public static let timesBold = Font(name: "Times-Bold")
| |- warning: static property 'timesBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesBold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let timesItalic = Font(name: "Times-Italic")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:37:23: warning: static property 'timesItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
35 | public static let timesBold = Font(name: "Times-Bold")
36 |
37 | public static let timesItalic = Font(name: "Times-Italic")
| |- warning: static property 'timesItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesItalic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public static let timesBoldItalic = Font(name: "Times-BoldItalic")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:39:23: warning: static property 'timesBoldItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
37 | public static let timesItalic = Font(name: "Times-Italic")
38 |
39 | public static let timesBoldItalic = Font(name: "Times-BoldItalic")
| |- warning: static property 'timesBoldItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesBoldItalic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static let symbol = Font(name: "Symbol")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:41:23: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
39 | public static let timesBoldItalic = Font(name: "Times-BoldItalic")
40 |
41 | public static let symbol = Font(name: "Symbol")
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static let zapfDingbats = Font(name: "ZapfDingbats")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:43:23: warning: static property 'zapfDingbats' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
41 | public static let symbol = Font(name: "Symbol")
42 |
43 | public static let zapfDingbats = Font(name: "ZapfDingbats")
| |- warning: static property 'zapfDingbats' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zapfDingbats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:184:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'AffineTransform' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// whether by movement, scaling, or rotation — is to call the functions `translateBy(x:y:)`, `scaleBy(x:y:)`,
51 | /// or `rotate(by:)`, respectively.
52 | public struct AffineTransform: Hashable {
| `- note: consider making struct 'AffineTransform' conform to the 'Sendable' protocol
53 |
54 | /// The entry at position [1,1] in the matrix.
:
182 | /// \ 0 0 1 /
183 | /// ```
184 | public static let identity = AffineTransform(a: 1, b: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'AffineTransform' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | c: 0, d: 1,
186 | tx: 0, ty: 0)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:22:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
22 | public static let red = Color(red: 1, green: 0, blue: 0)!
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// Returns the green color in `PDFColorSpace.deviceRGB` space
24 | public static let green = Color(red: 0, green: 1, blue: 0)!
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:24:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
22 | public static let red = Color(red: 1, green: 0, blue: 0)!
23 | /// Returns the green color in `PDFColorSpace.deviceRGB` space
24 | public static let green = Color(red: 0, green: 1, blue: 0)!
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Returns the blue color in `PDFColorSpace.deviceRGB` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:27:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
25 |
26 | /// Returns the blue color in `PDFColorSpace.deviceRGB` space
27 | public static let blue = Color(red: 0, green: 0, blue: 1)!
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Returns the black color in `PDFColorSpace.deviceGray` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:30:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
28 |
29 | /// Returns the black color in `PDFColorSpace.deviceGray` space
30 | public static let black = Color(gray: 0)!
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Returns the white color in `PDFColorSpace.deviceGray` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:33:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
31 |
32 | /// Returns the white color in `PDFColorSpace.deviceGray` space
33 | public static let white = Color(gray: 1)!
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Returns the transparent white color in `PDFColorSpace.deviceGray` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:36:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
34 |
35 | /// Returns the transparent white color in `PDFColorSpace.deviceGray` space
36 | public static let clear = Color(gray: 1, alpha: 0)!
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'clear' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[107/112] Compiling SwiftyHaru Color.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
299 | set {
300 | switch newValue._wrapped {
301 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
302 | HPDF_Page_SetCMYKStroke(_page,
303 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
305 | color.yellow,
306 | color.black)
307 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
308 | HPDF_Page_SetRGBStroke(_page,
309 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
332 | set {
333 | switch newValue._wrapped {
334 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
335 | HPDF_Page_SetCMYKFill(_page,
336 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
338 | color.yellow,
339 | color.black)
340 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
341 | HPDF_Page_SetRGBFill(_page,
342 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:14:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
12 |
13 | /// It is the default encoding of PDF (*StandardEncoding*)
14 | public static let standard = Encoding(name: "StandardEncoding")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The standard encoding of Mac OS (*MacRomanEncoding*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:17:23: warning: static property 'macRoman' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
15 |
16 | /// The standard encoding of Mac OS (*MacRomanEncoding*)
17 | public static let macRoman = Encoding(name: "MacRomanEncoding")
| |- warning: static property 'macRoman' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macRoman' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// The standard encoding of Windows (*WinAnsiEncoding*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:20:23: warning: static property 'windowsANSI' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
18 |
19 | /// The standard encoding of Windows (*WinAnsiEncoding*)
20 | public static let windowsANSI = Encoding(name: "WinAnsiEncoding")
| |- warning: static property 'windowsANSI' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'windowsANSI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Use the built-in encoding of a font (*FontSpecific*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:23:23: warning: static property 'fontSpecific' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
21 |
22 | /// Use the built-in encoding of a font (*FontSpecific*)
23 | public static let fontSpecific = Encoding(name: "FontSpecific")
| |- warning: static property 'fontSpecific' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fontSpecific' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Latin Alphabet No.2 (*ISO8859-2*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:26:23: warning: static property 'latinAlphabet2' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
24 |
25 | /// Latin Alphabet No.2 (*ISO8859-2*)
26 | public static let latinAlphabet2 = Encoding(name: "ISO8859-2")
| |- warning: static property 'latinAlphabet2' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Latin Alphabet No.3 (*ISO8859-3*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:29:23: warning: static property 'latinAlphabet3' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
27 |
28 | /// Latin Alphabet No.3 (*ISO8859-3*)
29 | public static let latinAlphabet3 = Encoding(name: "ISO8859-3")
| |- warning: static property 'latinAlphabet3' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Latin Alphabet No.4 (*ISO8859-4*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:32:23: warning: static property 'latinAlphabet4' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
30 |
31 | /// Latin Alphabet No.4 (*ISO8859-4*)
32 | public static let latinAlphabet4 = Encoding(name: "ISO8859-4")
| |- warning: static property 'latinAlphabet4' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Latin Cyrillic Alphabet (*ISO8859-5*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:35:23: warning: static property 'latinCyrillicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
33 |
34 | /// Latin Cyrillic Alphabet (*ISO8859-5*)
35 | public static let latinCyrillicAlphabet = Encoding(name: "ISO8859-5")
| |- warning: static property 'latinCyrillicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinCyrillicAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Latin Arabic Alphabet (*ISO8859-6*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:38:23: warning: static property 'latinArabicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
36 |
37 | /// Latin Arabic Alphabet (*ISO8859-6*)
38 | public static let latinArabicAlphabet = Encoding(name: "ISO8859-6")
| |- warning: static property 'latinArabicAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinArabicAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Latin Greek Alphabet (*ISO8859-7*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:41:23: warning: static property 'latinGreekAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
39 |
40 | /// Latin Greek Alphabet (*ISO8859-7*)
41 | public static let latinGreekAlphabet = Encoding(name: "ISO8859-7")
| |- warning: static property 'latinGreekAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinGreekAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Latin Hebrew Alphabet (*ISO8859-8*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:44:23: warning: static property 'latinHebrewAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
42 |
43 | /// Latin Hebrew Alphabet (*ISO8859-8*)
44 | public static let latinHebrewAlphabet = Encoding(name: "ISO8859-8")
| |- warning: static property 'latinHebrewAlphabet' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinHebrewAlphabet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Latin Alphabet No.5 (*ISO8859-9*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:47:23: warning: static property 'latinAlphabet5' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
45 |
46 | /// Latin Alphabet No.5 (*ISO8859-9*)
47 | public static let latinAlphabet5 = Encoding(name: "ISO8859-9")
| |- warning: static property 'latinAlphabet5' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | /// Latin Alphabet No.6 (*ISO8859-10*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:50:23: warning: static property 'latinAlphabet6' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
48 |
49 | /// Latin Alphabet No.6 (*ISO8859-10*)
50 | public static let latinAlphabet6 = Encoding(name: "ISO8859-10")
| |- warning: static property 'latinAlphabet6' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// Thai, TIS 620-2569 character set (*ISO8859-11*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:53:23: warning: static property 'thai' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
51 |
52 | /// Thai, TIS 620-2569 character set (*ISO8859-11*)
53 | public static let thai = Encoding(name: "ISO8859-11")
| |- warning: static property 'thai' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thai' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Latin Alphabet No.7 (*ISO8859-13*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:56:23: warning: static property 'latinAlphabet7' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
54 |
55 | /// Latin Alphabet No.7 (*ISO8859-13*)
56 | public static let latinAlphabet7 = Encoding(name: "ISO8859-13")
| |- warning: static property 'latinAlphabet7' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Latin Alphabet No.8 (*ISO8859-14*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:59:23: warning: static property 'latinAlphabet8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
57 |
58 | /// Latin Alphabet No.8 (*ISO8859-14*)
59 | public static let latinAlphabet8 = Encoding(name: "ISO8859-14")
| |- warning: static property 'latinAlphabet8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Latin Alphabet No.9 (*ISO8859-15*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:62:23: warning: static property 'latinAlphabet9' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
60 |
61 | /// Latin Alphabet No.9 (*ISO8859-15*)
62 | public static let latinAlphabet9 = Encoding(name: "ISO8859-15")
| |- warning: static property 'latinAlphabet9' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Latin Alphabet No.10 (*ISO8859-16*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:65:23: warning: static property 'latinAlphabet10' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
63 |
64 | /// Latin Alphabet No.10 (*ISO8859-16*)
65 | public static let latinAlphabet10 = Encoding(name: "ISO8859-16")
| |- warning: static property 'latinAlphabet10' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latinAlphabet10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Microsoft Windows Codepage 1250 (EE) (*CP1250*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:68:23: warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
66 |
67 | /// Microsoft Windows Codepage 1250 (EE) (*CP1250*)
68 | public static let cp1250 = Encoding(name: "CP1250")
| |- warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1250' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Microsoft Windows Codepage 1251 (Cyrl) (*CP1251*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:71:23: warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
69 |
70 | /// Microsoft Windows Codepage 1251 (Cyrl) (*CP1251*)
71 | public static let cp1251 = Encoding(name: "CP1251")
| |- warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1251' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Microsoft Windows Codepage 1252 (ANSI) (*CP1252*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:74:23: warning: static property 'cp1252' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
72 |
73 | /// Microsoft Windows Codepage 1252 (ANSI) (*CP1252*)
74 | public static let cp1252 = Encoding(name: "CP1252")
| |- warning: static property 'cp1252' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1252' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Microsoft Windows Codepage 1253 (Greek) (*CP1253*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:77:23: warning: static property 'cp1253' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
75 |
76 | /// Microsoft Windows Codepage 1253 (Greek) (*CP1253*)
77 | public static let cp1253 = Encoding(name: "CP1253")
| |- warning: static property 'cp1253' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1253' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Microsoft Windows Codepage 1254 (Turk) (*CP1254*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:80:23: warning: static property 'cp1254' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
78 |
79 | /// Microsoft Windows Codepage 1254 (Turk) (*CP1254*)
80 | public static let cp1254 = Encoding(name: "CP1254")
| |- warning: static property 'cp1254' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1254' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Microsoft Windows Codepage 1255 (Hebr) (*CP1255*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:83:23: warning: static property 'cp1255' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
81 |
82 | /// Microsoft Windows Codepage 1255 (Hebr) (*CP1255*)
83 | public static let cp1255 = Encoding(name: "CP1255")
| |- warning: static property 'cp1255' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1255' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | /// Microsoft Windows Codepage 1256 (Arab) (*CP1256*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:86:23: warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
84 |
85 | /// Microsoft Windows Codepage 1256 (Arab) (*CP1256*)
86 | public static let cp1256 = Encoding(name: "CP1256")
| |- warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Microsoft Windows Codepage 1257 (BaltRim) (*CP1257*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:89:23: warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
87 |
88 | /// Microsoft Windows Codepage 1257 (BaltRim) (*CP1257*)
89 | public static let cp1257 = Encoding(name: "CP1257")
| |- warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1257' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Microsoft Windows Codepage 1258 (Viet) (*CP1258*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:92:23: warning: static property 'cp1258' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
90 |
91 | /// Microsoft Windows Codepage 1258 (Viet) (*CP1258*)
92 | public static let cp1258 = Encoding(name: "CP1258")
| |- warning: static property 'cp1258' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cp1258' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Russian Net Character Set (*KOI8-R*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:95:23: warning: static property 'koi8r' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
93 |
94 | /// Russian Net Character Set (*KOI8-R*)
95 | public static let koi8r = Encoding(name: "KOI8-R")
| |- warning: static property 'koi8r' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'koi8r' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | // - MARK: Multibyte encodings
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:100:23: warning: static property 'gbEucCnHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
98 |
99 | /// EUC-CN encoding (*GB-EUC-H*)
100 | public static let gbEucCnHorisontal = Encoding(name: "GB-EUC-H", isMultibyte: true)
| |- warning: static property 'gbEucCnHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbEucCnHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /// Vertical writing version of `eucCNHorisontal` (*GB-EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:103:23: warning: static property 'gbEucCnVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
101 |
102 | /// Vertical writing version of `eucCNHorisontal` (*GB-EUC-V*)
103 | public static let gbEucCnVertical = Encoding(name: "GB-EUC-V", isMultibyte: true)
| |- warning: static property 'gbEucCnVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbEucCnVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | /// Microsoft Code Page 936 (lfCharSet 0x86) GBK encoding (*GBK-EUC-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:106:23: warning: static property 'gbkEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
104 |
105 | /// Microsoft Code Page 936 (lfCharSet 0x86) GBK encoding (*GBK-EUC-H*)
106 | public static let gbkEucHorisontal = Encoding(name: "GBK-EUC-H", isMultibyte: true)
| |- warning: static property 'gbkEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbkEucHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /// Vertical writing version of `gbkEucHorisontal` (*GBK-EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:109:23: warning: static property 'gbkEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
107 |
108 | /// Vertical writing version of `gbkEucHorisontal` (*GBK-EUC-V*)
109 | public static let gbkEucVertical = Encoding(name: "GBK-EUC-V", isMultibyte: true)
| |- warning: static property 'gbkEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gbkEucVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// Microsoft Code Page 950 (lfCharSet 0x88) Big Five character set with ETen extensions (*ETen-B5-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:112:23: warning: static property 'eTenB5Horisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
110 |
111 | /// Microsoft Code Page 950 (lfCharSet 0x88) Big Five character set with ETen extensions (*ETen-B5-H*)
112 | public static let eTenB5Horisontal = Encoding(name: "ETen-B5-H", isMultibyte: true)
| |- warning: static property 'eTenB5Horisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eTenB5Horisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// Vertical writing version of `eTenB5Horisontal` (*ETen-B5-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:115:23: warning: static property 'eTenB5Vertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
113 |
114 | /// Vertical writing version of `eTenB5Horisontal` (*ETen-B5-V*)
115 | public static let eTenB5Vertical = Encoding(name: "ETen-B5-V", isMultibyte: true)
| |- warning: static property 'eTenB5Vertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eTenB5Vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Microsoft Code Page 932, JIS X 0208 character (*90ms-RKSJ-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:118:23: warning: static property 'rksjHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
116 |
117 | /// Microsoft Code Page 932, JIS X 0208 character (*90ms-RKSJ-H*)
118 | public static let rksjHorisontal = Encoding(name: "90ms-RKSJ-H", isMultibyte: true)
| |- warning: static property 'rksjHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rksjHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Vertical writing version of `rksjHorisontal` (*90ms-RKSJ-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:121:23: warning: static property 'rksjVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
119 |
120 | /// Vertical writing version of `rksjHorisontal` (*90ms-RKSJ-V*)
121 | public static let rksjVertical = Encoding(name: "90ms-RKSJ-V", isMultibyte: true)
| |- warning: static property 'rksjVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rksjVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Microsoft Code Page 932, JIS X 0208 character (proportional) (*90msp-RKSJ-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:124:23: warning: static property 'rksjHorisontalProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
122 |
123 | /// Microsoft Code Page 932, JIS X 0208 character (proportional) (*90msp-RKSJ-H*)
124 | public static let rksjHorisontalProportional = Encoding(name: "90msp-RKSJ-H", isMultibyte: true)
| |- warning: static property 'rksjHorisontalProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rksjHorisontalProportional' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | /// JIS X 0208 character set, EUC-JP encoding (*EUC-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:127:23: warning: static property 'eucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
125 |
126 | /// JIS X 0208 character set, EUC-JP encoding (*EUC-H*)
127 | public static let eucHorisontal = Encoding(name: "EUC-H", isMultibyte: true)
| |- warning: static property 'eucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eucHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// Vertical writing version of `eucHorisontal` (*EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:130:23: warning: static property 'eucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
128 |
129 | /// Vertical writing version of `eucHorisontal` (*EUC-V*)
130 | public static let eucVertical = Encoding(name: "EUC-V", isMultibyte: true)
| |- warning: static property 'eucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eucVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | /// KS X 1001:1992 character set, EUC-KR encoding (*KSC-EUC-H*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:133:23: warning: static property 'kscEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
131 |
132 | /// KS X 1001:1992 character set, EUC-KR encoding (*KSC-EUC-H*)
133 | public static let kscEucHorisontal = Encoding(name: "KSC-EUC-H", isMultibyte: true)
| |- warning: static property 'kscEucHorisontal' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscEucHorisontal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | /// Vertical writing version of `kscEucHorisontal` (*KSC-EUC-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:136:23: warning: static property 'kscEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
134 |
135 | /// Vertical writing version of `kscEucHorisontal` (*KSC-EUC-V*)
136 | public static let kscEucVertical = Encoding(name: "KSC-EUC-V", isMultibyte: true)
| |- warning: static property 'kscEucVertical' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscEucVertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:140:23: warning: static property 'kscMsUhcProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
138 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
139 | /// Unified Hangul Code (UHC) encoding (proportional) (*KSCms-UHC-H*)
140 | public static let kscMsUhcProportional = Encoding(name: "KSCms-UHC-H", isMultibyte: true)
| |- warning: static property 'kscMsUhcProportional' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscMsUhcProportional' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:144:23: warning: static property 'kscMsUhsHorisontalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
142 | /// Microsoft Code Page 949 (lfCharSet 0x81), KS X 1001:1992 character set plus 8822 additional hangul,
143 | /// Unified Hangul Code (UHC) encoding (fixed width) (*KSCms-UHC-HW-H*)
144 | public static let kscMsUhsHorisontalFixedWidth = Encoding(name: "KSCms-UHC-HW-H", isMultibyte: true)
| |- warning: static property 'kscMsUhsHorisontalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscMsUhsHorisontalFixedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Vertical writing version of `kscMsUhsHorisontalFixedWidth` (*KSCms-UHC-HW-V*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:147:23: warning: static property 'kscMsUhsVerticalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
145 |
146 | /// Vertical writing version of `kscMsUhsHorisontalFixedWidth` (*KSCms-UHC-HW-V*)
147 | public static let kscMsUhsVerticalFixedWidth = Encoding(name: "KSCms-UHC-HW-V", isMultibyte: true)
| |- warning: static property 'kscMsUhsVerticalFixedWidth' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kscMsUhsVerticalFixedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Unicode (*UTF-8*)
/host/spi-builder-workspace/Sources/SwiftyHaru/Encoding.swift:150:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Encoding: Hashable {
| `- note: consider making struct 'Encoding' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Singlebyte encodings
:
148 |
149 | /// Unicode (*UTF-8*)
150 | public static let utf8 = Encoding(name: "UTF-8", isMultibyte: true)
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | // MARK: - Interface
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:17:23: warning: static property 'courier' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
16 |
17 | public static let courier = Font(name: "Courier")
| |- warning: static property 'courier' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static let courierBold = Font(name: "Courier-Bold")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:19:23: warning: static property 'courierBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
17 | public static let courier = Font(name: "Courier")
18 |
19 | public static let courierBold = Font(name: "Courier-Bold")
| |- warning: static property 'courierBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courierBold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public static let courierOblique = Font(name: "Courier-Oblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:21:23: warning: static property 'courierOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
19 | public static let courierBold = Font(name: "Courier-Bold")
20 |
21 | public static let courierOblique = Font(name: "Courier-Oblique")
| |- warning: static property 'courierOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courierOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let courierBoldOblique = Font(name: "Courier-BoldOblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:23:23: warning: static property 'courierBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
21 | public static let courierOblique = Font(name: "Courier-Oblique")
22 |
23 | public static let courierBoldOblique = Font(name: "Courier-BoldOblique")
| |- warning: static property 'courierBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'courierBoldOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public static let helvetica = Font(name: "Helvetica")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:25:23: warning: static property 'helvetica' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
23 | public static let courierBoldOblique = Font(name: "Courier-BoldOblique")
24 |
25 | public static let helvetica = Font(name: "Helvetica")
| |- warning: static property 'helvetica' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helvetica' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static let helveticaBold = Font(name: "Helvetica-Bold")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:27:23: warning: static property 'helveticaBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
25 | public static let helvetica = Font(name: "Helvetica")
26 |
27 | public static let helveticaBold = Font(name: "Helvetica-Bold")
| |- warning: static property 'helveticaBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helveticaBold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let helveticaOblique = Font(name: "Helvetica-Oblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:29:23: warning: static property 'helveticaOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
27 | public static let helveticaBold = Font(name: "Helvetica-Bold")
28 |
29 | public static let helveticaOblique = Font(name: "Helvetica-Oblique")
| |- warning: static property 'helveticaOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helveticaOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let helveticaBoldOblique = Font(name: "Helvetica-BoldOblique")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:31:23: warning: static property 'helveticaBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
29 | public static let helveticaOblique = Font(name: "Helvetica-Oblique")
30 |
31 | public static let helveticaBoldOblique = Font(name: "Helvetica-BoldOblique")
| |- warning: static property 'helveticaBoldOblique' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'helveticaBoldOblique' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let timesRoman = Font(name: "Times-Roman")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:33:23: warning: static property 'timesRoman' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
31 | public static let helveticaBoldOblique = Font(name: "Helvetica-BoldOblique")
32 |
33 | public static let timesRoman = Font(name: "Times-Roman")
| |- warning: static property 'timesRoman' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesRoman' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let timesBold = Font(name: "Times-Bold")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:35:23: warning: static property 'timesBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
33 | public static let timesRoman = Font(name: "Times-Roman")
34 |
35 | public static let timesBold = Font(name: "Times-Bold")
| |- warning: static property 'timesBold' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesBold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let timesItalic = Font(name: "Times-Italic")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:37:23: warning: static property 'timesItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
35 | public static let timesBold = Font(name: "Times-Bold")
36 |
37 | public static let timesItalic = Font(name: "Times-Italic")
| |- warning: static property 'timesItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesItalic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public static let timesBoldItalic = Font(name: "Times-BoldItalic")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:39:23: warning: static property 'timesBoldItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
37 | public static let timesItalic = Font(name: "Times-Italic")
38 |
39 | public static let timesBoldItalic = Font(name: "Times-BoldItalic")
| |- warning: static property 'timesBoldItalic' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timesBoldItalic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static let symbol = Font(name: "Symbol")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:41:23: warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
39 | public static let timesBoldItalic = Font(name: "Times-BoldItalic")
40 |
41 | public static let symbol = Font(name: "Symbol")
| |- warning: static property 'symbol' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static let zapfDingbats = Font(name: "ZapfDingbats")
/host/spi-builder-workspace/Sources/SwiftyHaru/Font.swift:43:23: warning: static property 'zapfDingbats' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct Font: Hashable {
| `- note: consider making struct 'Font' conform to the 'Sendable' protocol
14 |
15 | public let name: String
:
41 | public static let symbol = Font(name: "Symbol")
42 |
43 | public static let zapfDingbats = Font(name: "ZapfDingbats")
| |- warning: static property 'zapfDingbats' is not concurrency-safe because non-'Sendable' type 'Font' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zapfDingbats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:184:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'AffineTransform' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// whether by movement, scaling, or rotation — is to call the functions `translateBy(x:y:)`, `scaleBy(x:y:)`,
51 | /// or `rotate(by:)`, respectively.
52 | public struct AffineTransform: Hashable {
| `- note: consider making struct 'AffineTransform' conform to the 'Sendable' protocol
53 |
54 | /// The entry at position [1,1] in the matrix.
:
182 | /// \ 0 0 1 /
183 | /// ```
184 | public static let identity = AffineTransform(a: 1, b: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'AffineTransform' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | c: 0, d: 1,
186 | tx: 0, ty: 0)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:22:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
22 | public static let red = Color(red: 1, green: 0, blue: 0)!
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// Returns the green color in `PDFColorSpace.deviceRGB` space
24 | public static let green = Color(red: 0, green: 1, blue: 0)!
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:24:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
22 | public static let red = Color(red: 1, green: 0, blue: 0)!
23 | /// Returns the green color in `PDFColorSpace.deviceRGB` space
24 | public static let green = Color(red: 0, green: 1, blue: 0)!
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Returns the blue color in `PDFColorSpace.deviceRGB` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:27:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
25 |
26 | /// Returns the blue color in `PDFColorSpace.deviceRGB` space
27 | public static let blue = Color(red: 0, green: 0, blue: 1)!
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Returns the black color in `PDFColorSpace.deviceGray` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:30:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
28 |
29 | /// Returns the black color in `PDFColorSpace.deviceGray` space
30 | public static let black = Color(gray: 0)!
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Returns the white color in `PDFColorSpace.deviceGray` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:33:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
31 |
32 | /// Returns the white color in `PDFColorSpace.deviceGray` space
33 | public static let white = Color(gray: 1)!
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Returns the transparent white color in `PDFColorSpace.deviceGray` space
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:36:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * `PDFColorSpace.deviceCMYK`
18 | /// * `PDFColorSpace.deviceGray`
19 | public struct Color: Hashable {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
20 |
21 | /// Returns the red color in `PDFColorSpace.deviceRGB` space
:
34 |
35 | /// Returns the transparent white color in `PDFColorSpace.deviceGray` space
36 | public static let clear = Color(gray: 1, alpha: 0)!
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'clear' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[108/112] Compiling SwiftyHaru PDFColorSpace.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[109/112] Compiling SwiftyHaru Path.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[110/112] Compiling SwiftyHaru Grid+Drawable.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[111/112] Compiling SwiftyHaru Grid.LabelParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[112/112] Compiling SwiftyHaru Grid.Labels.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
Build complete! (28.41s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "SwiftyHaru",
"name" : "SwiftyHaru",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyHaru",
"targets" : [
"SwiftyHaru"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyHaruTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyHaruTests",
"path" : "Tests/SwiftyHaruTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"AffineTransformTests.swift",
"ColorTests.swift",
"CrossPlatformRenderer.swift",
"DashStyleTests.swift",
"DrawingContextTests.swift",
"GridTests.swift",
"PDFDateFormatterTests.swift",
"PDFDocumentTests.swift",
"PDFPageTests.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"SwiftyHaru"
],
"type" : "test"
},
{
"c99name" : "SwiftyHaru",
"module_type" : "SwiftTarget",
"name" : "SwiftyHaru",
"path" : "Sources/SwiftyHaru",
"product_memberships" : [
"SwiftyHaru"
],
"sources" : [
"DrawingContext.swift",
"Encoding.swift",
"Font.swift",
"Graphics/AffineTransform.swift",
"Graphics/Color.swift",
"Graphics/DashStyle.swift",
"Graphics/Drawable.swift",
"Graphics/Geometry.swift",
"Graphics/LineCap.swift",
"Graphics/LineJoin.swift",
"Graphics/PDFColorSpace.swift",
"Graphics/Path.swift",
"Grid/Grid+Drawable.swift",
"Grid/Grid.LabelParameters.swift",
"Grid/Grid.Labels.swift",
"Grid/Grid.Lines.swift",
"Grid/Grid.MajorLineParameters.swift",
"Grid/Grid.MinorLineParameters.swift",
"Grid/Grid.SerifParameters.swift",
"Grid/Grid.Serifs.swift",
"Grid/Grid.swift",
"PDFDateFormatter.swift",
"PDFDocument.CompressionMode.swift",
"PDFDocument.EncryptionMode.swift",
"PDFDocument.Metadata.swift",
"PDFDocument.PageLayout.swift",
"PDFDocument.PageNumberStyle.swift",
"PDFDocument.Permissions.swift",
"PDFDocument.swift",
"PDFError.swift",
"PDFPage.Direction.swift",
"PDFPage.Size.swift",
"PDFPage.swift",
"Sequence.swift",
"TextAlignment.swift",
"Unimplemented.swift"
],
"target_dependencies" : [
"CLibHaru"
],
"type" : "library"
},
{
"c99name" : "CLibPNG",
"module_type" : "ClangTarget",
"name" : "CLibPNG",
"path" : "Sources/CLibPNG",
"product_memberships" : [
"SwiftyHaru"
],
"sources" : [
"png.c",
"pngerror.c",
"pngget.c",
"pngmem.c",
"pngpread.c",
"pngread.c",
"pngrio.c",
"pngrtran.c",
"pngrutil.c",
"pngset.c",
"pngtrans.c",
"pngwio.c",
"pngwrite.c",
"pngwtran.c",
"pngwutil.c"
],
"type" : "library"
},
{
"c99name" : "CLibHaru",
"module_type" : "ClangTarget",
"name" : "CLibHaru",
"path" : "Sources/CLibHaru",
"product_memberships" : [
"SwiftyHaru"
],
"sources" : [
"hpdf_3dmeasure.c",
"hpdf_annotation.c",
"hpdf_array.c",
"hpdf_binary.c",
"hpdf_boolean.c",
"hpdf_catalog.c",
"hpdf_destination.c",
"hpdf_dict.c",
"hpdf_doc.c",
"hpdf_doc_png.c",
"hpdf_dummy.c",
"hpdf_encoder.c",
"hpdf_encoder_cns.c",
"hpdf_encoder_cnt.c",
"hpdf_encoder_jp.c",
"hpdf_encoder_kr.c",
"hpdf_encoder_utf.c",
"hpdf_encrypt.c",
"hpdf_encryptdict.c",
"hpdf_error.c",
"hpdf_exdata.c",
"hpdf_ext_gstate.c",
"hpdf_font.c",
"hpdf_font_cid.c",
"hpdf_font_tt.c",
"hpdf_font_type1.c",
"hpdf_fontdef.c",
"hpdf_fontdef_base14.c",
"hpdf_fontdef_cid.c",
"hpdf_fontdef_cns.c",
"hpdf_fontdef_cnt.c",
"hpdf_fontdef_jp.c",
"hpdf_fontdef_kr.c",
"hpdf_fontdef_tt.c",
"hpdf_fontdef_type1.c",
"hpdf_gstate.c",
"hpdf_image.c",
"hpdf_image_ccitt.c",
"hpdf_image_png.c",
"hpdf_info.c",
"hpdf_list.c",
"hpdf_mmgr.c",
"hpdf_name.c",
"hpdf_namedict.c",
"hpdf_null.c",
"hpdf_number.c",
"hpdf_objects.c",
"hpdf_outline.c",
"hpdf_page_label.c",
"hpdf_page_operator.c",
"hpdf_pages.c",
"hpdf_pdfa.c",
"hpdf_real.c",
"hpdf_streams.c",
"hpdf_string.c",
"hpdf_u3d.c",
"hpdf_utils.c",
"hpdf_xref.c"
],
"target_dependencies" : [
"CLibPNG"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.