The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftMath, reference 1.7.3 (fa8244), with Swift 6.1 for macOS (SPM) on 3 Aug 2025 17:44:15 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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/SwiftMath.git
Reference: 1.7.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgriebling/SwiftMath
 * tag               1.7.3      -> FETCH_HEAD
HEAD is now at fa8244e Merge pull request #50 from raskavil/main
Cloned https://github.com/mgriebling/SwiftMath.git
Revision (git rev-parse @):
fa8244ed032f4a1ade4cb0571bf87d2f1a9fd2d7
SUCCESS checkout https://github.com/mgriebling/SwiftMath.git at 1.7.3
========================================
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/1187] Fetching swiftmath
Fetched https://github.com/mgriebling/SwiftMath.git from cache (1.17s)
Creating working copy for https://github.com/mgriebling/SwiftMath.git
Working copy of https://github.com/mgriebling/SwiftMath.git resolved at 1.7.3 (fa8244e)
warning: '.resolve-product-dependencies': dependency 'swiftmath' is not used by any target
Found 0 product dependencies
========================================
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" : [
        "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",
        "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 SwiftMath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:84: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
 80 |     }
 81 | }
 82 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 83 |     //Note: below should be lightweight and without threadsafe problem.
 84 |     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
 85 |
 86 |     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: 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/SwiftMath/MathRender/MTMathAtomFactory.swift:66: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
 64 |
 65 |     private static let delimValueLock = NSLock()
 66 |     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
 67 |     public static var delimValueToName: [String: String] {
 68 |         if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:108: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
106 |
107 |     private static let accentValueLock = NSLock()
108 |     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
109 |     public static var accentValueToName: [String: String] {
110 |         if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:140: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
138 |     }
139 |
140 |     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
141 |         "square" : MTMathAtomFactory.placeholder(),
142 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:415: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
413 |     ]
414 |
415 | 	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
416 | 		// Acute accents
417 | 		"á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:458: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
456 |
457 |     private static let textToLatexLock = NSLock()
458 |     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
459 |     public static var textToLatexSymbolName: [String: String] {
460 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:499: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
497 |   //  public static let sharedInstance = MTMathAtomFactory()
498 |
499 |     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
500 |         "mathnormal" : .defaultStyle,
501 |         "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: 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
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: 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 |
[6/27] Compiling SwiftMath RWLock.swift
[7/27] Compiling SwiftMath resource_bundle_accessor.swift
[8/27] Compiling SwiftMath MTFontMathTableV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:84: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
 80 |     }
 81 | }
 82 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 83 |     //Note: below should be lightweight and without threadsafe problem.
 84 |     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
 85 |
 86 |     private var cgFonts = [MathFont: CGFont]()
[9/27] Compiling SwiftMath MTFontV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:84: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
 80 |     }
 81 | }
 82 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 83 |     //Note: below should be lightweight and without threadsafe problem.
 84 |     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
 85 |
 86 |     private var cgFonts = [MathFont: CGFont]()
[10/27] Compiling SwiftMath MathFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathBundle/MathFont.swift:84: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
 80 |     }
 81 | }
 82 | private class BundleManager {
    |               `- note: class 'BundleManager' does not conform to the 'Sendable' protocol
 83 |     //Note: below should be lightweight and without threadsafe problem.
 84 |     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
 85 |
 86 |     private var cgFonts = [MathFont: CGFont]()
[11/27] Compiling SwiftMath MTMathListIndex.swift
[12/27] Compiling SwiftMath MTMathUILabel.swift
[13/27] Compiling SwiftMath MTConfig.swift
[14/27] Compiling SwiftMath MTFont.swift
[15/27] 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 |
[16/27] 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 |
[17/27] Compiling SwiftMath MTLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:66: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
 64 |
 65 |     private static let delimValueLock = NSLock()
 66 |     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
 67 |     public static var delimValueToName: [String: String] {
 68 |         if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:108: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
106 |
107 |     private static let accentValueLock = NSLock()
108 |     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
109 |     public static var accentValueToName: [String: String] {
110 |         if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:140: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
138 |     }
139 |
140 |     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
141 |         "square" : MTMathAtomFactory.placeholder(),
142 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:415: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
413 |     ]
414 |
415 | 	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
416 | 		// Acute accents
417 | 		"á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:458: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
456 |
457 |     private static let textToLatexLock = NSLock()
458 |     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
459 |     public static var textToLatexSymbolName: [String: String] {
460 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:499: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
497 |   //  public static let sharedInstance = MTMathAtomFactory()
498 |
499 |     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
500 |         "mathnormal" : .defaultStyle,
501 |         "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,
[18/27] Compiling SwiftMath MTMathAtomFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:66: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
 64 |
 65 |     private static let delimValueLock = NSLock()
 66 |     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
 67 |     public static var delimValueToName: [String: String] {
 68 |         if _delimValueToName.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:108: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
106 |
107 |     private static let accentValueLock = NSLock()
108 |     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
109 |     public static var accentValueToName: [String: String] {
110 |         if _accentValueToName == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:140: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
138 |     }
139 |
140 |     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
141 |         "square" : MTMathAtomFactory.placeholder(),
142 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:415: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
413 |     ]
414 |
415 | 	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
416 | 		// Acute accents
417 | 		"á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:458: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
456 |
457 |     private static let textToLatexLock = NSLock()
458 |     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
459 |     public static var textToLatexSymbolName: [String: String] {
460 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift:499: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
497 |   //  public static let sharedInstance = MTMathAtomFactory()
498 |
499 |     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
500 |         "mathnormal" : .defaultStyle,
501 |         "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,
[19/27] Compiling SwiftMath MTMathImage.swift
[20/27] Compiling SwiftMath MTMathList.swift
[21/27] 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: 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 |     }()
[22/27] Compiling SwiftMath MTFontMathTable.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: 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 |     }()
[23/27] Compiling SwiftMath MathImage.swift
[24/27] Compiling SwiftMath MTBezierPath.swift
[25/27] Compiling SwiftMath MTColor.swift
[26/27] 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: 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
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: 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.
[27/27] Compiling SwiftMath MTMathListDisplay.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: 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
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: 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.
Build complete! (9.37s)
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",
        "MathRender/RWLock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.