Build Information
Successful build of SwiftMath, reference main (cd11ac), with Swift 6.1 for macOS (SPM) on 3 Dec 2026 09:19:07 UTC.
Swift 6 data race errors: 29
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/SwiftMath.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgriebling/SwiftMath
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd11ac4 Merge pull request #87 from akhmadqasim/feat/mathlive-rule
Cloned https://github.com/mgriebling/SwiftMath.git
Revision (git rev-parse @):
cd11ac420d1f064cea4b76378c82a9733d830da0
SUCCESS checkout https://github.com/mgriebling/SwiftMath.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mgriebling/SwiftMath.git
https://github.com/mgriebling/SwiftMath.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "SwiftMath",
"name" : "SwiftMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftMath",
"targets" : [
"SwiftMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftMathTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMathTests",
"path" : "Tests/SwiftMathTests",
"sources" : [
"AccentSpacingComparisonTest.swift",
"ArrowStretchingTest.swift",
"AtomClassCommandTests.swift",
"BoxedAndBraceTests.swift",
"ColorCommandTests.swift",
"CommonCommandsTests.swift",
"ConcurrencyThreadsafeTests.swift",
"CrashRegressionTests.swift",
"DebugOverlapTest.swift",
"DotlessIJAccentTests.swift",
"EncloseTests.swift",
"FractionBarOverlapTests.swift",
"GlyphBoundsTest.swift",
"LeftRightDuplicationTests.swift",
"LimitOperatorRegressionTests.swift",
"MTFontMathTableV2Tests.swift",
"MTFontV2Tests.swift",
"MTMathListBuilderTests.swift",
"MTMathListTests.swift",
"MTMathUILabelLineWrappingTests.swift",
"MTTypesetterTests.swift",
"MathChoiceTests.swift",
"MathDelimiterTests.swift",
"MathFontTests.swift",
"MathImageTests.swift",
"MathLiveCommandsTests.swift",
"MathSpacingTests.swift",
"MatricesLineBreakingTest.swift",
"MiscellaneousCommandsTests.swift",
"RelationOperatorSpacingTests.swift",
"RuleAndRaiseTests.swift",
"SizeCommandTests.swift",
"StyleCommandTests.swift",
"TeXConventionsTests.swift",
"TextFontCommandsTests.swift",
"Tokenization/MTAtomTokenizerTests.swift",
"Tokenization/MTBreakableElementTests.swift",
"Tokenization/MTDisplayGeneratorTests.swift",
"Tokenization/MTDisplayPreRendererTests.swift",
"Tokenization/MTElementWidthCalculatorTests.swift",
"Tokenization/MTLineFitterTests.swift",
"Tokenization/MTTokenizationImprovementTests.swift",
"Tokenization/MTTokenizationRealWorldTests.swift",
"Tokenization/MTTypesetter+TokenizationTests.swift",
"TypesetIdempotenceTests.swift",
"UnderArrowSegmentGroupTests.swift",
"UnicodeMathInputTests.swift",
"WidehatGlyphTest.swift",
"WidehatTests.swift"
],
"target_dependencies" : [
"SwiftMath"
],
"type" : "test"
},
{
"c99name" : "SwiftMath",
"module_type" : "SwiftTarget",
"name" : "SwiftMath",
"path" : "Sources/SwiftMath",
"product_memberships" : [
"SwiftMath"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/mathFonts.bundle",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"MathBundle/MTFontMathTableV2.swift",
"MathBundle/MTFontV2.swift",
"MathBundle/MathFont.swift",
"MathBundle/MathImage.swift",
"MathRender/MTBezierPath.swift",
"MathRender/MTColor.swift",
"MathRender/MTConfig.swift",
"MathRender/MTFont.swift",
"MathRender/MTFontManager.swift",
"MathRender/MTFontMathTable.swift",
"MathRender/MTLabel.swift",
"MathRender/MTMathAtomFactory.swift",
"MathRender/MTMathImage.swift",
"MathRender/MTMathList.swift",
"MathRender/MTMathListBuilder.swift",
"MathRender/MTMathListDisplay.swift",
"MathRender/MTMathListIndex.swift",
"MathRender/MTMathUILabel.swift",
"MathRender/MTTypesetter+Tokenization.swift",
"MathRender/MTTypesetter.swift",
"MathRender/MTUnicode.swift",
"MathRender/RWLock.swift",
"MathRender/Tokenization/MTAtomTokenizer.swift",
"MathRender/Tokenization/MTBreakableElement.swift",
"MathRender/Tokenization/MTDisplayGenerator.swift",
"MathRender/Tokenization/MTDisplayPreRenderer.swift",
"MathRender/Tokenization/MTElementWidthCalculator.swift",
"MathRender/Tokenization/MTLineFitter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[1/4] Copying Info.plist
[2/4] Copying mathFonts.bundle
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/32] Compiling SwiftMath RWLock.swift
[6/32] Compiling SwiftMath MTAtomTokenizer.swift
[7/32] Compiling SwiftMath MTBreakableElement.swift
[8/34] Compiling SwiftMath MTLineFitter.swift
[9/34] Compiling SwiftMath resource_bundle_accessor.swift
[10/34] Compiling SwiftMath MTTypesetter+Tokenization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTTypesetter.swift:23:5: warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | var interElementSpaceArray = [[InterElementSpaceType]]()
| |- warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'interElementSpaceArray' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'interElementSpaceArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let interElementLock = NSLock()
25 |
[11/34] Compiling SwiftMath MTTypesetter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTTypesetter.swift:23:5: warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | var interElementSpaceArray = [[InterElementSpaceType]]()
| |- warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'interElementSpaceArray' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'interElementSpaceArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let interElementLock = NSLock()
25 |
[12/34] Compiling SwiftMath MTUnicode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTTypesetter.swift:23:5: warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | var interElementSpaceArray = [[InterElementSpaceType]]()
| |- warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'interElementSpaceArray' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'interElementSpaceArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let interElementLock = NSLock()
25 |
[13/34] Compiling SwiftMath MTConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTFontManager.swift:16:23: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public class MTFontManager {
| `- note: class 'MTFontManager' does not conform to the 'Sendable' protocol
13 |
14 | /// The shared font manager. A constant, so that apps built with Swift 6 can use it (it was a
15 | /// variable with a private setter, which strict concurrency rejects as shared mutable state).
16 | public static let manager = MTFontManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let kDefaultFontSize = CGFloat(20)
[14/34] Compiling SwiftMath MTFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTFontManager.swift:16:23: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public class MTFontManager {
| `- note: class 'MTFontManager' does not conform to the 'Sendable' protocol
13 |
14 | /// The shared font manager. A constant, so that apps built with Swift 6 can use it (it was a
15 | /// variable with a private setter, which strict concurrency rejects as shared mutable state).
16 | public static let manager = MTFontManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let kDefaultFontSize = CGFloat(20)
[15/34] Compiling SwiftMath MTFontManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTFontManager.swift:16:23: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public class MTFontManager {
| `- note: class 'MTFontManager' does not conform to the 'Sendable' protocol
13 |
14 | /// The shared font manager. A constant, so that apps built with Swift 6 can use it (it was a
15 | /// variable with a private setter, which strict concurrency rejects as shared mutable state).
16 | public static let manager = MTFontManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let kDefaultFontSize = CGFloat(20)
[16/34] Compiling SwiftMath MTDisplayGenerator.swift
[17/34] Compiling SwiftMath MTDisplayPreRenderer.swift
[18/34] Compiling SwiftMath MTElementWidthCalculator.swift
[19/34] Emitting module SwiftMath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:101:25: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 | }
99 | private class BundleManager {
| `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
100 | //Note: below should be lightweight and without threadsafe problem.
101 | static internal let manager = BundleManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | private var cgFonts = [MathFont: CGFont]()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTFontManager.swift:16:23: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public class MTFontManager {
| `- note: class 'MTFontManager' does not conform to the 'Sendable' protocol
13 |
14 | /// The shared font manager. A constant, so that apps built with Swift 6 can use it (it was a
15 | /// variable with a private setter, which strict concurrency rejects as shared mutable state).
16 | public static let manager = MTFontManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'MTFontManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let kDefaultFontSize = CGFloat(20)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:106:16: warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | private static let delimValueLock = NSLock()
106 | static var _delimValueToName = [String: String]()
| |- warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_delimValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_delimValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static var delimValueToName: [String: String] {
108 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:152:16: warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 |
151 | private static let accentValueLock = NSLock()
152 | static var _accentValueToName: [String: String]? = nil
| |- warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_accentValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_accentValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static var accentValueToName: [String: String] {
154 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:184:16: warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | }
183 |
184 | static var supportedLatexSymbols: [String: MTMathAtom] = [
| |- warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedLatexSymbols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedLatexSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | "square" : MTMathAtomFactory.placeholder(),
186 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:635:13: warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static var supportedAccentedCharacters: [Character: (String, String)] = [
| |- warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedAccentedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedAccentedCharacters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
636 | // Acute accents
637 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:679:16: warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
677 |
678 | private static let textToLatexLock = NSLock()
679 | static var _textToLatexSymbolName: [String: String]? = nil
| |- warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_textToLatexSymbolName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_textToLatexSymbolName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | public static var textToLatexSymbolName: [String: String] {
681 | get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:720:16: warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
718 | // public static let sharedInstance = MTMathAtomFactory()
719 |
720 | static let fontStyles : [String: MTFontStyle] = [
| |- warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fontStyles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
721 | "mathnormal" : .defaultStyle,
722 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:145:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
143 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
144 | */
145 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
146 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
147 | case defaultStyle = 0,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:764:24: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
762 | set { lock.lock(); defer { lock.unlock() }; _current = newValue }
763 | }
764 | private static var _current: MTLayoutConventions = .readable
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | private static let lock = NSLock()
766 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1052:24: warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
1021 | does: a point is a tenth of an em, so a formula keeps its proportions at any font size. */
1022 | public struct MTDimension: Equatable {
1023 | public enum Unit: String, CaseIterable {
| `- note: consider making enum 'Unit' conform to the 'Sendable' protocol
1024 | case em, ex, mu, pt, px, mm, cm, `in`, bp, pc, dd
1025 | }
:
1050 |
1051 | /// TeX points per unit for the absolute units
1052 | private static let pointsPerUnit: [Unit: CGFloat] = [
| |- warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pointsPerUnit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1053 | .pt: 1, .px: 3.0 / 4, .mm: 7227.0 / 2540, .cm: 7227.0 / 254, .in: 72.27,
1054 | .bp: 803.0 / 800, .pc: 12, .dd: 1238.0 / 1157,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1084:23: warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
| |- warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'box' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1085:23: warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
| |- warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'roundedBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1086:23: warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
| |- warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'circle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1087:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1088:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1089:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1090:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1091:23: warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
| |- warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'horizontalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1092:23: warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
| |- warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verticalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1093:23: warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
| |- warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
1095 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1094:23: warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
| |- warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'downDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1097:16: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
1097 | static let frames: MTEncloseNotation = [.box, .roundedBox, .circle, .top, .bottom, .left, .right]
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1100:16: warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
1100 | static let names: [(String, MTEncloseNotation)] = [
| |- warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'names' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1101 | ("box", .box), ("roundedbox", .roundedBox), ("circle", .circle),
1102 | ("top", .top), ("bottom", .bottom), ("left", .left), ("right", .right),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:203:16: warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | /// The arrows stretched under their argument, by command; the arrow over it is an accent (`\overrightarrow`)
203 | static let underArrowCommands: [String: MTExtensibleArrow] = [
| |- warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underArrowCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | "underrightarrow": .right,
205 | "underleftarrow": .left,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:587:13: note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
585 |
586 | /** The extensible arrows, named by their command. */
587 | public enum MTExtensibleArrow: String, CaseIterable {
| `- note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
588 | case right = "xrightarrow", left = "xleftarrow", leftRight = "xleftrightarrow"
589 | case doubleRight = "xRightarrow", doubleLeft = "xLeftarrow", doubleLeftRight = "xLeftrightarrow"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:209:23: warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
207 | ]
208 |
209 | public static let styleToCommands: [MTLineStyle: String] = [
| |- warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'styleToCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | .display: "displaystyle",
211 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:771:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
769 | Styling of a line of math
770 | */
771 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
772 | /// Display style
773 | case display
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:318:23: warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
316 |
317 | /// The TeX atom-class commands with the class each gives its argument for spacing
318 | public static let atomClassCommands: [String: MTMathAtomType] = [
| |- warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomClassCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 | "mathord": .ordinary,
320 | "mathop": .largeOperator,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:16:13: note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
14 | The type of the atom determines how it is rendered, and spacing between the atoms.
15 | */
16 | public enum MTMathAtomType: Int, CustomStringConvertible, Comparable {
| `- note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
17 | /// A number or text in ordinary format - Ord in TeX
18 | case ordinary = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:41:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var supported = false
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:42:16: warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
42 | static var supported = false
| |- warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supported' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Draws itself in the given graphics context.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTTypesetter.swift:23:5: warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | var interElementSpaceArray = [[InterElementSpaceType]]()
| |- warning: var 'interElementSpaceArray' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'interElementSpaceArray' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'interElementSpaceArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let interElementLock = NSLock()
25 |
[20/34] Compiling SwiftMath MathImage.swift
[21/34] Compiling SwiftMath MTBezierPath.swift
[22/34] Compiling SwiftMath MTColor.swift
[23/34] Compiling SwiftMath MTMathImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:764:24: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
762 | set { lock.lock(); defer { lock.unlock() }; _current = newValue }
763 | }
764 | private static var _current: MTLayoutConventions = .readable
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | private static let lock = NSLock()
766 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1052:24: warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
1021 | does: a point is a tenth of an em, so a formula keeps its proportions at any font size. */
1022 | public struct MTDimension: Equatable {
1023 | public enum Unit: String, CaseIterable {
| `- note: consider making enum 'Unit' conform to the 'Sendable' protocol
1024 | case em, ex, mu, pt, px, mm, cm, `in`, bp, pc, dd
1025 | }
:
1050 |
1051 | /// TeX points per unit for the absolute units
1052 | private static let pointsPerUnit: [Unit: CGFloat] = [
| |- warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pointsPerUnit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1053 | .pt: 1, .px: 3.0 / 4, .mm: 7227.0 / 2540, .cm: 7227.0 / 254, .in: 72.27,
1054 | .bp: 803.0 / 800, .pc: 12, .dd: 1238.0 / 1157,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1084:23: warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
| |- warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'box' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1085:23: warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
| |- warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'roundedBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1086:23: warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
| |- warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'circle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1087:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1088:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1089:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1090:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1091:23: warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
| |- warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'horizontalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1092:23: warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
| |- warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verticalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1093:23: warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
| |- warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
1095 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1094:23: warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
| |- warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'downDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1097:16: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
1097 | static let frames: MTEncloseNotation = [.box, .roundedBox, .circle, .top, .bottom, .left, .right]
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1100:16: warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
1100 | static let names: [(String, MTEncloseNotation)] = [
| |- warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'names' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1101 | ("box", .box), ("roundedbox", .roundedBox), ("circle", .circle),
1102 | ("top", .top), ("bottom", .bottom), ("left", .left), ("right", .right),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:203:16: warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | /// The arrows stretched under their argument, by command; the arrow over it is an accent (`\overrightarrow`)
203 | static let underArrowCommands: [String: MTExtensibleArrow] = [
| |- warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underArrowCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | "underrightarrow": .right,
205 | "underleftarrow": .left,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:587:13: note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
585 |
586 | /** The extensible arrows, named by their command. */
587 | public enum MTExtensibleArrow: String, CaseIterable {
| `- note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
588 | case right = "xrightarrow", left = "xleftarrow", leftRight = "xleftrightarrow"
589 | case doubleRight = "xRightarrow", doubleLeft = "xLeftarrow", doubleLeftRight = "xLeftrightarrow"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:209:23: warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
207 | ]
208 |
209 | public static let styleToCommands: [MTLineStyle: String] = [
| |- warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'styleToCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | .display: "displaystyle",
211 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:771:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
769 | Styling of a line of math
770 | */
771 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
772 | /// Display style
773 | case display
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:318:23: warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
316 |
317 | /// The TeX atom-class commands with the class each gives its argument for spacing
318 | public static let atomClassCommands: [String: MTMathAtomType] = [
| |- warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomClassCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 | "mathord": .ordinary,
320 | "mathop": .largeOperator,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:16:13: note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
14 | The type of the atom determines how it is rendered, and spacing between the atoms.
15 | */
16 | public enum MTMathAtomType: Int, CustomStringConvertible, Comparable {
| `- note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
17 | /// A number or text in ordinary format - Ord in TeX
18 | case ordinary = 1
[24/34] Compiling SwiftMath MTMathList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:764:24: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
762 | set { lock.lock(); defer { lock.unlock() }; _current = newValue }
763 | }
764 | private static var _current: MTLayoutConventions = .readable
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | private static let lock = NSLock()
766 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1052:24: warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
1021 | does: a point is a tenth of an em, so a formula keeps its proportions at any font size. */
1022 | public struct MTDimension: Equatable {
1023 | public enum Unit: String, CaseIterable {
| `- note: consider making enum 'Unit' conform to the 'Sendable' protocol
1024 | case em, ex, mu, pt, px, mm, cm, `in`, bp, pc, dd
1025 | }
:
1050 |
1051 | /// TeX points per unit for the absolute units
1052 | private static let pointsPerUnit: [Unit: CGFloat] = [
| |- warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pointsPerUnit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1053 | .pt: 1, .px: 3.0 / 4, .mm: 7227.0 / 2540, .cm: 7227.0 / 254, .in: 72.27,
1054 | .bp: 803.0 / 800, .pc: 12, .dd: 1238.0 / 1157,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1084:23: warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
| |- warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'box' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1085:23: warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
| |- warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'roundedBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1086:23: warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
| |- warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'circle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1087:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1088:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1089:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1090:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1091:23: warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
| |- warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'horizontalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1092:23: warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
| |- warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verticalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1093:23: warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
| |- warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
1095 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1094:23: warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
| |- warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'downDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1097:16: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
1097 | static let frames: MTEncloseNotation = [.box, .roundedBox, .circle, .top, .bottom, .left, .right]
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1100:16: warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
1100 | static let names: [(String, MTEncloseNotation)] = [
| |- warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'names' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1101 | ("box", .box), ("roundedbox", .roundedBox), ("circle", .circle),
1102 | ("top", .top), ("bottom", .bottom), ("left", .left), ("right", .right),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:203:16: warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | /// The arrows stretched under their argument, by command; the arrow over it is an accent (`\overrightarrow`)
203 | static let underArrowCommands: [String: MTExtensibleArrow] = [
| |- warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underArrowCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | "underrightarrow": .right,
205 | "underleftarrow": .left,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:587:13: note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
585 |
586 | /** The extensible arrows, named by their command. */
587 | public enum MTExtensibleArrow: String, CaseIterable {
| `- note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
588 | case right = "xrightarrow", left = "xleftarrow", leftRight = "xleftrightarrow"
589 | case doubleRight = "xRightarrow", doubleLeft = "xLeftarrow", doubleLeftRight = "xLeftrightarrow"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:209:23: warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
207 | ]
208 |
209 | public static let styleToCommands: [MTLineStyle: String] = [
| |- warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'styleToCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | .display: "displaystyle",
211 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:771:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
769 | Styling of a line of math
770 | */
771 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
772 | /// Display style
773 | case display
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:318:23: warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
316 |
317 | /// The TeX atom-class commands with the class each gives its argument for spacing
318 | public static let atomClassCommands: [String: MTMathAtomType] = [
| |- warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomClassCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 | "mathord": .ordinary,
320 | "mathop": .largeOperator,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:16:13: note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
14 | The type of the atom determines how it is rendered, and spacing between the atoms.
15 | */
16 | public enum MTMathAtomType: Int, CustomStringConvertible, Comparable {
| `- note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
17 | /// A number or text in ordinary format - Ord in TeX
18 | case ordinary = 1
[25/34] Compiling SwiftMath MTMathListBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:764:24: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
762 | set { lock.lock(); defer { lock.unlock() }; _current = newValue }
763 | }
764 | private static var _current: MTLayoutConventions = .readable
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | private static let lock = NSLock()
766 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1052:24: warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
1021 | does: a point is a tenth of an em, so a formula keeps its proportions at any font size. */
1022 | public struct MTDimension: Equatable {
1023 | public enum Unit: String, CaseIterable {
| `- note: consider making enum 'Unit' conform to the 'Sendable' protocol
1024 | case em, ex, mu, pt, px, mm, cm, `in`, bp, pc, dd
1025 | }
:
1050 |
1051 | /// TeX points per unit for the absolute units
1052 | private static let pointsPerUnit: [Unit: CGFloat] = [
| |- warning: static property 'pointsPerUnit' is not concurrency-safe because non-'Sendable' type '[MTDimension.Unit : CGFloat]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pointsPerUnit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1053 | .pt: 1, .px: 3.0 / 4, .mm: 7227.0 / 2540, .cm: 7227.0 / 254, .in: 72.27,
1054 | .bp: 803.0 / 800, .pc: 12, .dd: 1238.0 / 1157,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1084:23: warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
| |- warning: static property 'box' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'box' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1085:23: warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
1083 |
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
| |- warning: static property 'roundedBox' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'roundedBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1086:23: warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1084 | public static let box = MTEncloseNotation(rawValue: 1 << 0)
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
| |- warning: static property 'circle' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'circle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1087:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1085 | public static let roundedBox = MTEncloseNotation(rawValue: 1 << 1)
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1088:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1086 | public static let circle = MTEncloseNotation(rawValue: 1 << 2)
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1089:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1087 | public static let top = MTEncloseNotation(rawValue: 1 << 3)
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1090:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1088 | public static let bottom = MTEncloseNotation(rawValue: 1 << 4)
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1091:23: warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1089 | public static let left = MTEncloseNotation(rawValue: 1 << 5)
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
| |- warning: static property 'horizontalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'horizontalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1092:23: warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1090 | public static let right = MTEncloseNotation(rawValue: 1 << 6)
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
| |- warning: static property 'verticalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verticalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1093:23: warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1091 | public static let horizontalStrike = MTEncloseNotation(rawValue: 1 << 7)
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
| |- warning: static property 'upDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
1095 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1094:23: warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1092 | public static let verticalStrike = MTEncloseNotation(rawValue: 1 << 8)
1093 | public static let upDiagonalStrike = MTEncloseNotation(rawValue: 1 << 9)
1094 | public static let downDiagonalStrike = MTEncloseNotation(rawValue: 1 << 10)
| |- warning: static property 'downDiagonalStrike' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'downDiagonalStrike' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1097:16: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1095 |
1096 | /// The lines around the list, which take up the thickness of a line on each side
1097 | static let frames: MTEncloseNotation = [.box, .roundedBox, .circle, .top, .bottom, .left, .right]
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'MTEncloseNotation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:1100:16: warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
1078 |
1079 | /** The lines `MTEnclose` draws: the notations of MathML's `menclose`, which `\enclose` names. */
1080 | public struct MTEncloseNotation: OptionSet {
| `- note: consider making struct 'MTEncloseNotation' conform to the 'Sendable' protocol
1081 | public let rawValue: Int
1082 | public init(rawValue: Int) { self.rawValue = rawValue }
:
1098 |
1099 | /// The names `\enclose` takes, in the order they are written back
1100 | static let names: [(String, MTEncloseNotation)] = [
| |- warning: static property 'names' is not concurrency-safe because non-'Sendable' type '[(String, MTEncloseNotation)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'names' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1101 | ("box", .box), ("roundedbox", .roundedBox), ("circle", .circle),
1102 | ("top", .top), ("bottom", .bottom), ("left", .left), ("right", .right),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:203:16: warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | /// The arrows stretched under their argument, by command; the arrow over it is an accent (`\overrightarrow`)
203 | static let underArrowCommands: [String: MTExtensibleArrow] = [
| |- warning: static property 'underArrowCommands' is not concurrency-safe because non-'Sendable' type '[String : MTExtensibleArrow]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underArrowCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | "underrightarrow": .right,
205 | "underleftarrow": .left,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:587:13: note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
585 |
586 | /** The extensible arrows, named by their command. */
587 | public enum MTExtensibleArrow: String, CaseIterable {
| `- note: consider making enum 'MTExtensibleArrow' conform to the 'Sendable' protocol
588 | case right = "xrightarrow", left = "xleftarrow", leftRight = "xleftrightarrow"
589 | case doubleRight = "xRightarrow", doubleLeft = "xLeftarrow", doubleLeftRight = "xLeftrightarrow"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:209:23: warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
207 | ]
208 |
209 | public static let styleToCommands: [MTLineStyle: String] = [
| |- warning: static property 'styleToCommands' is not concurrency-safe because non-'Sendable' type '[MTLineStyle : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'styleToCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | .display: "displaystyle",
211 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:771:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
769 | Styling of a line of math
770 | */
771 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
772 | /// Display style
773 | case display
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:318:23: warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
316 |
317 | /// The TeX atom-class commands with the class each gives its argument for spacing
318 | public static let atomClassCommands: [String: MTMathAtomType] = [
| |- warning: static property 'atomClassCommands' is not concurrency-safe because non-'Sendable' type '[String : MTMathAtomType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomClassCommands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 | "mathord": .ordinary,
320 | "mathop": .largeOperator,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:16:13: note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
14 | The type of the atom determines how it is rendered, and spacing between the atoms.
15 | */
16 | public enum MTMathAtomType: Int, CustomStringConvertible, Comparable {
| `- note: consider making enum 'MTMathAtomType' conform to the 'Sendable' protocol
17 | /// A number or text in ordinary format - Ord in TeX
18 | case ordinary = 1
[26/34] Compiling SwiftMath MTFontMathTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:106:16: warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | private static let delimValueLock = NSLock()
106 | static var _delimValueToName = [String: String]()
| |- warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_delimValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_delimValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static var delimValueToName: [String: String] {
108 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:152:16: warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 |
151 | private static let accentValueLock = NSLock()
152 | static var _accentValueToName: [String: String]? = nil
| |- warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_accentValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_accentValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static var accentValueToName: [String: String] {
154 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:184:16: warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | }
183 |
184 | static var supportedLatexSymbols: [String: MTMathAtom] = [
| |- warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedLatexSymbols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedLatexSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | "square" : MTMathAtomFactory.placeholder(),
186 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:635:13: warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static var supportedAccentedCharacters: [Character: (String, String)] = [
| |- warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedAccentedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedAccentedCharacters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
636 | // Acute accents
637 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:679:16: warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
677 |
678 | private static let textToLatexLock = NSLock()
679 | static var _textToLatexSymbolName: [String: String]? = nil
| |- warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_textToLatexSymbolName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_textToLatexSymbolName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | public static var textToLatexSymbolName: [String: String] {
681 | get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:720:16: warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
718 | // public static let sharedInstance = MTMathAtomFactory()
719 |
720 | static let fontStyles : [String: MTFontStyle] = [
| |- warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fontStyles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
721 | "mathnormal" : .defaultStyle,
722 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:145:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
143 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
144 | */
145 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
146 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
147 | case defaultStyle = 0,
[27/34] Compiling SwiftMath MTLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:106:16: warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | private static let delimValueLock = NSLock()
106 | static var _delimValueToName = [String: String]()
| |- warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_delimValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_delimValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static var delimValueToName: [String: String] {
108 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:152:16: warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 |
151 | private static let accentValueLock = NSLock()
152 | static var _accentValueToName: [String: String]? = nil
| |- warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_accentValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_accentValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static var accentValueToName: [String: String] {
154 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:184:16: warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | }
183 |
184 | static var supportedLatexSymbols: [String: MTMathAtom] = [
| |- warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedLatexSymbols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedLatexSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | "square" : MTMathAtomFactory.placeholder(),
186 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:635:13: warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static var supportedAccentedCharacters: [Character: (String, String)] = [
| |- warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedAccentedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedAccentedCharacters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
636 | // Acute accents
637 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:679:16: warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
677 |
678 | private static let textToLatexLock = NSLock()
679 | static var _textToLatexSymbolName: [String: String]? = nil
| |- warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_textToLatexSymbolName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_textToLatexSymbolName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | public static var textToLatexSymbolName: [String: String] {
681 | get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:720:16: warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
718 | // public static let sharedInstance = MTMathAtomFactory()
719 |
720 | static let fontStyles : [String: MTFontStyle] = [
| |- warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fontStyles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
721 | "mathnormal" : .defaultStyle,
722 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:145:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
143 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
144 | */
145 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
146 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
147 | case defaultStyle = 0,
[28/34] Compiling SwiftMath MTMathAtomFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:106:16: warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | private static let delimValueLock = NSLock()
106 | static var _delimValueToName = [String: String]()
| |- warning: static property '_delimValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_delimValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_delimValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static var delimValueToName: [String: String] {
108 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:152:16: warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 |
151 | private static let accentValueLock = NSLock()
152 | static var _accentValueToName: [String: String]? = nil
| |- warning: static property '_accentValueToName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_accentValueToName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_accentValueToName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static var accentValueToName: [String: String] {
154 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:184:16: warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | }
183 |
184 | static var supportedLatexSymbols: [String: MTMathAtom] = [
| |- warning: static property 'supportedLatexSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedLatexSymbols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedLatexSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | "square" : MTMathAtomFactory.placeholder(),
186 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:635:13: warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static var supportedAccentedCharacters: [Character: (String, String)] = [
| |- warning: static property 'supportedAccentedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedAccentedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportedAccentedCharacters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
636 | // Acute accents
637 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:679:16: warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
677 |
678 | private static let textToLatexLock = NSLock()
679 | static var _textToLatexSymbolName: [String: String]? = nil
| |- warning: static property '_textToLatexSymbolName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_textToLatexSymbolName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_textToLatexSymbolName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | public static var textToLatexSymbolName: [String: String] {
681 | get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:720:16: warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
718 | // public static let sharedInstance = MTMathAtomFactory()
719 |
720 | static let fontStyles : [String: MTFontStyle] = [
| |- warning: static property 'fontStyles' is not concurrency-safe because non-'Sendable' type '[String : MTFontStyle]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fontStyles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
721 | "mathnormal" : .defaultStyle,
722 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:145:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
143 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
144 | */
145 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
146 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
147 | case defaultStyle = 0,
[29/34] Compiling SwiftMath MTMathListDisplay.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:41:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var supported = false
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:42:16: warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
42 | static var supported = false
| |- warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supported' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Draws itself in the given graphics context.
[30/34] Compiling SwiftMath MTMathListIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:41:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var supported = false
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:42:16: warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
42 | static var supported = false
| |- warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supported' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Draws itself in the given graphics context.
[31/34] Compiling SwiftMath MTMathUILabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:41:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var supported = false
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListDisplay.swift:42:16: warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // needed for isIos6Supported() func above
41 | static var initialized = false
42 | static var supported = false
| |- warning: static property 'supported' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supported' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Draws itself in the given graphics context.
[32/34] Compiling SwiftMath MTFontMathTableV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:101:25: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 | }
99 | private class BundleManager {
| `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
100 | //Note: below should be lightweight and without threadsafe problem.
101 | static internal let manager = BundleManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | private var cgFonts = [MathFont: CGFont]()
[33/34] Compiling SwiftMath MTFontV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:101:25: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 | }
99 | private class BundleManager {
| `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
100 | //Note: below should be lightweight and without threadsafe problem.
101 | static internal let manager = BundleManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | private var cgFonts = [MathFont: CGFont]()
[34/34] Compiling SwiftMath MathFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:101:25: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
97 | }
98 | }
99 | private class BundleManager {
| `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
100 | //Note: below should be lightweight and without threadsafe problem.
101 | static internal let manager = BundleManager()
| |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'BundleManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | private var cgFonts = [MathFont: CGFont]()
Build complete! (8.77s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "SwiftMath",
"name" : "SwiftMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftMath",
"targets" : [
"SwiftMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftMathTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMathTests",
"path" : "Tests/SwiftMathTests",
"sources" : [
"AccentSpacingComparisonTest.swift",
"ArrowStretchingTest.swift",
"AtomClassCommandTests.swift",
"BoxedAndBraceTests.swift",
"ColorCommandTests.swift",
"CommonCommandsTests.swift",
"ConcurrencyThreadsafeTests.swift",
"CrashRegressionTests.swift",
"DebugOverlapTest.swift",
"DotlessIJAccentTests.swift",
"EncloseTests.swift",
"FractionBarOverlapTests.swift",
"GlyphBoundsTest.swift",
"LeftRightDuplicationTests.swift",
"LimitOperatorRegressionTests.swift",
"MTFontMathTableV2Tests.swift",
"MTFontV2Tests.swift",
"MTMathListBuilderTests.swift",
"MTMathListTests.swift",
"MTMathUILabelLineWrappingTests.swift",
"MTTypesetterTests.swift",
"MathChoiceTests.swift",
"MathDelimiterTests.swift",
"MathFontTests.swift",
"MathImageTests.swift",
"MathLiveCommandsTests.swift",
"MathSpacingTests.swift",
"MatricesLineBreakingTest.swift",
"MiscellaneousCommandsTests.swift",
"RelationOperatorSpacingTests.swift",
"RuleAndRaiseTests.swift",
"SizeCommandTests.swift",
"StyleCommandTests.swift",
"TeXConventionsTests.swift",
"TextFontCommandsTests.swift",
"Tokenization/MTAtomTokenizerTests.swift",
"Tokenization/MTBreakableElementTests.swift",
"Tokenization/MTDisplayGeneratorTests.swift",
"Tokenization/MTDisplayPreRendererTests.swift",
"Tokenization/MTElementWidthCalculatorTests.swift",
"Tokenization/MTLineFitterTests.swift",
"Tokenization/MTTokenizationImprovementTests.swift",
"Tokenization/MTTokenizationRealWorldTests.swift",
"Tokenization/MTTypesetter+TokenizationTests.swift",
"TypesetIdempotenceTests.swift",
"UnderArrowSegmentGroupTests.swift",
"UnicodeMathInputTests.swift",
"WidehatGlyphTest.swift",
"WidehatTests.swift"
],
"target_dependencies" : [
"SwiftMath"
],
"type" : "test"
},
{
"c99name" : "SwiftMath",
"module_type" : "SwiftTarget",
"name" : "SwiftMath",
"path" : "Sources/SwiftMath",
"product_memberships" : [
"SwiftMath"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/mathFonts.bundle",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"MathBundle/MTFontMathTableV2.swift",
"MathBundle/MTFontV2.swift",
"MathBundle/MathFont.swift",
"MathBundle/MathImage.swift",
"MathRender/MTBezierPath.swift",
"MathRender/MTColor.swift",
"MathRender/MTConfig.swift",
"MathRender/MTFont.swift",
"MathRender/MTFontManager.swift",
"MathRender/MTFontMathTable.swift",
"MathRender/MTLabel.swift",
"MathRender/MTMathAtomFactory.swift",
"MathRender/MTMathImage.swift",
"MathRender/MTMathList.swift",
"MathRender/MTMathListBuilder.swift",
"MathRender/MTMathListDisplay.swift",
"MathRender/MTMathListIndex.swift",
"MathRender/MTMathUILabel.swift",
"MathRender/MTTypesetter+Tokenization.swift",
"MathRender/MTTypesetter.swift",
"MathRender/MTUnicode.swift",
"MathRender/RWLock.swift",
"MathRender/Tokenization/MTAtomTokenizer.swift",
"MathRender/Tokenization/MTBreakableElement.swift",
"MathRender/Tokenization/MTDisplayGenerator.swift",
"MathRender/Tokenization/MTDisplayPreRenderer.swift",
"MathRender/Tokenization/MTElementWidthCalculator.swift",
"MathRender/Tokenization/MTLineFitter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.