The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftMath, reference 1.6.0 (779948), with Swift 6.0 for macOS (SPM) on 9 Oct 2024 10:18:38 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/SwiftMath.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgriebling/SwiftMath
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 7799485 Added fonts and provided previews.
Cloned https://github.com/mgriebling/SwiftMath.git
Revision (git rev-parse @):
7799485428a3988c4104c4e366541f7725ced4e3
SUCCESS checkout https://github.com/mgriebling/SwiftMath.git at 1.6.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftmath",
      "name": "SwiftMath",
      "url": "https://github.com/mgriebling/SwiftMath.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftMath",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mgriebling/SwiftMath.git
[1/1036] Fetching swiftmath
Fetched https://github.com/mgriebling/SwiftMath.git from cache (1.35s)
Creating working copy for https://github.com/mgriebling/SwiftMath.git
Working copy of https://github.com/mgriebling/SwiftMath.git resolved at 1.6.0 (7799485)
warning: '.resolve-product-dependencies': dependency 'swiftmath' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mgriebling/SwiftMath.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[1/4] Copying Info.plist
[2/4] Copying mathFonts.bundle
[3/4] Write swift-version--4A847ED0836F2485.txt
[5/24] Compiling SwiftMath MTMathUILabel.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: annotate 'interElementSpaceArray' with '@MainActor' if property should only be accessed from the main actor
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  24 | private let interElementLock = NSLock()
  25 |
[6/24] 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: annotate 'interElementSpaceArray' with '@MainActor' if property should only be accessed from the main actor
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  24 | private let interElementLock = NSLock()
  25 |
[7/24] Compiling SwiftMath MTMathList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:124: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
122 |     ]
123 |
124 |     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: annotate 'styleToCommands' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |         .display: "displaystyle",
126 |         .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:609:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
 607 |  Styling of a line of math
 608 |  */
 609 | public enum MTLineStyle:Int, Comparable {
     |             `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
 610 |     /// Display style
 611 |     case display
[8/24] Compiling SwiftMath MTMathListBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathListBuilder.swift:124: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
122 |     ]
123 |
124 |     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: annotate 'styleToCommands' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |         .display: "displaystyle",
126 |         .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:609:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
 607 |  Styling of a line of math
 608 |  */
 609 | public enum MTLineStyle:Int, Comparable {
     |             `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
 610 |     /// Display style
 611 |     case display
[9/26] Compiling SwiftMath MTUnicode.swift
[10/26] Compiling SwiftMath resource_bundle_accessor.swift
[11/26] Compiling SwiftMath MTFontMathTableV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:96: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
 92 |     }
 93 | }
 94 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 95 |     //Note: below should be lightweight and without threadsafe problem.
 96 |     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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |
 98 |     private var cgFonts = [MathFont: CGFont]()
[12/26] Compiling SwiftMath MTFontV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:96: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
 92 |     }
 93 | }
 94 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 95 |     //Note: below should be lightweight and without threadsafe problem.
 96 |     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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |
 98 |     private var cgFonts = [MathFont: CGFont]()
[13/26] Compiling SwiftMath MathFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:96: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
 92 |     }
 93 | }
 94 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 95 |     //Note: below should be lightweight and without threadsafe problem.
 96 |     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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |
 98 |     private var cgFonts = [MathFont: CGFont]()
[14/26] Compiling SwiftMath MTColor.swift
[15/26] Compiling SwiftMath MTConfig.swift
[16/26] Compiling SwiftMath MTFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         MTFontManager()
16 |     }()
[17/26] Compiling SwiftMath MTFontManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         MTFontManager()
16 |     }()
[18/26] Compiling SwiftMath MathImage.swift
[19/26] Compiling SwiftMath MTBezierPath.swift
[20/26] Compiling SwiftMath MTMathAtomFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:65: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
 63 |     ]
 64 |
 65 |     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: annotate '_delimValueToName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static var delimValueToName: [String: String] {
 67 |         if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:101: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
 99 |     ]
100 |
101 |     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: annotate '_accentValueToName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |     public static var accentValueToName: [String: String] {
103 |         if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:128: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
126 |     }
127 |
128 |     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: annotate 'supportedLatexSymbols' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |         "square" : MTMathAtomFactory.placeholder(),
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:393: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
391 |     ]
392 |
393 |     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: annotate '_textToLatexSymbolName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |     public static var textToLatexSymbolName: [String: String] {
395 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:427: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
425 |   //  public static let sharedInstance = MTMathAtomFactory()
426 |
427 |     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: annotate 'fontStyles' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 |         "mathnormal" : .defaultStyle,
429 |         "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/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,
[21/26] Compiling SwiftMath MTMathImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:65: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
 63 |     ]
 64 |
 65 |     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: annotate '_delimValueToName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static var delimValueToName: [String: String] {
 67 |         if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:101: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
 99 |     ]
100 |
101 |     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: annotate '_accentValueToName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |     public static var accentValueToName: [String: String] {
103 |         if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:128: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
126 |     }
127 |
128 |     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: annotate 'supportedLatexSymbols' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |         "square" : MTMathAtomFactory.placeholder(),
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:393: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
391 |     ]
392 |
393 |     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: annotate '_textToLatexSymbolName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |     public static var textToLatexSymbolName: [String: String] {
395 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:427: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
425 |   //  public static let sharedInstance = MTMathAtomFactory()
426 |
427 |     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: annotate 'fontStyles' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 |         "mathnormal" : .defaultStyle,
429 |         "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/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,
[22/26] Emitting module SwiftMath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:96: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
 92 |     }
 93 | }
 94 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 95 |     //Note: below should be lightweight and without threadsafe problem.
 96 |     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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |
 98 |     private var cgFonts = [MathFont: CGFont]()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/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: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
   |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         MTFontManager()
16 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:65: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
 63 |     ]
 64 |
 65 |     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: annotate '_delimValueToName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static var delimValueToName: [String: String] {
 67 |         if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:101: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
 99 |     ]
100 |
101 |     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: annotate '_accentValueToName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |     public static var accentValueToName: [String: String] {
103 |         if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:128: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
126 |     }
127 |
128 |     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: annotate 'supportedLatexSymbols' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |         "square" : MTMathAtomFactory.placeholder(),
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:393: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
391 |     ]
392 |
393 |     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: annotate '_textToLatexSymbolName' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |     public static var textToLatexSymbolName: [String: String] {
395 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:427: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
425 |   //  public static let sharedInstance = MTMathAtomFactory()
426 |
427 |     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: annotate 'fontStyles' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 |         "mathnormal" : .defaultStyle,
429 |         "mathrm": .roman,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/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/SwiftMath/MathRender/MTMathListBuilder.swift:124: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
122 |     ]
123 |
124 |     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: annotate 'styleToCommands' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |         .display: "displaystyle",
126 |         .text: "textstyle",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathList.swift:609:13: note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
 607 |  Styling of a line of math
 608 |  */
 609 | public enum MTLineStyle:Int, Comparable {
     |             `- note: consider making enum 'MTLineStyle' conform to the 'Sendable' protocol
 610 |     /// Display style
 611 |     case display
/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: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: annotate 'supported' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: annotate 'interElementSpaceArray' with '@MainActor' if property should only be accessed from the main actor
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  24 | private let interElementLock = NSLock()
  25 |
[23/26] Compiling SwiftMath MTFontMathTable.swift
[24/26] Compiling SwiftMath MTLabel.swift
[25/26] 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: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: annotate 'supported' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Draws itself in the given graphics context.
[26/26] 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: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: annotate 'supported' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Draws itself in the given graphics context.
Build complete! (19.24s)
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" : [
        "ConcurrencyThreadsafeTests.swift",
        "MTFontMathTableV2Tests.swift",
        "MTFontV2Tests.swift",
        "MTMathListBuilderTests.swift",
        "MTMathListTests.swift",
        "MTTypesetterTests.swift",
        "MathFontTests.swift",
        "MathImageTests.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.swift",
        "MathRender/MTUnicode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.