The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DeckUI, reference main (5ebd26), with Swift 6.1 for macOS (SPM) on 18 Jul 2025 17:58:05 UTC.

Swift 6 data race errors: 6

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshdholtz/DeckUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/joshdholtz/DeckUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5ebd267 Add CLAUDE.md with project-specific rules for DeckUI
Cloned https://github.com/joshdholtz/DeckUI.git
Revision (git rev-parse @):
5ebd26758fa3037e2ac195d0409112db5e64f1ea
SUCCESS checkout https://github.com/joshdholtz/DeckUI.git at main
Fetching https://github.com/johnsundell/Splash.git
[1/2173] Fetching splash
Fetched https://github.com/johnsundell/Splash.git from cache (0.94s)
Computing version for https://github.com/johnsundell/Splash.git
Computed https://github.com/johnsundell/Splash.git at 0.16.0 (1.57s)
Creating working copy for https://github.com/johnsundell/Splash.git
Working copy of https://github.com/johnsundell/Splash.git resolved at 0.16.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "deckui",
      "name": "DeckUI",
      "url": "https://github.com/joshdholtz/DeckUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DeckUI",
      "dependencies": [
        {
          "identity": "splash",
          "name": "Splash",
          "url": "https://github.com/johnsundell/Splash.git",
          "version": "0.16.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Splash",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/joshdholtz/DeckUI.git
[1/704] Fetching deckui
Fetched https://github.com/joshdholtz/DeckUI.git from cache (1.09s)
Fetching https://github.com/johnsundell/Splash.git from cache
Fetched https://github.com/johnsundell/Splash.git from cache (0.46s)
Computing version for https://github.com/johnsundell/Splash.git
Computed https://github.com/johnsundell/Splash.git at 0.16.0 (0.51s)
Creating working copy for https://github.com/johnsundell/Splash.git
Working copy of https://github.com/johnsundell/Splash.git resolved at 0.16.0
Creating working copy for https://github.com/joshdholtz/DeckUI.git
Working copy of https://github.com/joshdholtz/DeckUI.git resolved at main (5ebd267)
warning: '.resolve-product-dependencies': dependency 'deckui' is not used by any target
Found 1 product dependencies
  - Splash
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/joshdholtz/DeckUI.git
https://github.com/joshdholtz/DeckUI.git
{
  "dependencies" : [
    {
      "identity" : "splash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.16.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/Splash.git"
    }
  ],
  "manifest_display_name" : "DeckUI",
  "name" : "DeckUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "DeckUI",
      "targets" : [
        "DeckUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeckUITests",
      "module_type" : "SwiftTarget",
      "name" : "DeckUITests",
      "path" : "Tests/DeckUITests",
      "sources" : [
        "DeckUITests.swift"
      ],
      "target_dependencies" : [
        "DeckUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeckUI",
      "module_type" : "SwiftTarget",
      "name" : "DeckUI",
      "path" : "Sources/DeckUI",
      "product_dependencies" : [
        "Splash"
      ],
      "product_memberships" : [
        "DeckUI"
      ],
      "sources" : [
        "Compatibility.swift",
        "DSL/ContentItem.swift",
        "DSL/ContentItems/Bullets.swift",
        "DSL/ContentItems/Code.swift",
        "DSL/ContentItems/Columns.swift",
        "DSL/ContentItems/Media.swift",
        "DSL/ContentItems/RawView.swift",
        "DSL/ContentItems/Title.swift",
        "DSL/ContentItems/Words.swift",
        "DSL/Deck.swift",
        "DSL/Slide.swift",
        "DSL/Theme.swift",
        "DeckUI.swift",
        "Deprecations.swift",
        "PresentationState.swift",
        "Syntax Highlight/CodeComponent.swift",
        "Syntax Highlight/CodeComponentFormat.swift",
        "Syntax Highlight/CodeTheme.swift",
        "Syntax Highlight/Grammar/NoGrammar.swift",
        "Syntax Highlight/ProgrammingLanguage.swift",
        "Views/CameraView.swift",
        "Views/Presenter.swift",
        "Views/PresenterNotesView.swift",
        "Views/SlideNavigation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/28] Emitting module Splash
[5/30] Compiling Splash TokenType.swift
[6/30] Compiling Splash Tokenizer.swift
[7/30] Compiling Splash String+IsNumber.swift
[8/30] Compiling Splash String+PrefixChecking.swift
[9/30] Compiling Splash String+Removing.swift
[10/30] Compiling Splash Sequence+AnyOf.swift
[11/30] Compiling Splash Sequence+Occurrences.swift
[12/30] Compiling Splash String+HTMLEntities.swift
[13/30] Compiling Splash OutputBuilder.swift
[14/30] Compiling Splash OutputFormat.swift
[15/30] Compiling Splash SyntaxHighlighter.swift
[16/30] Compiling Splash Theme.swift
[17/30] Compiling Splash Segment.swift
[18/30] Compiling Splash AttributedStringOutputFormat.swift
[19/30] Compiling Splash HTMLOutputFormat.swift
[20/30] Compiling Splash MarkdownDecorator.swift
[21/30] Compiling Splash SyntaxRule.swift
[22/30] Compiling Splash Color.swift
[23/30] Compiling Splash CharacterSet+Contains.swift
[24/30] Compiling Splash Equatable+AnyOf.swift
[25/30] Compiling Splash Int+IsOdd.swift
[26/30] Compiling Splash Substring+HasSuffix.swift
[27/30] Compiling Splash Grammar.swift
[28/30] Compiling Splash SwiftGrammar.swift
[29/30] Compiling Splash Font.swift
[30/30] Compiling Splash Theme+Defaults.swift
[31/53] Emitting module DeckUI
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:58:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 56 |
 57 | extension Theme {
 58 |     public static let standard: Theme = .black
    |                       |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     public static let dark: Theme = Theme(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:60:23: warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 58 |     public static let standard: Theme = .black
 59 |
 60 |     public static let dark: Theme = Theme(
    |                       |- warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dark' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |         background: Color(hex: "#221d29"),
 62 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:81:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 79 |     )
 80 |
 81 |     public static let black: Theme = Theme(
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |         background: Color(hex: "#000000"),
 83 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:105:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
103 |     )
104 |
105 |     public static let white: Theme = Theme(
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         background: Color(hex: "#FFFFFF"),
107 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/PresentationState.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PresentationState' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | open class PresentationState: ObservableObject {
    |            `- note: class 'PresentationState' does not conform to the 'Sendable' protocol
 11 |     static let shared = PresentationState()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PresentationState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     @Published var slideIndex = 0
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/Syntax Highlight/CodeTheme.swift:52:23: warning: static property 'xcodeDark' is not concurrency-safe because non-'Sendable' type 'CodeTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public struct CodeTheme {
   |               `- note: consider making struct 'CodeTheme' conform to the 'Sendable' protocol
12 |     public var font: SwiftUI.Font
13 |     public var plainTextColor: SwiftUI.Color
   :
50 |
51 | extension CodeTheme {
52 |     public static let xcodeDark: CodeTheme = CodeTheme(
   |                       |- warning: static property 'xcodeDark' is not concurrency-safe because non-'Sendable' type 'CodeTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'xcodeDark' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |         font: Font.system(size: 22, weight: .regular, design: .monospaced),
54 |         plainTextColor: Color(hex: "#FFFFFF"),
[32/55] Compiling DeckUI DeckUI.swift
[33/55] Compiling DeckUI Deprecations.swift
[34/55] Compiling DeckUI NoGrammar.swift
[35/55] Compiling DeckUI ProgrammingLanguage.swift
[36/55] Compiling DeckUI PresentationState.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/PresentationState.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PresentationState' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | open class PresentationState: ObservableObject {
    |            `- note: class 'PresentationState' does not conform to the 'Sendable' protocol
 11 |     static let shared = PresentationState()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PresentationState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     @Published var slideIndex = 0
 13 |
[37/55] Compiling DeckUI CodeComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/PresentationState.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PresentationState' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | open class PresentationState: ObservableObject {
    |            `- note: class 'PresentationState' does not conform to the 'Sendable' protocol
 11 |     static let shared = PresentationState()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PresentationState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     @Published var slideIndex = 0
 13 |
[38/55] Compiling DeckUI CodeComponentFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/Syntax Highlight/CodeTheme.swift:52:23: warning: static property 'xcodeDark' is not concurrency-safe because non-'Sendable' type 'CodeTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public struct CodeTheme {
   |               `- note: consider making struct 'CodeTheme' conform to the 'Sendable' protocol
12 |     public var font: SwiftUI.Font
13 |     public var plainTextColor: SwiftUI.Color
   :
50 |
51 | extension CodeTheme {
52 |     public static let xcodeDark: CodeTheme = CodeTheme(
   |                       |- warning: static property 'xcodeDark' is not concurrency-safe because non-'Sendable' type 'CodeTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'xcodeDark' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |         font: Font.system(size: 22, weight: .regular, design: .monospaced),
54 |         plainTextColor: Color(hex: "#FFFFFF"),
[39/55] Compiling DeckUI CodeTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/Syntax Highlight/CodeTheme.swift:52:23: warning: static property 'xcodeDark' is not concurrency-safe because non-'Sendable' type 'CodeTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public struct CodeTheme {
   |               `- note: consider making struct 'CodeTheme' conform to the 'Sendable' protocol
12 |     public var font: SwiftUI.Font
13 |     public var plainTextColor: SwiftUI.Color
   :
50 |
51 | extension CodeTheme {
52 |     public static let xcodeDark: CodeTheme = CodeTheme(
   |                       |- warning: static property 'xcodeDark' is not concurrency-safe because non-'Sendable' type 'CodeTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'xcodeDark' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |         font: Font.system(size: 22, weight: .regular, design: .monospaced),
54 |         plainTextColor: Color(hex: "#FFFFFF"),
[40/55] Compiling DeckUI PresenterNotesView.swift
[41/55] Compiling DeckUI SlideNavigation.swift
[42/55] Compiling DeckUI RawView.swift
[43/55] Compiling DeckUI Title.swift
[44/55] Compiling DeckUI Words.swift
[45/55] Compiling DeckUI Compatibility.swift
[46/55] Compiling DeckUI ContentItem.swift
[47/55] Compiling DeckUI Bullets.swift
[48/55] Compiling DeckUI Deck.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:58:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 56 |
 57 | extension Theme {
 58 |     public static let standard: Theme = .black
    |                       |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     public static let dark: Theme = Theme(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:60:23: warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 58 |     public static let standard: Theme = .black
 59 |
 60 |     public static let dark: Theme = Theme(
    |                       |- warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dark' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |         background: Color(hex: "#221d29"),
 62 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:81:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 79 |     )
 80 |
 81 |     public static let black: Theme = Theme(
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |         background: Color(hex: "#000000"),
 83 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:105:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
103 |     )
104 |
105 |     public static let white: Theme = Theme(
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         background: Color(hex: "#FFFFFF"),
107 |         title: Foreground(
[49/55] Compiling DeckUI Slide.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:58:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 56 |
 57 | extension Theme {
 58 |     public static let standard: Theme = .black
    |                       |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     public static let dark: Theme = Theme(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:60:23: warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 58 |     public static let standard: Theme = .black
 59 |
 60 |     public static let dark: Theme = Theme(
    |                       |- warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dark' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |         background: Color(hex: "#221d29"),
 62 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:81:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 79 |     )
 80 |
 81 |     public static let black: Theme = Theme(
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |         background: Color(hex: "#000000"),
 83 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:105:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
103 |     )
104 |
105 |     public static let white: Theme = Theme(
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         background: Color(hex: "#FFFFFF"),
107 |         title: Foreground(
[50/55] Compiling DeckUI Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:58:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 56 |
 57 | extension Theme {
 58 |     public static let standard: Theme = .black
    |                       |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     public static let dark: Theme = Theme(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:60:23: warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 58 |     public static let standard: Theme = .black
 59 |
 60 |     public static let dark: Theme = Theme(
    |                       |- warning: static property 'dark' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dark' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |         background: Color(hex: "#221d29"),
 62 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:81:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
 79 |     )
 80 |
 81 |     public static let black: Theme = Theme(
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |         background: Color(hex: "#000000"),
 83 |         title: Foreground(
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/Theme.swift:105:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct Theme {
    |               `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var title: Foreground
    :
103 |     )
104 |
105 |     public static let white: Theme = Theme(
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         background: Color(hex: "#FFFFFF"),
107 |         title: Foreground(
[51/55] Compiling DeckUI CameraView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/Views/CameraView.swift:143:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
141 |                     if granted {
142 |                         DispatchQueue.main.async {
143 |                             self?.isGranted = granted
    |                             |- 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
144 |                         }
145 |                     }
[52/55] Compiling DeckUI Presenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/Views/CameraView.swift:143:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
141 |                     if granted {
142 |                         DispatchQueue.main.async {
143 |                             self?.isGranted = granted
    |                             |- 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
144 |                         }
145 |                     }
[53/55] Compiling DeckUI Code.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: call to main actor-isolated initializer 'init(components:enableHighlight:theme:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 21 |     }
 22 |
 23 |     public func buildView(theme: Theme) -> AnyView {
    |                 `- note: add '@MainActor' to make instance method 'buildView(theme:)' part of global actor 'MainActor'
 24 |         let format = CodeComponentFormat()
 25 |         let highlighter = SyntaxHighlighter(format: format, grammar: self.language.grammar)
    :
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             `- warning: call to main actor-isolated initializer 'init(components:enableHighlight:theme:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 30 |         )
 31 |     }
    :
 47 |     }
 48 |
 49 |     init(components: [[CodeComponent]], enableHighlight: Bool, theme: Theme) {
    |     |- note: calls to initializer 'init(components:enableHighlight:theme:)' from outside of its actor context are implicitly asynchronous
    |     `- note: main actor isolation inferred from conformance to protocol 'View'
 50 |         self.components = components
 51 |         self.enableHighlight = enableHighlight
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Media.swift:50:21: warning: call to main actor-isolated initializer 'init(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |                     let url = Bundle.main.url(forResource: name, withExtension: nil)!
49 |                     let player = AVPlayer(url: url)
50 |                     VideoPlayer(player: player).task {
   |                     `- warning: call to main actor-isolated initializer 'init(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |                         await player.play()
52 |                     }
_AVKit_SwiftUI.VideoPlayer.init:2:35: note: calls to initializer 'init(player:)' from outside of its actor context are implicitly asynchronous
1 | generic struct VideoPlayer {
2 | @MainActor @preconcurrency public init(player: AVPlayer?)}
  |                                   `- note: calls to initializer 'init(player:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             |- warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'components' to main actor-isolated initializer 'init(components:enableHighlight:theme:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |         )
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: sending 'theme' risks causing data races; this is an error in the Swift 6 language mode
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             |- warning: sending 'theme' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'theme' to main actor-isolated initializer 'init(components:enableHighlight:theme:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |         )
 31 |     }
[54/55] Compiling DeckUI Columns.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: call to main actor-isolated initializer 'init(components:enableHighlight:theme:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 21 |     }
 22 |
 23 |     public func buildView(theme: Theme) -> AnyView {
    |                 `- note: add '@MainActor' to make instance method 'buildView(theme:)' part of global actor 'MainActor'
 24 |         let format = CodeComponentFormat()
 25 |         let highlighter = SyntaxHighlighter(format: format, grammar: self.language.grammar)
    :
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             `- warning: call to main actor-isolated initializer 'init(components:enableHighlight:theme:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 30 |         )
 31 |     }
    :
 47 |     }
 48 |
 49 |     init(components: [[CodeComponent]], enableHighlight: Bool, theme: Theme) {
    |     |- note: calls to initializer 'init(components:enableHighlight:theme:)' from outside of its actor context are implicitly asynchronous
    |     `- note: main actor isolation inferred from conformance to protocol 'View'
 50 |         self.components = components
 51 |         self.enableHighlight = enableHighlight
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Media.swift:50:21: warning: call to main actor-isolated initializer 'init(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |                     let url = Bundle.main.url(forResource: name, withExtension: nil)!
49 |                     let player = AVPlayer(url: url)
50 |                     VideoPlayer(player: player).task {
   |                     `- warning: call to main actor-isolated initializer 'init(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |                         await player.play()
52 |                     }
_AVKit_SwiftUI.VideoPlayer.init:2:35: note: calls to initializer 'init(player:)' from outside of its actor context are implicitly asynchronous
1 | generic struct VideoPlayer {
2 | @MainActor @preconcurrency public init(player: AVPlayer?)}
  |                                   `- note: calls to initializer 'init(player:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             |- warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'components' to main actor-isolated initializer 'init(components:enableHighlight:theme:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |         )
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: sending 'theme' risks causing data races; this is an error in the Swift 6 language mode
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             |- warning: sending 'theme' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'theme' to main actor-isolated initializer 'init(components:enableHighlight:theme:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |         )
 31 |     }
[55/55] Compiling DeckUI Media.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: call to main actor-isolated initializer 'init(components:enableHighlight:theme:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 21 |     }
 22 |
 23 |     public func buildView(theme: Theme) -> AnyView {
    |                 `- note: add '@MainActor' to make instance method 'buildView(theme:)' part of global actor 'MainActor'
 24 |         let format = CodeComponentFormat()
 25 |         let highlighter = SyntaxHighlighter(format: format, grammar: self.language.grammar)
    :
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             `- warning: call to main actor-isolated initializer 'init(components:enableHighlight:theme:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 30 |         )
 31 |     }
    :
 47 |     }
 48 |
 49 |     init(components: [[CodeComponent]], enableHighlight: Bool, theme: Theme) {
    |     |- note: calls to initializer 'init(components:enableHighlight:theme:)' from outside of its actor context are implicitly asynchronous
    |     `- note: main actor isolation inferred from conformance to protocol 'View'
 50 |         self.components = components
 51 |         self.enableHighlight = enableHighlight
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Media.swift:50:21: warning: call to main actor-isolated initializer 'init(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |                     let url = Bundle.main.url(forResource: name, withExtension: nil)!
49 |                     let player = AVPlayer(url: url)
50 |                     VideoPlayer(player: player).task {
   |                     `- warning: call to main actor-isolated initializer 'init(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |                         await player.play()
52 |                     }
_AVKit_SwiftUI.VideoPlayer.init:2:35: note: calls to initializer 'init(player:)' from outside of its actor context are implicitly asynchronous
1 | generic struct VideoPlayer {
2 | @MainActor @preconcurrency public init(player: AVPlayer?)}
  |                                   `- note: calls to initializer 'init(player:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             |- warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'components' to main actor-isolated initializer 'init(components:enableHighlight:theme:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |         )
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeckUI/DSL/ContentItems/Code.swift:29:13: warning: sending 'theme' risks causing data races; this is an error in the Swift 6 language mode
 27 |
 28 |         return AnyView(
 29 |             CodeView(components: components, enableHighlight: self.enableHighlight, theme: theme)
    |             |- warning: sending 'theme' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'theme' to main actor-isolated initializer 'init(components:enableHighlight:theme:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |         )
 31 |     }
Build complete! (15.58s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "splash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.16.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/Splash.git"
    }
  ],
  "manifest_display_name" : "DeckUI",
  "name" : "DeckUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "DeckUI",
      "targets" : [
        "DeckUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeckUITests",
      "module_type" : "SwiftTarget",
      "name" : "DeckUITests",
      "path" : "Tests/DeckUITests",
      "sources" : [
        "DeckUITests.swift"
      ],
      "target_dependencies" : [
        "DeckUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeckUI",
      "module_type" : "SwiftTarget",
      "name" : "DeckUI",
      "path" : "Sources/DeckUI",
      "product_dependencies" : [
        "Splash"
      ],
      "product_memberships" : [
        "DeckUI"
      ],
      "sources" : [
        "Compatibility.swift",
        "DSL/ContentItem.swift",
        "DSL/ContentItems/Bullets.swift",
        "DSL/ContentItems/Code.swift",
        "DSL/ContentItems/Columns.swift",
        "DSL/ContentItems/Media.swift",
        "DSL/ContentItems/RawView.swift",
        "DSL/ContentItems/Title.swift",
        "DSL/ContentItems/Words.swift",
        "DSL/Deck.swift",
        "DSL/Slide.swift",
        "DSL/Theme.swift",
        "DeckUI.swift",
        "Deprecations.swift",
        "PresentationState.swift",
        "Syntax Highlight/CodeComponent.swift",
        "Syntax Highlight/CodeComponentFormat.swift",
        "Syntax Highlight/CodeTheme.swift",
        "Syntax Highlight/Grammar/NoGrammar.swift",
        "Syntax Highlight/ProgrammingLanguage.swift",
        "Views/CameraView.swift",
        "Views/Presenter.swift",
        "Views/PresenterNotesView.swift",
        "Views/SlideNavigation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.