Build Information
Successful build of ExtendedSwiftMath, reference 2.0.4 (06051b), with Swift 6.1 for macOS (SPM) on 17 Jan 2026 20:27:51 UTC.
Swift 6 data race errors: 12
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: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisGVE/ExtendedSwiftMath.git
Reference: 2.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisGVE/ExtendedSwiftMath
* tag 2.0.4 -> FETCH_HEAD
HEAD is now at 06051b7 1 fix(tests): rename test folder and update imports to match package name 2 3 Complete the package renaming by: 4 - Rename Tests/SwiftMathTests/ to Tests/ExtendedSwiftMathTests/ 5 - Update all test file imports from SwiftMath to ExtendedSwiftMath 6 7 This fixes Swift Package Index build failures for v2.0.3 where SPM 8 could not find test sources at the expected path.
Cloned https://github.com/ChrisGVE/ExtendedSwiftMath.git
Revision (git rev-parse @):
06051b74de2f2dd9b925ce61b4a5460b923a3866
SUCCESS checkout https://github.com/ChrisGVE/ExtendedSwiftMath.git at 2.0.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChrisGVE/ExtendedSwiftMath.git
https://github.com/ChrisGVE/ExtendedSwiftMath.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "ExtendedSwiftMath",
"name" : "ExtendedSwiftMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ExtendedSwiftMath",
"targets" : [
"ExtendedSwiftMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ExtendedSwiftMathTests",
"module_type" : "SwiftTarget",
"name" : "ExtendedSwiftMathTests",
"path" : "Tests/ExtendedSwiftMathTests",
"sources" : [
"AccentSpacingComparisonTest.swift",
"ArrowStretchingTest.swift",
"ConcurrencyThreadsafeTests.swift",
"DebugOverlapTest.swift",
"GlyphBoundsTest.swift",
"MTFontMathTableV2Tests.swift",
"MTFontV2Tests.swift",
"MTMathListBuilderTests.swift",
"MTMathListTests.swift",
"MTMathUILabelLineWrappingTests.swift",
"MTTypesetterTests.swift",
"MathDelimiterTests.swift",
"MathFontTests.swift",
"MathImageTests.swift",
"WidehatGlyphTest.swift",
"WidehatTests.swift"
],
"target_dependencies" : [
"ExtendedSwiftMath"
],
"type" : "test"
},
{
"c99name" : "ExtendedSwiftMath",
"module_type" : "SwiftTarget",
"name" : "ExtendedSwiftMath",
"path" : "Sources/ExtendedSwiftMath",
"product_memberships" : [
"ExtendedSwiftMath"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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.swift",
"MathRender/MTUnicode.swift",
"MathRender/RWLock.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/25] Emitting module ExtendedSwiftMath
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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/ExtendedSwiftMath/MathRender/MTFontManager.swift:14:36: warning: static property 'manager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public class MTFontManager {
13 |
14 | static public private(set) var manager: MTFontManager = {
| |- warning: static property 'manager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manager' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
15 | MTFontManager()
16 | }()
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:74: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
72 |
73 | private static let delimValueLock = NSLock()
74 | 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
75 | public static var delimValueToName: [String: String] {
76 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:119: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
117 |
118 | private static let accentValueLock = NSLock()
119 | 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
120 | public static var accentValueToName: [String: String] {
121 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:151: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
149 | }
150 |
151 | 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
152 | "square" : MTMathAtomFactory.placeholder(),
153 |
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:556: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
554 | ]
555 |
556 | 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
557 | // Acute accents
558 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:599: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
597 |
598 | private static let textToLatexLock = NSLock()
599 | 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
600 | public static var textToLatexSymbolName: [String: String] {
601 | get {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:640: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
638 | // public static let sharedInstance = MTMathAtomFactory()
639 |
640 | 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
641 | "mathnormal" : .defaultStyle,
642 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathList.swift:126:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
124 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
125 | */
126 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
127 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
128 | case defaultStyle = 0,
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathListBuilder.swift:183: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
181 | ]
182 |
183 | 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
184 | .display: "displaystyle",
185 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathList.swift:630:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
628 | Styling of a line of math
629 | */
630 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
631 | /// Display style
632 | case display
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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/ExtendedSwiftMath/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/ExtendedSwiftMath/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 |
[6/27] Compiling ExtendedSwiftMath RWLock.swift
[7/27] Compiling ExtendedSwiftMath resource_bundle_accessor.swift
[8/27] Compiling ExtendedSwiftMath MTFontMathTableV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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]()
[9/27] Compiling ExtendedSwiftMath MTFontV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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]()
[10/27] Compiling ExtendedSwiftMath MathFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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]()
[11/27] Compiling ExtendedSwiftMath MTConfig.swift
[12/27] Compiling ExtendedSwiftMath MTFont.swift
[13/27] Compiling ExtendedSwiftMath MTLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:74: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
72 |
73 | private static let delimValueLock = NSLock()
74 | 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
75 | public static var delimValueToName: [String: String] {
76 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:119: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
117 |
118 | private static let accentValueLock = NSLock()
119 | 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
120 | public static var accentValueToName: [String: String] {
121 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:151: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
149 | }
150 |
151 | 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
152 | "square" : MTMathAtomFactory.placeholder(),
153 |
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:556: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
554 | ]
555 |
556 | 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
557 | // Acute accents
558 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:599: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
597 |
598 | private static let textToLatexLock = NSLock()
599 | 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
600 | public static var textToLatexSymbolName: [String: String] {
601 | get {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:640: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
638 | // public static let sharedInstance = MTMathAtomFactory()
639 |
640 | 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
641 | "mathnormal" : .defaultStyle,
642 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathList.swift:126:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
124 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
125 | */
126 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
127 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
128 | case defaultStyle = 0,
[14/27] Compiling ExtendedSwiftMath MTMathAtomFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:74: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
72 |
73 | private static let delimValueLock = NSLock()
74 | 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
75 | public static var delimValueToName: [String: String] {
76 | if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:119: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
117 |
118 | private static let accentValueLock = NSLock()
119 | 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
120 | public static var accentValueToName: [String: String] {
121 | if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:151: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
149 | }
150 |
151 | 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
152 | "square" : MTMathAtomFactory.placeholder(),
153 |
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:556: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
554 | ]
555 |
556 | 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
557 | // Acute accents
558 | "á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:599: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
597 |
598 | private static let textToLatexLock = NSLock()
599 | 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
600 | public static var textToLatexSymbolName: [String: String] {
601 | get {
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathAtomFactory.swift:640: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
638 | // public static let sharedInstance = MTMathAtomFactory()
639 |
640 | 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
641 | "mathnormal" : .defaultStyle,
642 | "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathList.swift:126:13: note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
124 | of type kMTMathAtomVariable and kMTMathAtomNumber. None of the other atom types change their font style.
125 | */
126 | public enum MTFontStyle:Int {
| `- note: consider making enum 'MTFontStyle' conform to the 'Sendable' protocol
127 | /// The default latex rendering style. i.e. variables are italic and numbers are roman.
128 | case defaultStyle = 0,
[15/27] Compiling ExtendedSwiftMath MTMathListIndex.swift
[16/27] Compiling ExtendedSwiftMath MTMathUILabel.swift
[17/27] Compiling ExtendedSwiftMath MTFontManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTFontManager.swift:14:36: warning: static property 'manager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public class MTFontManager {
13 |
14 | static public private(set) var manager: MTFontManager = {
| |- warning: static property 'manager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manager' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
15 | MTFontManager()
16 | }()
[18/27] Compiling ExtendedSwiftMath MTFontMathTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTFontManager.swift:14:36: warning: static property 'manager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public class MTFontManager {
13 |
14 | static public private(set) var manager: MTFontManager = {
| |- warning: static property 'manager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manager' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
15 | MTFontManager()
16 | }()
[19/27] Compiling ExtendedSwiftMath MTMathImage.swift
[20/27] Compiling ExtendedSwiftMath MTMathList.swift
[21/27] Compiling ExtendedSwiftMath MTMathListBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathListBuilder.swift:183: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
181 | ]
182 |
183 | 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
184 | .display: "displaystyle",
185 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathList.swift:630:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
628 | Styling of a line of math
629 | */
630 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
631 | /// Display style
632 | case display
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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/ExtendedSwiftMath/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.
[22/27] Compiling ExtendedSwiftMath MTMathListDisplay.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathListBuilder.swift:183: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
181 | ]
182 |
183 | 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
184 | .display: "displaystyle",
185 | .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/MathRender/MTMathList.swift:630:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
628 | Styling of a line of math
629 | */
630 | public enum MTLineStyle:Int, Comparable {
| `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
631 | /// Display style
632 | case display
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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/ExtendedSwiftMath/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.
[23/27] Compiling ExtendedSwiftMath MTTypesetter.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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 |
[24/27] Compiling ExtendedSwiftMath MTUnicode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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 |
[25/27] Compiling ExtendedSwiftMath MathImage.swift
[26/27] Compiling ExtendedSwiftMath MTBezierPath.swift
[27/27] Compiling ExtendedSwiftMath MTColor.swift
Build complete! (8.93s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "ExtendedSwiftMath",
"name" : "ExtendedSwiftMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ExtendedSwiftMath",
"targets" : [
"ExtendedSwiftMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ExtendedSwiftMathTests",
"module_type" : "SwiftTarget",
"name" : "ExtendedSwiftMathTests",
"path" : "Tests/ExtendedSwiftMathTests",
"sources" : [
"AccentSpacingComparisonTest.swift",
"ArrowStretchingTest.swift",
"ConcurrencyThreadsafeTests.swift",
"DebugOverlapTest.swift",
"GlyphBoundsTest.swift",
"MTFontMathTableV2Tests.swift",
"MTFontV2Tests.swift",
"MTMathListBuilderTests.swift",
"MTMathListTests.swift",
"MTMathUILabelLineWrappingTests.swift",
"MTTypesetterTests.swift",
"MathDelimiterTests.swift",
"MathFontTests.swift",
"MathImageTests.swift",
"WidehatGlyphTest.swift",
"WidehatTests.swift"
],
"target_dependencies" : [
"ExtendedSwiftMath"
],
"type" : "test"
},
{
"c99name" : "ExtendedSwiftMath",
"module_type" : "SwiftTarget",
"name" : "ExtendedSwiftMath",
"path" : "Sources/ExtendedSwiftMath",
"product_memberships" : [
"ExtendedSwiftMath"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ExtendedSwiftMath/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.swift",
"MathRender/MTUnicode.swift",
"MathRender/RWLock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.