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 LaTeXSwiftUI, reference v1.3.2 (766be1), with Swift 6.0 for macOS (SPM) on 13 Oct 2024 03:22:50 UTC.

Swift 6 data race errors: 16

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/colinc86/LaTeXSwiftUI.git
Reference: v1.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/colinc86/LaTeXSwiftUI
 * tag               v1.3.2     -> FETCH_HEAD
HEAD is now at 766be13 Merge pull request #33 from colinc86/develop
Cloned https://github.com/colinc86/LaTeXSwiftUI.git
Revision (git rev-parse @):
766be13e75a901cd0097122be189bac88b5b1963
SUCCESS checkout https://github.com/colinc86/LaTeXSwiftUI.git at v1.3.2
Fetching https://github.com/Kitura/swift-html-entities
Fetching https://github.com/colinc86/MathJaxSwift
Fetching https://github.com/exyte/SVGView
[1/2454] Fetching svgview
[26/3117] Fetching svgview, swift-html-entities
[119/4542] Fetching svgview, swift-html-entities, mathjaxswift
Fetched https://github.com/Kitura/swift-html-entities from cache (1.35s)
Fetched https://github.com/exyte/SVGView from cache (1.35s)
Fetched https://github.com/colinc86/MathJaxSwift from cache (1.35s)
Computing version for https://github.com/Kitura/swift-html-entities
Computed https://github.com/Kitura/swift-html-entities at 4.0.1 (0.69s)
Computing version for https://github.com/exyte/SVGView
Computed https://github.com/exyte/SVGView at 1.0.4 (0.70s)
Computing version for https://github.com/colinc86/MathJaxSwift
Computed https://github.com/colinc86/MathJaxSwift at 3.4.0 (0.70s)
Creating working copy for https://github.com/Kitura/swift-html-entities
Working copy of https://github.com/Kitura/swift-html-entities resolved at 4.0.1
Creating working copy for https://github.com/colinc86/MathJaxSwift
Working copy of https://github.com/colinc86/MathJaxSwift resolved at 3.4.0
Creating working copy for https://github.com/exyte/SVGView
Working copy of https://github.com/exyte/SVGView resolved at 1.0.4
========================================
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": "latexswiftui",
      "name": "LaTeXSwiftUI",
      "url": "https://github.com/colinc86/LaTeXSwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LaTeXSwiftUI",
      "dependencies": [
        {
          "identity": "mathjaxswift",
          "name": "MathJaxSwift",
          "url": "https://github.com/colinc86/MathJaxSwift",
          "version": "3.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MathJaxSwift",
          "dependencies": [
          ]
        },
        {
          "identity": "svgview",
          "name": "SVGView",
          "url": "https://github.com/exyte/SVGView",
          "version": "1.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SVGView",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-html-entities",
          "name": "HTMLEntities",
          "url": "https://github.com/Kitura/swift-html-entities",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-html-entities",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/colinc86/LaTeXSwiftUI.git
[1/829] Fetching latexswiftui
Fetched https://github.com/colinc86/LaTeXSwiftUI.git from cache (1.07s)
Fetching https://github.com/colinc86/MathJaxSwift from cache
Fetching https://github.com/Kitura/swift-html-entities from cache
Fetching https://github.com/exyte/SVGView from cache
Fetched https://github.com/exyte/SVGView from cache (0.51s)
Fetched https://github.com/colinc86/MathJaxSwift from cache (0.51s)
Fetched https://github.com/Kitura/swift-html-entities from cache (0.51s)
Computing version for https://github.com/Kitura/swift-html-entities
Computed https://github.com/Kitura/swift-html-entities at 4.0.1 (0.02s)
Computing version for https://github.com/colinc86/MathJaxSwift
Computed https://github.com/colinc86/MathJaxSwift at 3.4.0 (0.02s)
Computing version for https://github.com/exyte/SVGView
Computed https://github.com/exyte/SVGView at 1.0.6 (0.65s)
Creating working copy for https://github.com/exyte/SVGView
Working copy of https://github.com/exyte/SVGView resolved at 1.0.6
Creating working copy for https://github.com/colinc86/LaTeXSwiftUI.git
Working copy of https://github.com/colinc86/LaTeXSwiftUI.git resolved at v1.3.2 (766be13)
Creating working copy for https://github.com/Kitura/swift-html-entities
Working copy of https://github.com/Kitura/swift-html-entities resolved at 4.0.1
Creating working copy for https://github.com/colinc86/MathJaxSwift
Working copy of https://github.com/colinc86/MathJaxSwift resolved at 3.4.0
warning: '.resolve-product-dependencies': dependency 'latexswiftui' is not used by any target
Found 3 product dependencies
  - MathJaxSwift
  - SVGView
  - HTMLEntities
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/colinc86/LaTeXSwiftUI.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/7] Write sources
[4/7] Copying Preview Assets.xcassets
[5/7] Copying mjn
[6/7] Write swift-version--4A847ED0836F2485.txt
[8/103] Compiling HTMLEntities Utilities.swift
[9/103] Compiling HTMLEntities ParseError.swift
[10/103] Compiling HTMLEntities Constants.swift
[11/103] Emitting module HTMLEntities
[12/103] Compiling HTMLEntities String+HTMLEntities.swift
[13/103] Emitting module SVGView
[14/108] Compiling SVGView SVGStructureParsers.swift
[15/108] Compiling SVGView SVGTextParser.swift
[16/108] Compiling SVGView SVGLengthParser.swift
[17/108] Compiling SVGView SVGConstants.swift
[18/108] Compiling SVGView SVGAttribute.swift
[19/112] Compiling SVGView SVGPathReader.swift
[20/112] Compiling SVGView SVGView.swift
[21/112] Compiling SVGView SVGLinker.swift
[22/112] Compiling SVGView SVGLogger.swift
[23/112] Compiling SVGView SVGShapeParser.swift
[24/112] Emitting module MathJaxSwift
[25/112] Compiling MathJaxSwift AM2CHTML.swift
[26/112] Compiling MathJaxSwift AM2MML.swift
[27/112] Compiling MathJaxSwift MML2CHTML.swift
[28/112] Compiling SVGView CSSParser.swift
[29/112] Compiling SVGView SVGParserPrimitives.swift
[30/112] Compiling SVGView SVGEllipse.swift
[31/112] Compiling SVGView SVGContext.swift
[32/112] Compiling SVGView SVGIndex.swift
[33/112] Compiling SVGView SVGParser.swift
[34/112] Compiling SVGView SVGPaint.swift
[35/112] Compiling SVGView SVGPreserveAspectRatio.swift
[36/112] Compiling SVGView SVGStroke.swift
[37/112] Compiling SVGView SVGCircle.swift
[38/112] Compiling SVGView SVGParserBasics.swift
[39/112] Compiling SVGView SVGParserExtensions.swift
[40/112] Compiling SVGView SVGLine.swift
[41/112] Compiling SVGView SVGPath.swift
[42/112] Compiling SVGView SVGDataImage.swift
[43/112] Compiling SVGView SVGURLImage.swift
[44/112] Compiling SVGView SVGGroup.swift
[45/112] Compiling SVGView SVGImage.swift
[46/112] Compiling SVGView SVGNode.swift
[47/112] Compiling SVGView SVGColor.swift
[48/112] Compiling SVGView SVGFont.swift
[49/112] Compiling SVGView SVGGradient.swift
[50/112] Compiling SVGView SVGLength.swift
[51/112] Compiling SVGView SVGShape.swift
[52/112] Compiling SVGView SVGText.swift
[53/112] Compiling SVGView SVGUserSpaceNode.swift
[54/112] Compiling SVGView SVGViewport.swift
[55/112] Compiling MathJaxSwift CHTMLOutputProcessorOptions.swift
[56/112] Compiling MathJaxSwift OutputProcessorOptions.swift
[57/112] Compiling MathJaxSwift SVGOutputProcessorOptions.swift
[58/112] Compiling MathJaxSwift resource_bundle_accessor.swift
[93/112] Compiling SVGView Serializations.swift
[94/112] Compiling SVGView Serializer.swift
[95/112] Compiling SVGView MBezierPath+Extension_macOS.swift
[96/112] Compiling SVGView UIExtensions.swift
[97/112] Compiling SVGView resource_bundle_accessor.swift
[98/112] Compiling SVGView SVGScreen.swift
[99/112] Compiling SVGView SVGSettings.swift
[100/112] Compiling SVGView DOMParser.swift
[101/112] Compiling SVGView XMLNode.swift
[102/112] Compiling SVGView Serializable.swift
[113/139] Compiling LaTeXSwiftUI Range+Extensions.swift
[114/139] Compiling LaTeXSwiftUI TeXInputProcessorOptions+Extensions.swift
[115/139] Compiling LaTeXSwiftUI View+Extensions.swift
[116/139] Compiling LaTeXSwiftUI Image+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
[117/139] Compiling LaTeXSwiftUI ImageRenderer+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
[118/139] Compiling LaTeXSwiftUI MathJax+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
[119/141] Emitting module LaTeXSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/CGRect+Extensions.swift:29:1: warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
27 | import CoreGraphics
28 |
29 | extension CGRect: Hashable {
   | |- warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |
31 |   public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 | private struct ErrorModeKey: EnvironmentKey {
 34 |   static let defaultValue: LaTeX.ErrorMode = .original
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 35 | }
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:67:15: note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 65 |
 66 |   /// The view's error mode.
 67 |   public enum ErrorMode {
    |               `- note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 68 |
 69 |     /// The rendered image should be displayed (if available).
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 | private struct ParsingModeKey: EnvironmentKey {
 42 |   static let defaultValue: LaTeX.ParsingMode = .onlyEquations
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:80:15: note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 78 |
 79 |   /// The view's rendering mode.
 80 |   public enum ParsingMode {
    |               `- note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 81 |
 82 |     /// Render the entire text as the equation.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:46:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | private struct BlockModeKey: EnvironmentKey {
 46 |   static let defaultValue: LaTeX.BlockMode = .blockViews
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 47 | }
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:41:15: note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 39 |
 40 |   /// The view's block rendering mode.
 41 |   public enum BlockMode {
    |               `- note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 42 |
 43 |     /// Block equations are ignored and always rendered inline.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:54:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 | private struct EquationNumberModeKey: EnvironmentKey {
 54 |   static let defaultValue: LaTeX.EquationNumberMode = .none
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 55 | }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:54:15: note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 52 |
 53 |   /// The view's equation number mode.
 54 |   public enum EquationNumberMode {
    |               `- note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 55 |
 56 |     /// The view should not number named block equations.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:66:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 | private struct FormatEquationNumberKey: EnvironmentKey {
 66 |   static let defaultValue: LaTeX.FormatEquationNumber = { "(\($0))" }
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 67 | }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:70:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | private struct RenderingStyleKey: EnvironmentKey {
 70 |   static let defaultValue: LaTeX.RenderingStyle = .wait
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 71 | }
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:90:15: note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 88 |
 89 |   /// The view's rendering style.
 90 |   public enum RenderingStyle {
    |               `- note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 91 |
 92 |     /// The view remains empty until its finished rendering.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:43:14: warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 41 |
 42 |   /// An inline equation component.
 43 |   static let inline = EquationComponent(
    |              |- warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'inline' 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
 44 |     regex: #/\$(.*?)\$/#,
 45 |     terminatingRegex: #/\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:49:14: warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 47 |
 48 |   /// An TeX-style block equation component.
 49 |   static let tex = EquationComponent(
    |              |- warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'tex' 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
 50 |     regex: #/\$\$\s*(.*?)\s*\$\$/#,
 51 |     terminatingRegex: #/\$\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:55:14: warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 53 |
 54 |   /// A block equation.
 55 |   static let block = EquationComponent(
    |              |- warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'block' 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
 56 |     regex: #/\\\[\s*(.*?)\s*\\\]/#,
 57 |     terminatingRegex: #/\\\]/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:61:14: warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 59 |
 60 |   /// A named equation component.
 61 |   static let named = EquationComponent(
    |              |- warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'named' 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
 62 |     regex: #/\\begin{equation}\s*(.*?)\s*\\end{equation}/#,
 63 |     terminatingRegex: #/\\end{equation}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:67:14: warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 65 |
 66 |   /// A named no number equation component.
 67 |   static let namedNoNumber = EquationComponent(
    |              |- warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'namedNoNumber' 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
 68 |     regex: #/\\begin{equation\*}\s*(.*?)\s*\\end{equation\*}/#,
 69 |     terminatingRegex: #/\\end{equation\*}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:73:14: warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 71 |
 72 |   // Order matters
 73 |   static let allEquations: [EquationComponent] = [
    |              |- warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'allEquations' 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
 74 |     inline,
 75 |     tex,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:47:22: warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |   /// The SVG element regex.
 47 |   private static let svgRegex = #/<svg.*?>/#
    |                      |- warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'svgRegex' 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
 48 |
 49 |   /// The attribute regex.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:50:22: warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// The attribute regex.
 50 |   private static let attributeRegex = #/\w*:*\w+=".*?"/#
    |                      |- warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'attributeRegex' 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
 51 |
 52 |   // MARK: Public properties
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[120/141] Compiling LaTeXSwiftUI DefaultLaTeXStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:36:8: warning: call to main actor-isolated instance method 'formatEquationNumber' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
35 |       .equationNumberMode(.right)
36 |       .formatEquationNumber { n in
   |        `- warning: call to main actor-isolated instance method 'formatEquationNumber' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |         "(\(n))"
38 |       }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:145:8: note: calls to instance method 'formatEquationNumber' from outside of its actor context are implicitly asynchronous
143 |   /// - Parameter perform: The block that will format the equation number.
144 |   /// - Returns: A view that formats its equation numbers.
145 |   func formatEquationNumber(_ perform: @escaping LaTeX.FormatEquationNumber) -> some View {
    |        `- note: calls to instance method 'formatEquationNumber' from outside of its actor context are implicitly asynchronous
146 |     environment(\.formatEquationNumber, perform)
147 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:35:8: warning: call to main actor-isolated instance method 'equationNumberMode' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
35 |       .equationNumberMode(.right)
   |        `- warning: call to main actor-isolated instance method 'equationNumberMode' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |       .formatEquationNumber { n in
37 |         "(\(n))"
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:120:8: note: calls to instance method 'equationNumberMode' from outside of its actor context are implicitly asynchronous
118 |   /// - Parameter mode: The equation number mode.
119 |   /// - Returns: A view that numbers its equations.
120 |   func equationNumberMode(_ mode: LaTeX.EquationNumberMode) -> some View {
    |        `- note: calls to instance method 'equationNumberMode' from outside of its actor context are implicitly asynchronous
121 |     environment(\.equationNumberMode, mode)
122 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:34:8: warning: call to main actor-isolated instance method 'unencoded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
   |        `- warning: call to main actor-isolated instance method 'unencoded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |       .equationNumberMode(.right)
36 |       .formatEquationNumber { n in
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:77:8: note: calls to instance method 'unencoded' from outside of its actor context are implicitly asynchronous
 75 |   /// - Parameter unencode: Whether the variable should be set to true or false.
 76 |   /// - Returns: A view that displays unencoded text.
 77 |   func unencoded(_ unencode: Bool = true) -> some View {
    |        `- note: calls to instance method 'unencoded' from outside of its actor context are implicitly asynchronous
 78 |     environment(\.unencodeHTML, unencode)
 79 |   }
[121/141] Compiling LaTeXSwiftUI LaTeXStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:36:8: warning: call to main actor-isolated instance method 'formatEquationNumber' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
35 |       .equationNumberMode(.right)
36 |       .formatEquationNumber { n in
   |        `- warning: call to main actor-isolated instance method 'formatEquationNumber' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |         "(\(n))"
38 |       }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:145:8: note: calls to instance method 'formatEquationNumber' from outside of its actor context are implicitly asynchronous
143 |   /// - Parameter perform: The block that will format the equation number.
144 |   /// - Returns: A view that formats its equation numbers.
145 |   func formatEquationNumber(_ perform: @escaping LaTeX.FormatEquationNumber) -> some View {
    |        `- note: calls to instance method 'formatEquationNumber' from outside of its actor context are implicitly asynchronous
146 |     environment(\.formatEquationNumber, perform)
147 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:35:8: warning: call to main actor-isolated instance method 'equationNumberMode' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
35 |       .equationNumberMode(.right)
   |        `- warning: call to main actor-isolated instance method 'equationNumberMode' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |       .formatEquationNumber { n in
37 |         "(\(n))"
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:120:8: note: calls to instance method 'equationNumberMode' from outside of its actor context are implicitly asynchronous
118 |   /// - Parameter mode: The equation number mode.
119 |   /// - Returns: A view that numbers its equations.
120 |   func equationNumberMode(_ mode: LaTeX.EquationNumberMode) -> some View {
    |        `- note: calls to instance method 'equationNumberMode' from outside of its actor context are implicitly asynchronous
121 |     environment(\.equationNumberMode, mode)
122 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:34:8: warning: call to main actor-isolated instance method 'unencoded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
   |        `- warning: call to main actor-isolated instance method 'unencoded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |       .equationNumberMode(.right)
36 |       .formatEquationNumber { n in
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:77:8: note: calls to instance method 'unencoded' from outside of its actor context are implicitly asynchronous
 75 |   /// - Parameter unencode: Whether the variable should be set to true or false.
 76 |   /// - Returns: A view that displays unencoded text.
 77 |   func unencoded(_ unencode: Bool = true) -> some View {
    |        `- note: calls to instance method 'unencoded' from outside of its actor context are implicitly asynchronous
 78 |     environment(\.unencodeHTML, unencode)
 79 |   }
[122/141] Compiling LaTeXSwiftUI StandardLaTeXStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:36:8: warning: call to main actor-isolated instance method 'formatEquationNumber' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
35 |       .equationNumberMode(.right)
36 |       .formatEquationNumber { n in
   |        `- warning: call to main actor-isolated instance method 'formatEquationNumber' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |         "(\(n))"
38 |       }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:145:8: note: calls to instance method 'formatEquationNumber' from outside of its actor context are implicitly asynchronous
143 |   /// - Parameter perform: The block that will format the equation number.
144 |   /// - Returns: A view that formats its equation numbers.
145 |   func formatEquationNumber(_ perform: @escaping LaTeX.FormatEquationNumber) -> some View {
    |        `- note: calls to instance method 'formatEquationNumber' from outside of its actor context are implicitly asynchronous
146 |     environment(\.formatEquationNumber, perform)
147 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:35:8: warning: call to main actor-isolated instance method 'equationNumberMode' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
35 |       .equationNumberMode(.right)
   |        `- warning: call to main actor-isolated instance method 'equationNumberMode' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |       .formatEquationNumber { n in
37 |         "(\(n))"
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:120:8: note: calls to instance method 'equationNumberMode' from outside of its actor context are implicitly asynchronous
118 |   /// - Parameter mode: The equation number mode.
119 |   /// - Returns: A view that numbers its equations.
120 |   func equationNumberMode(_ mode: LaTeX.EquationNumberMode) -> some View {
    |        `- note: calls to instance method 'equationNumberMode' from outside of its actor context are implicitly asynchronous
121 |     environment(\.equationNumberMode, mode)
122 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Styles/StandardLaTeXStyle.swift:34:8: warning: call to main actor-isolated instance method 'unencoded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | public struct StandardLaTeXStyle: LaTeXStyle {
31 |
32 |   public func makeBody(content: LaTeX) -> some View {
   |               `- note: add '@MainActor' to make instance method 'makeBody(content:)' part of global actor 'MainActor'
33 |     content
34 |       .unencoded()
   |        `- warning: call to main actor-isolated instance method 'unencoded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |       .equationNumberMode(.right)
36 |       .formatEquationNumber { n in
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/View+Extensions.swift:77:8: note: calls to instance method 'unencoded' from outside of its actor context are implicitly asynchronous
 75 |   /// - Parameter unencode: Whether the variable should be set to true or false.
 76 |   /// - Returns: A view that displays unencoded text.
 77 |   func unencoded(_ unencode: Bool = true) -> some View {
    |        `- note: calls to instance method 'unencoded' from outside of its actor context are implicitly asynchronous
 78 |     environment(\.unencodeHTML, unencode)
 79 |   }
[123/141] Compiling LaTeXSwiftUI LaTeX_Previews+Modes.swift
[124/141] Compiling LaTeXSwiftUI LaTeX_Previews+Numbers.swift
[125/141] Compiling LaTeXSwiftUI LaTeX_Previews+Styles.swift
[126/141] Compiling LaTeXSwiftUI ComponentBlocksText.swift
[127/141] Compiling LaTeXSwiftUI ComponentBlocksViews.swift
[128/141] Compiling LaTeXSwiftUI EquationNumber.swift
[129/141] Compiling LaTeXSwiftUI HorizontalImageScroller.swift
[130/141] Compiling LaTeXSwiftUI CGRect+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/CGRect+Extensions.swift:29:1: warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
27 | import CoreGraphics
28 |
29 | extension CGRect: Hashable {
   | |- warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |
31 |   public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 | private struct ErrorModeKey: EnvironmentKey {
 34 |   static let defaultValue: LaTeX.ErrorMode = .original
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 35 | }
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:67:15: note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 65 |
 66 |   /// The view's error mode.
 67 |   public enum ErrorMode {
    |               `- note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 68 |
 69 |     /// The rendered image should be displayed (if available).
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 | private struct ParsingModeKey: EnvironmentKey {
 42 |   static let defaultValue: LaTeX.ParsingMode = .onlyEquations
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:80:15: note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 78 |
 79 |   /// The view's rendering mode.
 80 |   public enum ParsingMode {
    |               `- note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 81 |
 82 |     /// Render the entire text as the equation.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:46:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | private struct BlockModeKey: EnvironmentKey {
 46 |   static let defaultValue: LaTeX.BlockMode = .blockViews
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 47 | }
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:41:15: note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 39 |
 40 |   /// The view's block rendering mode.
 41 |   public enum BlockMode {
    |               `- note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 42 |
 43 |     /// Block equations are ignored and always rendered inline.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:54:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 | private struct EquationNumberModeKey: EnvironmentKey {
 54 |   static let defaultValue: LaTeX.EquationNumberMode = .none
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 55 | }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:54:15: note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 52 |
 53 |   /// The view's equation number mode.
 54 |   public enum EquationNumberMode {
    |               `- note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 55 |
 56 |     /// The view should not number named block equations.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:66:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 | private struct FormatEquationNumberKey: EnvironmentKey {
 66 |   static let defaultValue: LaTeX.FormatEquationNumber = { "(\($0))" }
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 67 | }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:70:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | private struct RenderingStyleKey: EnvironmentKey {
 70 |   static let defaultValue: LaTeX.RenderingStyle = .wait
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 71 | }
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:90:15: note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 88 |
 89 |   /// The view's rendering style.
 90 |   public enum RenderingStyle {
    |               `- note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 91 |
 92 |     /// The view remains empty until its finished rendering.
[131/141] Compiling LaTeXSwiftUI EnvironmentValues+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/CGRect+Extensions.swift:29:1: warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
27 | import CoreGraphics
28 |
29 | extension CGRect: Hashable {
   | |- warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |
31 |   public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 | private struct ErrorModeKey: EnvironmentKey {
 34 |   static let defaultValue: LaTeX.ErrorMode = .original
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 35 | }
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:67:15: note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 65 |
 66 |   /// The view's error mode.
 67 |   public enum ErrorMode {
    |               `- note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 68 |
 69 |     /// The rendered image should be displayed (if available).
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 | private struct ParsingModeKey: EnvironmentKey {
 42 |   static let defaultValue: LaTeX.ParsingMode = .onlyEquations
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:80:15: note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 78 |
 79 |   /// The view's rendering mode.
 80 |   public enum ParsingMode {
    |               `- note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 81 |
 82 |     /// Render the entire text as the equation.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:46:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | private struct BlockModeKey: EnvironmentKey {
 46 |   static let defaultValue: LaTeX.BlockMode = .blockViews
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 47 | }
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:41:15: note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 39 |
 40 |   /// The view's block rendering mode.
 41 |   public enum BlockMode {
    |               `- note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 42 |
 43 |     /// Block equations are ignored and always rendered inline.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:54:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 | private struct EquationNumberModeKey: EnvironmentKey {
 54 |   static let defaultValue: LaTeX.EquationNumberMode = .none
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 55 | }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:54:15: note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 52 |
 53 |   /// The view's equation number mode.
 54 |   public enum EquationNumberMode {
    |               `- note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 55 |
 56 |     /// The view should not number named block equations.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:66:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 | private struct FormatEquationNumberKey: EnvironmentKey {
 66 |   static let defaultValue: LaTeX.FormatEquationNumber = { "(\($0))" }
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 67 | }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:70:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | private struct RenderingStyleKey: EnvironmentKey {
 70 |   static let defaultValue: LaTeX.RenderingStyle = .wait
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 71 | }
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:90:15: note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 88 |
 89 |   /// The view's rendering style.
 90 |   public enum RenderingStyle {
    |               `- note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 91 |
 92 |     /// The view remains empty until its finished rendering.
[132/141] Compiling LaTeXSwiftUI Font+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/CGRect+Extensions.swift:29:1: warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
27 | import CoreGraphics
28 |
29 | extension CGRect: Hashable {
   | |- warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |
31 |   public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 | private struct ErrorModeKey: EnvironmentKey {
 34 |   static let defaultValue: LaTeX.ErrorMode = .original
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ErrorMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 35 | }
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:67:15: note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 65 |
 66 |   /// The view's error mode.
 67 |   public enum ErrorMode {
    |               `- note: consider making enum 'ErrorMode' conform to the 'Sendable' protocol
 68 |
 69 |     /// The rendered image should be displayed (if available).
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 | private struct ParsingModeKey: EnvironmentKey {
 42 |   static let defaultValue: LaTeX.ParsingMode = .onlyEquations
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.ParsingMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:80:15: note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 78 |
 79 |   /// The view's rendering mode.
 80 |   public enum ParsingMode {
    |               `- note: consider making enum 'ParsingMode' conform to the 'Sendable' protocol
 81 |
 82 |     /// Render the entire text as the equation.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:46:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | private struct BlockModeKey: EnvironmentKey {
 46 |   static let defaultValue: LaTeX.BlockMode = .blockViews
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.BlockMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 47 | }
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:41:15: note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 39 |
 40 |   /// The view's block rendering mode.
 41 |   public enum BlockMode {
    |               `- note: consider making enum 'BlockMode' conform to the 'Sendable' protocol
 42 |
 43 |     /// Block equations are ignored and always rendered inline.
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:54:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 | private struct EquationNumberModeKey: EnvironmentKey {
 54 |   static let defaultValue: LaTeX.EquationNumberMode = .none
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.EquationNumberMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 55 | }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:54:15: note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 52 |
 53 |   /// The view's equation number mode.
 54 |   public enum EquationNumberMode {
    |               `- note: consider making enum 'EquationNumberMode' conform to the 'Sendable' protocol
 55 |
 56 |     /// The view should not number named block equations.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:66:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 | private struct FormatEquationNumberKey: EnvironmentKey {
 66 |   static let defaultValue: LaTeX.FormatEquationNumber = { "(\($0))" }
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.FormatEquationNumber' (aka '(Int) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 67 | }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/EnvironmentValues+Extensions.swift:70:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | private struct RenderingStyleKey: EnvironmentKey {
 70 |   static let defaultValue: LaTeX.RenderingStyle = .wait
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LaTeX.RenderingStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'defaultValue' 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
 71 | }
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:90:15: note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 88 |
 89 |   /// The view's rendering style.
 90 |   public enum RenderingStyle {
    |               `- note: consider making enum 'RenderingStyle' conform to the 'Sendable' protocol
 91 |
 92 |     /// The view remains empty until its finished rendering.
[133/141] Compiling LaTeXSwiftUI Component.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:43:14: warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 41 |
 42 |   /// An inline equation component.
 43 |   static let inline = EquationComponent(
    |              |- warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'inline' 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
 44 |     regex: #/\$(.*?)\$/#,
 45 |     terminatingRegex: #/\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:49:14: warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 47 |
 48 |   /// An TeX-style block equation component.
 49 |   static let tex = EquationComponent(
    |              |- warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'tex' 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
 50 |     regex: #/\$\$\s*(.*?)\s*\$\$/#,
 51 |     terminatingRegex: #/\$\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:55:14: warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 53 |
 54 |   /// A block equation.
 55 |   static let block = EquationComponent(
    |              |- warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'block' 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
 56 |     regex: #/\\\[\s*(.*?)\s*\\\]/#,
 57 |     terminatingRegex: #/\\\]/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:61:14: warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 59 |
 60 |   /// A named equation component.
 61 |   static let named = EquationComponent(
    |              |- warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'named' 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
 62 |     regex: #/\\begin{equation}\s*(.*?)\s*\\end{equation}/#,
 63 |     terminatingRegex: #/\\end{equation}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:67:14: warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 65 |
 66 |   /// A named no number equation component.
 67 |   static let namedNoNumber = EquationComponent(
    |              |- warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'namedNoNumber' 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
 68 |     regex: #/\\begin{equation\*}\s*(.*?)\s*\\end{equation\*}/#,
 69 |     terminatingRegex: #/\\end{equation\*}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:73:14: warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 71 |
 72 |   // Order matters
 73 |   static let allEquations: [EquationComponent] = [
    |              |- warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'allEquations' 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
 74 |     inline,
 75 |     tex,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:157:23: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'isRendering' cannot cross actor boundary; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
155 |     displayScale: CGFloat
156 |   ) async {
157 |     let isRen = await isRendering
    |                       `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'isRendering' cannot cross actor boundary; this is an error in the Swift 6 language mode
158 |     let ren = await rendered
159 |     guard !isRen && !ren else {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:158:21: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'rendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
156 |   ) async {
157 |     let isRen = await isRendering
158 |     let ren = await rendered
    |                     `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'rendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
159 |     guard !isRen && !ren else {
160 |       return
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:163:7: warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
161 |     }
162 |     await MainActor.run {
163 |       isRendering = true
    |       `- warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |     }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:174:7: warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
172 |
173 |     await MainActor.run {
174 |       blocks = renderedBlocks
    |       `- warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |       isRendering = false
176 |       rendered = true
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:163:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
161 |     }
162 |     await MainActor.run {
163 |       isRendering = true
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
164 |     }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:174:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 |     await MainActor.run {
174 |       blocks = renderedBlocks
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 |       isRendering = false
176 |       rendered = true
[134/141] Compiling LaTeXSwiftUI Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:43:14: warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 41 |
 42 |   /// An inline equation component.
 43 |   static let inline = EquationComponent(
    |              |- warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'inline' 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
 44 |     regex: #/\$(.*?)\$/#,
 45 |     terminatingRegex: #/\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:49:14: warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 47 |
 48 |   /// An TeX-style block equation component.
 49 |   static let tex = EquationComponent(
    |              |- warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'tex' 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
 50 |     regex: #/\$\$\s*(.*?)\s*\$\$/#,
 51 |     terminatingRegex: #/\$\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:55:14: warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 53 |
 54 |   /// A block equation.
 55 |   static let block = EquationComponent(
    |              |- warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'block' 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
 56 |     regex: #/\\\[\s*(.*?)\s*\\\]/#,
 57 |     terminatingRegex: #/\\\]/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:61:14: warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 59 |
 60 |   /// A named equation component.
 61 |   static let named = EquationComponent(
    |              |- warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'named' 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
 62 |     regex: #/\\begin{equation}\s*(.*?)\s*\\end{equation}/#,
 63 |     terminatingRegex: #/\\end{equation}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:67:14: warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 65 |
 66 |   /// A named no number equation component.
 67 |   static let namedNoNumber = EquationComponent(
    |              |- warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'namedNoNumber' 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
 68 |     regex: #/\\begin{equation\*}\s*(.*?)\s*\\end{equation\*}/#,
 69 |     terminatingRegex: #/\\end{equation\*}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:73:14: warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 71 |
 72 |   // Order matters
 73 |   static let allEquations: [EquationComponent] = [
    |              |- warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'allEquations' 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
 74 |     inline,
 75 |     tex,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:157:23: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'isRendering' cannot cross actor boundary; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
155 |     displayScale: CGFloat
156 |   ) async {
157 |     let isRen = await isRendering
    |                       `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'isRendering' cannot cross actor boundary; this is an error in the Swift 6 language mode
158 |     let ren = await rendered
159 |     guard !isRen && !ren else {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:158:21: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'rendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
156 |   ) async {
157 |     let isRen = await isRendering
158 |     let ren = await rendered
    |                     `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'rendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
159 |     guard !isRen && !ren else {
160 |       return
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:163:7: warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
161 |     }
162 |     await MainActor.run {
163 |       isRendering = true
    |       `- warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |     }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:174:7: warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
172 |
173 |     await MainActor.run {
174 |       blocks = renderedBlocks
    |       `- warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |       isRendering = false
176 |       rendered = true
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:163:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
161 |     }
162 |     await MainActor.run {
163 |       isRendering = true
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
164 |     }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:174:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 |     await MainActor.run {
174 |       blocks = renderedBlocks
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 |       isRendering = false
176 |       rendered = true
[135/141] Compiling LaTeXSwiftUI Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:43:14: warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 41 |
 42 |   /// An inline equation component.
 43 |   static let inline = EquationComponent(
    |              |- warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'inline' 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
 44 |     regex: #/\$(.*?)\$/#,
 45 |     terminatingRegex: #/\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:49:14: warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 47 |
 48 |   /// An TeX-style block equation component.
 49 |   static let tex = EquationComponent(
    |              |- warning: static property 'tex' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'tex' 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
 50 |     regex: #/\$\$\s*(.*?)\s*\$\$/#,
 51 |     terminatingRegex: #/\$\$/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:55:14: warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 53 |
 54 |   /// A block equation.
 55 |   static let block = EquationComponent(
    |              |- warning: static property 'block' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'block' 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
 56 |     regex: #/\\\[\s*(.*?)\s*\\\]/#,
 57 |     terminatingRegex: #/\\\]/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:61:14: warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 59 |
 60 |   /// A named equation component.
 61 |   static let named = EquationComponent(
    |              |- warning: static property 'named' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'named' 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
 62 |     regex: #/\\begin{equation}\s*(.*?)\s*\\end{equation}/#,
 63 |     terminatingRegex: #/\\end{equation}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:67:14: warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 65 |
 66 |   /// A named no number equation component.
 67 |   static let namedNoNumber = EquationComponent(
    |              |- warning: static property 'namedNoNumber' is not concurrency-safe because non-'Sendable' type 'Parser.EquationComponent<(Substring, Substring), Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'namedNoNumber' 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
 68 |     regex: #/\\begin{equation\*}\s*(.*?)\s*\\end{equation\*}/#,
 69 |     terminatingRegex: #/\\end{equation\*}/#,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Parser.swift:73:14: warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 |   /// An equation component.
 34 |   struct EquationComponent<T, U> {
    |          `- note: consider making generic struct 'EquationComponent' conform to the 'Sendable' protocol
 35 |     let regex: Regex<T>
 36 |     let terminatingRegex: Regex<U>
    :
 71 |
 72 |   // Order matters
 73 |   static let allEquations: [EquationComponent] = [
    |              |- warning: static property 'allEquations' is not concurrency-safe because non-'Sendable' type '[Parser.EquationComponent<(Substring, Substring), Substring>]' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'allEquations' 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
 74 |     inline,
 75 |     tex,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:157:23: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'isRendering' cannot cross actor boundary; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
155 |     displayScale: CGFloat
156 |   ) async {
157 |     let isRen = await isRendering
    |                       `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'isRendering' cannot cross actor boundary; this is an error in the Swift 6 language mode
158 |     let ren = await rendered
159 |     guard !isRen && !ren else {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:158:21: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'rendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
156 |   ) async {
157 |     let isRen = await isRendering
158 |     let ren = await rendered
    |                     `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'rendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
159 |     guard !isRen && !ren else {
160 |       return
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:163:7: warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
161 |     }
162 |     await MainActor.run {
163 |       isRendering = true
    |       `- warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |     }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:174:7: warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 | /// Renders equation components and updates their rendered image and offset
 38 | /// values.
 39 | internal class Renderer: ObservableObject {
    |                `- note: class 'Renderer' does not conform to the 'Sendable' protocol
 40 |
 41 |   // MARK: Types
    :
172 |
173 |     await MainActor.run {
174 |       blocks = renderedBlocks
    |       `- warning: capture of 'self' with non-sendable type 'Renderer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |       isRendering = false
176 |       rendered = true
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Extensions/MathJax+Extensions.swift:31:14: warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | internal extension MathJax {
30 |
31 |   static var svgRenderer: MathJax? = {
   |              |- warning: static property 'svgRenderer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'svgRenderer' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'svgRenderer' 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
32 |     do {
33 |       return try MathJax(preferredOutputFormat: .svg)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:163:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
161 |     }
162 |     await MainActor.run {
163 |       isRendering = true
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
164 |     }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:174:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 |     await MainActor.run {
174 |       blocks = renderedBlocks
    |       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 |       isRendering = false
176 |       rendered = true
[136/141] Compiling LaTeXSwiftUI SVG.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:47:22: warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |   /// The SVG element regex.
 47 |   private static let svgRegex = #/<svg.*?>/#
    |                      |- warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'svgRegex' 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
 48 |
 49 |   /// The attribute regex.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:50:22: warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// The attribute regex.
 50 |   private static let attributeRegex = #/\w*:*\w+=".*?"/#
    |                      |- warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'attributeRegex' 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
 51 |
 52 |   // MARK: Public properties
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[137/141] Compiling LaTeXSwiftUI SVGGeometry.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:47:22: warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |   /// The SVG element regex.
 47 |   private static let svgRegex = #/<svg.*?>/#
    |                      |- warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'svgRegex' 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
 48 |
 49 |   /// The attribute regex.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:50:22: warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// The attribute regex.
 50 |   private static let attributeRegex = #/\w*:*\w+=".*?"/#
    |                      |- warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'attributeRegex' 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
 51 |
 52 |   // MARK: Public properties
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[138/141] Compiling LaTeXSwiftUI LaTeX_Previews+Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:47:22: warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |   /// The SVG element regex.
 47 |   private static let svgRegex = #/<svg.*?>/#
    |                      |- warning: static property 'svgRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'svgRegex' 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
 48 |
 49 |   /// The attribute regex.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/SVGGeometry.swift:50:22: warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// The attribute regex.
 50 |   private static let attributeRegex = #/\w*:*\w+=".*?"/#
    |                      |- warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'attributeRegex' 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
 51 |
 52 |   // MARK: Public properties
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[139/141] Compiling LaTeXSwiftUI LaTeX.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.parsingMode' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.errorMode' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.renderer' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
[140/141] Compiling LaTeXSwiftUI Aliases.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.parsingMode' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.errorMode' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.renderer' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
[141/141] Compiling LaTeXSwiftUI Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:80:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
 78 |
 79 |   /// The shared cache.
 80 |   static let shared = Cache()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' 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
 81 |
 82 |   // MARK: Public properties
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.parsingMode' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.errorMode' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:254:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
252 |   /// Renders the view's components.
253 |   private func renderAsync() async {
254 |     await renderer.render(
    |                    |- warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: sending main actor-isolated 'self.renderer' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 |       latex: latex,
256 |       unencodeHTML: unencodeHTML,
Build complete! (28.71s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "mathjaxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/colinc86/MathJaxSwift"
    },
    {
      "identity" : "svgview",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/exyte/SVGView"
    },
    {
      "identity" : "swift-html-entities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/swift-html-entities"
    }
  ],
  "manifest_display_name" : "LaTeXSwiftUI",
  "name" : "LaTeXSwiftUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "LaTeXSwiftUI",
      "targets" : [
        "LaTeXSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LaTeXSwiftUITests",
      "module_type" : "SwiftTarget",
      "name" : "LaTeXSwiftUITests",
      "path" : "Tests/LaTeXSwiftUITests",
      "sources" : [
        "GeometryTests.swift",
        "ParserTests.swift"
      ],
      "target_dependencies" : [
        "LaTeXSwiftUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LaTeXSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "LaTeXSwiftUI",
      "path" : "Sources/LaTeXSwiftUI",
      "product_dependencies" : [
        "MathJaxSwift",
        "SVGView",
        "HTMLEntities"
      ],
      "product_memberships" : [
        "LaTeXSwiftUI"
      ],
      "sources" : [
        "Extensions/CGRect+Extensions.swift",
        "Extensions/EnvironmentValues+Extensions.swift",
        "Extensions/Font+Extensions.swift",
        "Extensions/Image+Extensions.swift",
        "Extensions/ImageRenderer+Extensions.swift",
        "Extensions/MathJax+Extensions.swift",
        "Extensions/Range+Extensions.swift",
        "Extensions/TeXInputProcessorOptions+Extensions.swift",
        "Extensions/View+Extensions.swift",
        "LaTeX.swift",
        "Models/Aliases.swift",
        "Models/Cache.swift",
        "Models/Component.swift",
        "Models/Parser.swift",
        "Models/Renderer.swift",
        "Models/SVG.swift",
        "Models/SVGGeometry.swift",
        "Previews/LaTeX_Previews+Color.swift",
        "Previews/LaTeX_Previews+Modes.swift",
        "Previews/LaTeX_Previews+Numbers.swift",
        "Previews/LaTeX_Previews+Styles.swift",
        "Styles/DefaultLaTeXStyle.swift",
        "Styles/LaTeXStyle.swift",
        "Styles/StandardLaTeXStyle.swift",
        "Views/ComponentBlocksText.swift",
        "Views/ComponentBlocksViews.swift",
        "Views/EquationNumber.swift",
        "Views/HorizontalImageScroller.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.