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 main (c45e0f), with Swift 6.0 for macOS (SPM) on 11 Apr 2025 14:52:21 UTC.

Swift 6 data race errors: 9

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/colinc86/LaTeXSwiftUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/colinc86/LaTeXSwiftUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c45e0fd Update README version.
Cloned https://github.com/colinc86/LaTeXSwiftUI.git
Revision (git rev-parse @):
c45e0fd45f64923c49c5904a9f9626bc8939f05f
SUCCESS checkout https://github.com/colinc86/LaTeXSwiftUI.git at main
Fetching https://github.com/colinc86/MathJaxSwift
Fetching https://github.com/swhitty/SwiftDraw
Fetching https://github.com/Kitura/swift-html-entities
[1/1431] Fetching mathjaxswift
[16/7575] Fetching mathjaxswift, swiftdraw
[88/8238] Fetching mathjaxswift, swiftdraw, swift-html-entities
Fetched https://github.com/Kitura/swift-html-entities from cache (1.21s)
Fetched https://github.com/colinc86/MathJaxSwift from cache (1.21s)
Fetched https://github.com/swhitty/SwiftDraw from cache (1.21s)
Computing version for https://github.com/Kitura/swift-html-entities
Computed https://github.com/Kitura/swift-html-entities at 4.0.1 (0.56s)
Computing version for https://github.com/swhitty/SwiftDraw
Computed https://github.com/swhitty/SwiftDraw at 0.20.1 (0.57s)
Computing version for https://github.com/colinc86/MathJaxSwift
Computed https://github.com/colinc86/MathJaxSwift at 3.4.0 (0.57s)
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/swhitty/SwiftDraw
Working copy of https://github.com/swhitty/SwiftDraw resolved at 0.20.1
========================================
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": "swiftdraw",
          "name": "SwiftDraw",
          "url": "https://github.com/swhitty/SwiftDraw",
          "version": "0.20.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDraw",
          "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/1160] Fetching latexswiftui
Fetched https://github.com/colinc86/LaTeXSwiftUI.git from cache (0.90s)
Fetching https://github.com/colinc86/MathJaxSwift from cache
Fetching https://github.com/swhitty/SwiftDraw from cache
Fetching https://github.com/Kitura/swift-html-entities from cache
Fetched https://github.com/colinc86/MathJaxSwift from cache (0.46s)
Fetched https://github.com/swhitty/SwiftDraw from cache (0.46s)
Fetched https://github.com/Kitura/swift-html-entities from cache (0.46s)
Computing version for https://github.com/Kitura/swift-html-entities
Computed https://github.com/Kitura/swift-html-entities at 4.0.1 (0.03s)
Computing version for https://github.com/swhitty/SwiftDraw
Computed https://github.com/swhitty/SwiftDraw at 0.20.1 (0.03s)
Computing version for https://github.com/colinc86/MathJaxSwift
Computed https://github.com/colinc86/MathJaxSwift at 3.4.0 (0.03s)
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/swhitty/SwiftDraw
Working copy of https://github.com/swhitty/SwiftDraw resolved at 0.20.1
Creating working copy for https://github.com/colinc86/LaTeXSwiftUI.git
Working copy of https://github.com/colinc86/LaTeXSwiftUI.git resolved at main (c45e0fd)
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
  - SwiftDraw
  - HTMLEntities
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/colinc86/LaTeXSwiftUI.git
https://github.com/colinc86/LaTeXSwiftUI.git
{
  "dependencies" : [
    {
      "identity" : "mathjaxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/colinc86/MathJaxSwift"
    },
    {
      "identity" : "swiftdraw",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.20.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swhitty/SwiftDraw"
    },
    {
      "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" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.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",
        "SwiftDraw",
        "HTMLEntities"
      ],
      "product_memberships" : [
        "LaTeXSwiftUI"
      ],
      "sources" : [
        "Extensions/EnvironmentValues+Extensions.swift",
        "Extensions/Font+Extensions.swift",
        "Extensions/Image+Extensions.swift",
        "Extensions/MathJax+Extensions.swift",
        "Extensions/NSImage+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/ComponentBlock.swift",
        "Models/HashableCGRect.swift",
        "Models/HashableCGSize.swift",
        "Models/ImageContainer.swift",
        "Models/Parser.swift",
        "Models/Renderer.swift",
        "Models/SVG.swift",
        "Models/SVGGeometry.swift",
        "Previews/LaTeX_Previews+Color.swift",
        "Previews/LaTeX_Previews+Fonts.swift",
        "Previews/LaTeX_Previews+Modes.swift",
        "Previews/LaTeX_Previews+Numbers.swift",
        "Previews/LaTeX_Previews+Special.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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[4/6] Copying mjn
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/130] Compiling HTMLEntities Utilities.swift
[8/130] Compiling HTMLEntities String+HTMLEntities.swift
[9/130] Compiling HTMLEntities Constants.swift
[10/130] Emitting module HTMLEntities
[11/130] Compiling HTMLEntities ParseError.swift
[12/130] Emitting module MathJaxSwift
[13/134] Compiling SwiftDraw CGImage+Mask.swift
[14/134] Compiling SwiftDraw CGPath+Segment.swift
[15/134] Compiling SwiftDraw CGPattern+Closure.swift
[16/134] Compiling SwiftDraw CGTextRenderer+Code.swift
[17/134] Compiling SwiftDraw CommandLine+Process.swift
[18/134] Compiling SwiftDraw LayerTree.CommandOptimizer.swift
[19/134] Compiling SwiftDraw LayerTree.Gradient.swift
[20/134] Compiling SwiftDraw LayerTree.Image.swift
[21/134] Compiling SwiftDraw LayerTree.Layer.swift
[22/134] Compiling SwiftDraw LayerTree.Path+Bounds.swift
[23/134] Compiling SwiftDraw LayerTree.Path+Reversed.swift
[24/134] Compiling SwiftDraw LayerTree.Path+Subpath.swift
[25/134] Compiling SwiftDraw LayerTree.Path.swift
[26/134] Compiling SwiftDraw CommandLine.Arguments.swift
[27/134] Compiling SwiftDraw CommandLine.Configuration.swift
[28/134] Compiling SwiftDraw CommandLine.swift
[29/134] Compiling SwiftDraw CoordinateFormatter.swift
[30/134] Compiling SwiftDraw DOM.Color.swift
[31/134] Compiling SwiftDraw DOM.Element.swift
[32/134] Compiling SwiftDraw DOM.Filter.swift
[33/134] Compiling SwiftDraw DOM.Image.swift
[34/134] Compiling SwiftDraw DOM.LinearGradient.swift
[35/134] Compiling SwiftDraw DOM.SVG+Parse.swift
[36/134] Compiling SwiftDraw DOM.SVG.swift
[37/134] Compiling SwiftDraw DOM.Switch.swift
[38/134] Compiling SwiftDraw DOM.Text.swift
[39/134] Compiling SwiftDraw DOM.Use.swift
[40/134] Compiling SwiftDraw DOM.swift
[41/134] Compiling SwiftDraw LayerTree.Builder.Layer.swift
[42/134] Compiling SwiftDraw LayerTree.Builder.Path.Arc.swift
[43/134] Compiling SwiftDraw LayerTree.Builder.Path.swift
[44/134] Compiling SwiftDraw DOM.Path.swift
[45/134] Compiling SwiftDraw DOM.Pattern.swift
[46/134] Compiling SwiftDraw DOM.PresentationAttributes.swift
[47/134] Compiling SwiftDraw DOM.RadialGradient.swift
[48/134] Compiling SwiftDraw LayerTree.Builder.Shape.swift
[49/134] Compiling SwiftDraw LayerTree.Builder.Text.swift
[50/134] Compiling SwiftDraw LayerTree.Builder.swift
[51/134] Compiling SwiftDraw LayerTree.Color.swift
[52/134] Compiling SwiftDraw LayerTree.CommandGenerator.swift
[53/134] Compiling SwiftDraw Parser.XML.Attributes.swift
[54/134] Compiling SwiftDraw Parser.XML.Color.swift
[55/134] Compiling SwiftDraw Parser.XML.Element.swift
[56/134] Compiling SwiftDraw Parser.XML.Filter.swift
[57/134] Compiling SwiftDraw Parser.XML.Image.swift
[58/134] Compiling SwiftDraw Parser.XML.LinearGradient.swift
[59/134] Compiling SwiftDraw Parser.XML.Path.swift
[60/134] Compiling SwiftDraw Parser.XML.Pattern.swift
[70/142] Compiling MathJaxSwift CHTMLOutputProcessorOptions.swift
[71/142] Compiling MathJaxSwift OutputProcessorOptions.swift
[72/142] Compiling MathJaxSwift SVGOutputProcessorOptions.swift
[73/142] Compiling MathJaxSwift resource_bundle_accessor.swift
[100/142] Compiling SwiftDraw NSImage+SVG.swift
[101/142] Emitting module SwiftDraw
[111/142] Compiling SwiftDraw URL+Data.swift
[112/142] Compiling SwiftDraw URL+Fragment.swift
[113/142] Compiling SwiftDraw PairedSequence.swift
[114/142] Compiling SwiftDraw TextOutputStream+StandardError.swift
[115/142] Compiling SwiftDraw XML.Element.swift
[116/142] Compiling SwiftDraw XML.Formatter.SVG.swift
[117/142] Compiling SwiftDraw XML.Formatter.swift
[118/142] Compiling SwiftDraw XML.SAXParser.swift
[119/142] Compiling SwiftDraw Parser.XML.RadialGradient.swift
[120/142] Compiling SwiftDraw Parser.XML.SVG.swift
[121/142] Compiling SwiftDraw Parser.XML.Scanner.swift
[122/142] Compiling SwiftDraw Parser.XML.StyleSheet.swift
[123/142] Compiling SwiftDraw Parser.XML.Text.swift
[124/142] Compiling SwiftDraw Parser.XML.Transform.swift
[125/142] Compiling SwiftDraw Parser.XML.Use.swift
[126/142] Compiling SwiftDraw Parser.XML.swift
[127/142] Compiling SwiftDraw SVG+CoreGraphics.swift
[128/142] Compiling SwiftDraw SVG+Deprecated.swift
[129/142] Compiling SwiftDraw SVG+Hashable.swift
[130/142] Compiling SwiftDraw SVG+Insets.swift
[131/142] Compiling SwiftDraw SVG.swift
[132/142] Compiling SwiftDraw SVGView.swift
[133/142] Compiling SwiftDraw Stack.swift
[134/142] Compiling SwiftDraw UIImage+SVG.swift
[135/142] Compiling SwiftDraw Renderer.CGText+Path.swift
[136/142] Compiling SwiftDraw Renderer.CGText.swift
[137/142] Compiling SwiftDraw Renderer.CoreGraphics.swift
[138/142] Compiling SwiftDraw Renderer.LayerTree.swift
[139/142] Compiling SwiftDraw Renderer.SFSymbol+CGPath.swift
[140/142] Compiling SwiftDraw Renderer.SFSymbol.swift
[141/142] Compiling SwiftDraw Renderer.SVG.swift
[142/142] Compiling SwiftDraw Renderer.swift
[143/173] Compiling LaTeXSwiftUI LaTeX_Previews+Special.swift
[144/173] Compiling LaTeXSwiftUI LaTeX_Previews+Styles.swift
[145/173] Compiling LaTeXSwiftUI DefaultLaTeXStyle.swift
[146/176] Emitting module LaTeXSwiftUI
/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/EnvironmentValues+Extensions.swift:82:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | private struct PlatformFontKey: EnvironmentKey {
 82 |   static let defaultValue: _Font? = nil
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') 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
 83 | }
 84 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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
[147/176] Compiling LaTeXSwiftUI ComponentBlocksViews.swift
[148/176] Compiling LaTeXSwiftUI EquationNumber.swift
[149/176] Compiling LaTeXSwiftUI HorizontalImageScroller.swift
[150/176] Compiling LaTeXSwiftUI NSImage+Extensions.swift
[151/176] Compiling LaTeXSwiftUI Range+Extensions.swift
[152/176] Compiling LaTeXSwiftUI TeXInputProcessorOptions+Extensions.swift
[153/176] Compiling LaTeXSwiftUI View+Extensions.swift
[154/176] Compiling LaTeXSwiftUI ComponentBlock.swift
[155/176] Compiling LaTeXSwiftUI HashableCGRect.swift
[156/176] Compiling LaTeXSwiftUI HashableCGSize.swift
[157/176] Compiling LaTeXSwiftUI EnvironmentValues+Extensions.swift
/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/EnvironmentValues+Extensions.swift:82:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | private struct PlatformFontKey: EnvironmentKey {
 82 |   static let defaultValue: _Font? = nil
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') 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
 83 | }
 84 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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)
[158/176] Compiling LaTeXSwiftUI Font+Extensions.swift
/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/EnvironmentValues+Extensions.swift:82:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | private struct PlatformFontKey: EnvironmentKey {
 82 |   static let defaultValue: _Font? = nil
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') 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
 83 | }
 84 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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)
[159/176] Compiling LaTeXSwiftUI Image+Extensions.swift
/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/EnvironmentValues+Extensions.swift:82:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | private struct PlatformFontKey: EnvironmentKey {
 82 |   static let defaultValue: _Font? = nil
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') 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
 83 | }
 84 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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)
[160/176] Compiling LaTeXSwiftUI MathJax+Extensions.swift
/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/EnvironmentValues+Extensions.swift:82:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | private struct PlatformFontKey: EnvironmentKey {
 82 |   static let defaultValue: _Font? = nil
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '_Font?' (aka 'Optional<NSFont>') 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
 83 | }
 84 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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)
[161/176] Compiling LaTeXSwiftUI SVG.swift
[162/176] Compiling LaTeXSwiftUI SVGGeometry.swift
[163/176] Compiling LaTeXSwiftUI LaTeX_Previews+Color.swift
[164/176] Compiling LaTeXSwiftUI LaTeX_Previews+Fonts.swift
[165/176] Compiling LaTeXSwiftUI LaTeX_Previews+Modes.swift
[166/176] Compiling LaTeXSwiftUI LaTeX_Previews+Numbers.swift
[167/176] Compiling LaTeXSwiftUI ImageContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:83:9: warning: capture of 'self' with non-sendable type 'Renderer?' in a `@Sendable` closure
 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
    :
 81 |     set {
 82 |       parsedBlocksQueue.async(flags: .barrier) { [weak self] in
 83 |         self?._parsedBlocks = newValue
    |         `- warning: capture of 'self' with non-sendable type 'Renderer?' in a `@Sendable` closure
 84 |       }
 85 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:190: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
    :
188 |     renderingMode: SwiftUI.Image.TemplateRenderingMode
189 |   ) async {
190 |     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
191 |     let ren = await rendered
192 |     let renSync = await syncRendered
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:191: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
    :
189 |   ) async {
190 |     let isRen = await isRendering
191 |     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
192 |     let renSync = await syncRendered
193 |     guard !isRen && !ren && !renSync else {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:192:25: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'syncRendered' 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
    :
190 |     let isRen = await isRendering
191 |     let ren = await rendered
192 |     let renSync = await syncRendered
    |                         `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'syncRendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
193 |     guard !isRen && !ren && !renSync else {
194 |       return
/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:197:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
195 |     }
196 |     await MainActor.run {
197 |       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
198 |     }
199 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:209:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
207 |
208 |     await MainActor.run {
209 |       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
210 |       isRendering = false
211 |       rendered = true
[168/176] Compiling LaTeXSwiftUI Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:83:9: warning: capture of 'self' with non-sendable type 'Renderer?' in a `@Sendable` closure
 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
    :
 81 |     set {
 82 |       parsedBlocksQueue.async(flags: .barrier) { [weak self] in
 83 |         self?._parsedBlocks = newValue
    |         `- warning: capture of 'self' with non-sendable type 'Renderer?' in a `@Sendable` closure
 84 |       }
 85 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:190: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
    :
188 |     renderingMode: SwiftUI.Image.TemplateRenderingMode
189 |   ) async {
190 |     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
191 |     let ren = await rendered
192 |     let renSync = await syncRendered
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:191: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
    :
189 |   ) async {
190 |     let isRen = await isRendering
191 |     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
192 |     let renSync = await syncRendered
193 |     guard !isRen && !ren && !renSync else {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:192:25: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'syncRendered' 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
    :
190 |     let isRen = await isRendering
191 |     let ren = await rendered
192 |     let renSync = await syncRendered
    |                         `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'syncRendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
193 |     guard !isRen && !ren && !renSync else {
194 |       return
/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:197:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
195 |     }
196 |     await MainActor.run {
197 |       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
198 |     }
199 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:209:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
207 |
208 |     await MainActor.run {
209 |       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
210 |       isRendering = false
211 |       rendered = true
[169/176] Compiling LaTeXSwiftUI Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:83:9: warning: capture of 'self' with non-sendable type 'Renderer?' in a `@Sendable` closure
 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
    :
 81 |     set {
 82 |       parsedBlocksQueue.async(flags: .barrier) { [weak self] in
 83 |         self?._parsedBlocks = newValue
    |         `- warning: capture of 'self' with non-sendable type 'Renderer?' in a `@Sendable` closure
 84 |       }
 85 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:190: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
    :
188 |     renderingMode: SwiftUI.Image.TemplateRenderingMode
189 |   ) async {
190 |     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
191 |     let ren = await rendered
192 |     let renSync = await syncRendered
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:191: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
    :
189 |   ) async {
190 |     let isRen = await isRendering
191 |     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
192 |     let renSync = await syncRendered
193 |     guard !isRen && !ren && !renSync else {
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:192:25: warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'syncRendered' 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
    :
190 |     let isRen = await isRendering
191 |     let ren = await rendered
192 |     let renSync = await syncRendered
    |                         `- warning: non-sendable type 'Renderer' passed in implicitly asynchronous call to main actor-isolated property 'syncRendered' cannot cross actor boundary; this is an error in the Swift 6 language mode
193 |     guard !isRen && !ren && !renSync else {
194 |       return
/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:197:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
195 |     }
196 |     await MainActor.run {
197 |       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
198 |     }
199 |
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Renderer.swift:209:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
207 |
208 |     await MainActor.run {
209 |       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
210 |       isRendering = false
211 |       rendered = true
[170/176] 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 |   }
[171/176] 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 |   }
[172/176] Compiling LaTeXSwiftUI ComponentBlocksText.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 |   }
[173/176] 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/Models/Cache.swift:122:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
120 |   func setDataCacheValue(_ value: Data, for key: SVGCacheKey) {
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:123:57: warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
 59 |
 60 |   /// An SVG cache key.
 61 |   struct SVGCacheKey: CacheKey {
    |          `- note: consider making struct 'SVGCacheKey' conform to the 'Sendable' protocol
 62 |     static let keyType: String = "svg"
 63 |     let componentText: String
    :
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
124 |     }
125 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:145:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
143 |   func setImageCacheValue(_ value: _Image, for key: ImageCacheKey) {
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:146:33: warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
    |                                 `- warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
147 |     }
148 |   }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
[174/176] 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/Models/Cache.swift:122:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
120 |   func setDataCacheValue(_ value: Data, for key: SVGCacheKey) {
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:123:57: warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
 59 |
 60 |   /// An SVG cache key.
 61 |   struct SVGCacheKey: CacheKey {
    |          `- note: consider making struct 'SVGCacheKey' conform to the 'Sendable' protocol
 62 |     static let keyType: String = "svg"
 63 |     let componentText: String
    :
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
124 |     }
125 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:145:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
143 |   func setImageCacheValue(_ value: _Image, for key: ImageCacheKey) {
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:146:33: warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
    |                                 `- warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
147 |     }
148 |   }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
[175/176] 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/Models/Cache.swift:122:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
120 |   func setDataCacheValue(_ value: Data, for key: SVGCacheKey) {
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:123:57: warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
 59 |
 60 |   /// An SVG cache key.
 61 |   struct SVGCacheKey: CacheKey {
    |          `- note: consider making struct 'SVGCacheKey' conform to the 'Sendable' protocol
 62 |     static let keyType: String = "svg"
 63 |     let componentText: String
    :
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
124 |     }
125 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:145:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
143 |   func setImageCacheValue(_ value: _Image, for key: ImageCacheKey) {
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:146:33: warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
    |                                 `- warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
147 |     }
148 |   }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
[176/176] Compiling LaTeXSwiftUI Component.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/Models/Cache.swift:122:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
120 |   func setDataCacheValue(_ value: Data, for key: SVGCacheKey) {
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:123:57: warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
 59 |
 60 |   /// An SVG cache key.
 61 |   struct SVGCacheKey: CacheKey {
    |          `- note: consider making struct 'SVGCacheKey' conform to the 'Sendable' protocol
 62 |     static let keyType: String = "svg"
 63 |     let componentText: String
    :
121 |     dataCacheQueue.async(flags: .barrier) { [weak self] in
122 |       guard let self = self else { return }
123 |       self.dataCache.setObject(value as NSData, forKey: key.key() as NSString)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Cache.SVGCacheKey' in a `@Sendable` closure
124 |     }
125 |   }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:145:24: warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
 54 | }
 55 |
 56 | internal class Cache {
    |                `- note: class 'Cache' does not conform to the 'Sendable' protocol
 57 |
 58 |   // MARK: Types
    :
143 |   func setImageCacheValue(_ value: _Image, for key: ImageCacheKey) {
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
    |                        `- warning: capture of 'self' with non-sendable type 'Cache?' in a `@Sendable` closure
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/Models/Cache.swift:146:33: warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
144 |     imageCacheQueue.async(flags: .barrier) { [weak self] in
145 |       guard let self = self else { return }
146 |       self.imageCache.setObject(value, forKey: key.key() as NSString)
    |                                 `- warning: capture of 'value' with non-sendable type '_Image' (aka 'NSImage') in a `@Sendable` closure
147 |     }
148 |   }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.parsingMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.errorMode' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
/Users/admin/builder/spi-builder-workspace/Sources/LaTeXSwiftUI/LaTeX.swift:281:20: warning: sending 'self.renderer' risks causing data races; this is an error in the Swift 6 language mode
279 |   /// Renders the view's components.
280 |   private func renderAsync() async {
281 |     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
282 |       latex: latex,
283 |       unencodeHTML: unencodeHTML,
Build complete! (25.72s)
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" : "swiftdraw",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.20.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swhitty/SwiftDraw"
    },
    {
      "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" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.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",
        "SwiftDraw",
        "HTMLEntities"
      ],
      "product_memberships" : [
        "LaTeXSwiftUI"
      ],
      "sources" : [
        "Extensions/EnvironmentValues+Extensions.swift",
        "Extensions/Font+Extensions.swift",
        "Extensions/Image+Extensions.swift",
        "Extensions/MathJax+Extensions.swift",
        "Extensions/NSImage+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/ComponentBlock.swift",
        "Models/HashableCGRect.swift",
        "Models/HashableCGSize.swift",
        "Models/ImageContainer.swift",
        "Models/Parser.swift",
        "Models/Renderer.swift",
        "Models/SVG.swift",
        "Models/SVGGeometry.swift",
        "Previews/LaTeX_Previews+Color.swift",
        "Previews/LaTeX_Previews+Fonts.swift",
        "Previews/LaTeX_Previews+Modes.swift",
        "Previews/LaTeX_Previews+Numbers.swift",
        "Previews/LaTeX_Previews+Special.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.