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 Chip8iEmulationCore, reference v0.9.9 (ef247b), with Swift 6.0 for macOS (SPM) on 25 Feb 2025 22:05:41 UTC.

Swift 6 data race errors: 2

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/danijelLoc/Chip8iEmulationCore.git
Reference: v0.9.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danijelLoc/Chip8iEmulationCore
 * tag               v0.9.9     -> FETCH_HEAD
HEAD is now at ef247bb Merge pull request #9 Chip8 operations command pattern, sound handling moved to core
Cloned https://github.com/danijelLoc/Chip8iEmulationCore.git
Revision (git rev-parse @):
ef247bb41ea303cd594fd854dcc98c8873673c4f
SUCCESS checkout https://github.com/danijelLoc/Chip8iEmulationCore.git at v0.9.9
========================================
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": "chip8iemulationcore",
      "name": "Chip8iEmulationCore",
      "url": "https://github.com/danijelLoc/Chip8iEmulationCore.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chip8iEmulationCore",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/danijelLoc/Chip8iEmulationCore.git
[1/529] Fetching chip8iemulationcore
Fetched https://github.com/danijelLoc/Chip8iEmulationCore.git from cache (0.96s)
Creating working copy for https://github.com/danijelLoc/Chip8iEmulationCore.git
Working copy of https://github.com/danijelLoc/Chip8iEmulationCore.git resolved at v0.9.9 (ef247bb)
warning: '.resolve-product-dependencies': dependency 'chip8iemulationcore' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/danijelLoc/Chip8iEmulationCore.git
https://github.com/danijelLoc/Chip8iEmulationCore.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Chip8iEmulationCore",
  "name" : "Chip8iEmulationCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Chip8iEmulationCore",
      "targets" : [
        "Chip8iEmulationCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Chip8iEmulationCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "Chip8iEmulationCoreTests",
      "path" : "Tests/Chip8iEmulationCoreTests",
      "sources" : [
        "Chip8EmuCoreTests.swift",
        "Chip8OperationParserTests.swift",
        "Chip8SystemTests.swift"
      ],
      "target_dependencies" : [
        "Chip8iEmulationCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Chip8iEmulationCore",
      "module_type" : "SwiftTarget",
      "name" : "Chip8iEmulationCore",
      "path" : "Sources/Chip8iEmulationCore",
      "product_memberships" : [
        "Chip8iEmulationCore"
      ],
      "sources" : [
        "Chip8EmulationCore.swift",
        "Chip8EmulationCoreProtocol.swift",
        "Chip8Operation/Chip8Operation.swift",
        "Chip8Operation/Chip8OperationParser.swift",
        "Chip8Operation/Chip8Program+Examples.swift",
        "Chip8Operation/Chip8Program.swift",
        "Chip8System.swift",
        "Chip8SystemState.swift",
        "EmulationUtils/EmulationControls.swift",
        "EmulationUtils/EmulationError.swift",
        "EmulationUtils/EmulationLogger.swift",
        "EmulationUtils/EmulationState.swift",
        "EmulationUtils/ExtensionsAndConstants.swift",
        "EmulationUtils/PlayingInfo.swift",
        "SoundHandler/PrerecordedSoundHandler.swift",
        "SoundHandler/SoundHandlerProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/18] Compiling Chip8iEmulationCore PlayingInfo.swift
[4/19] Compiling Chip8iEmulationCore SoundHandlerProtocol.swift
[5/19] Compiling Chip8iEmulationCore Chip8System.swift
[6/19] Compiling Chip8iEmulationCore Chip8SystemState.swift
[7/19] Compiling Chip8iEmulationCore EmulationControls.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/EmulationUtils/EmulationControls.swift:50:23: warning: static property 'StandardLayout' is not concurrency-safe because non-'Sendable' type '[[Chip8Key]]' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// A 0 B F
25 | /// ```
26 | public enum Chip8Key: UByte, CaseIterable, Equatable {
   |             `- note: consider making enum 'Chip8Key' conform to the 'Sendable' protocol
27 |     case Zero = 0x0
28 |     case One = 0x1
   :
48 |
49 |
50 |     public static let StandardLayout: [[Chip8Key]] = [
   |                       |- warning: static property 'StandardLayout' is not concurrency-safe because non-'Sendable' type '[[Chip8Key]]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'StandardLayout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |         [.One, .Two, .Three, .C],
52 |         [.Four, .Five, .Six, .D],
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/EmulationUtils/EmulationControls.swift:74:23: warning: static property 'StandardKeyboardBinding' is not concurrency-safe because non-'Sendable' type '[Character : Chip8Key]' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// A 0 B F
25 | /// ```
26 | public enum Chip8Key: UByte, CaseIterable, Equatable {
   |             `- note: consider making enum 'Chip8Key' conform to the 'Sendable' protocol
27 |     case Zero = 0x0
28 |     case One = 0x1
   :
72 |     /// A 0 B F
73 |     ///```
74 |     public static let StandardKeyboardBinding:
   |                       |- warning: static property 'StandardKeyboardBinding' is not concurrency-safe because non-'Sendable' type '[Character : Chip8Key]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'StandardKeyboardBinding' 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
75 |         [Character: Chip8Key] = [
76 |             "1": .One, "2": .Two, "3": .Three, "4": .C,
[8/19] Compiling Chip8iEmulationCore EmulationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/EmulationUtils/EmulationControls.swift:50:23: warning: static property 'StandardLayout' is not concurrency-safe because non-'Sendable' type '[[Chip8Key]]' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// A 0 B F
25 | /// ```
26 | public enum Chip8Key: UByte, CaseIterable, Equatable {
   |             `- note: consider making enum 'Chip8Key' conform to the 'Sendable' protocol
27 |     case Zero = 0x0
28 |     case One = 0x1
   :
48 |
49 |
50 |     public static let StandardLayout: [[Chip8Key]] = [
   |                       |- warning: static property 'StandardLayout' is not concurrency-safe because non-'Sendable' type '[[Chip8Key]]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'StandardLayout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |         [.One, .Two, .Three, .C],
52 |         [.Four, .Five, .Six, .D],
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/EmulationUtils/EmulationControls.swift:74:23: warning: static property 'StandardKeyboardBinding' is not concurrency-safe because non-'Sendable' type '[Character : Chip8Key]' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// A 0 B F
25 | /// ```
26 | public enum Chip8Key: UByte, CaseIterable, Equatable {
   |             `- note: consider making enum 'Chip8Key' conform to the 'Sendable' protocol
27 |     case Zero = 0x0
28 |     case One = 0x1
   :
72 |     /// A 0 B F
73 |     ///```
74 |     public static let StandardKeyboardBinding:
   |                       |- warning: static property 'StandardKeyboardBinding' is not concurrency-safe because non-'Sendable' type '[Character : Chip8Key]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'StandardKeyboardBinding' 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
75 |         [Character: Chip8Key] = [
76 |             "1": .One, "2": .Two, "3": .Three, "4": .C,
[9/19] Compiling Chip8iEmulationCore ExtensionsAndConstants.swift
[10/19] Emitting module Chip8iEmulationCore
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/EmulationUtils/EmulationControls.swift:50:23: warning: static property 'StandardLayout' is not concurrency-safe because non-'Sendable' type '[[Chip8Key]]' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// A 0 B F
25 | /// ```
26 | public enum Chip8Key: UByte, CaseIterable, Equatable {
   |             `- note: consider making enum 'Chip8Key' conform to the 'Sendable' protocol
27 |     case Zero = 0x0
28 |     case One = 0x1
   :
48 |
49 |
50 |     public static let StandardLayout: [[Chip8Key]] = [
   |                       |- warning: static property 'StandardLayout' is not concurrency-safe because non-'Sendable' type '[[Chip8Key]]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'StandardLayout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |         [.One, .Two, .Three, .C],
52 |         [.Four, .Five, .Six, .D],
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/EmulationUtils/EmulationControls.swift:74:23: warning: static property 'StandardKeyboardBinding' is not concurrency-safe because non-'Sendable' type '[Character : Chip8Key]' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// A 0 B F
25 | /// ```
26 | public enum Chip8Key: UByte, CaseIterable, Equatable {
   |             `- note: consider making enum 'Chip8Key' conform to the 'Sendable' protocol
27 |     case Zero = 0x0
28 |     case One = 0x1
   :
72 |     /// A 0 B F
73 |     ///```
74 |     public static let StandardKeyboardBinding:
   |                       |- warning: static property 'StandardKeyboardBinding' is not concurrency-safe because non-'Sendable' type '[Character : Chip8Key]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'StandardKeyboardBinding' 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
75 |         [Character: Chip8Key] = [
76 |             "1": .One, "2": .Two, "3": .Three, "4": .C,
[11/19] Compiling Chip8iEmulationCore EmulationLogger.swift
[12/19] Compiling Chip8iEmulationCore EmulationState.swift
[13/19] Compiling Chip8iEmulationCore Chip8EmulationCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:79:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 77 |     public func emulate(_ program: Chip8Program) async {
 78 |         do {
 79 |             await resetPublishers()
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'resetPublishers()' risks causing data races between main actor-isolated and task-isolated uses
 80 |             self.system = Chip8System(parser: opCodeParser, logger: logger)  // Reset the system
 81 |             self.program = program
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:88:69: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 86 |             system.loadProgram(program.contentROM)
 87 |
 88 |             emulationTask = Task.detached(priority: .userInitiated) {
    |                                                                     `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 89 |                 try await self.emulationLoop(program: program)
    |                           `- note: closure captures 'self' which is accessible to code in the current task
 90 |             }
 91 |             try await emulationTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:97:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 95 |                 "Stopping the emulation because error was thrown: \(error). Debug information sent to publishers.",
 96 |                 level: .error)
 97 |             await publishDebugInfo(error: error)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
 98 |             await publishSoundAndScreenOutput()
 99 |             return
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:98:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 96 |                 level: .error)
 97 |             await publishDebugInfo(error: error)
 98 |             await publishSoundAndScreenOutput()
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishSoundAndScreenOutput()' risks causing data races between main actor-isolated and task-isolated uses
 99 |             return
100 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:104:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
102 |
103 |     private func emulationLoop(program: Chip8Program) async throws {
104 |         await publishDebugInfo()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
105 |         await publishSoundAndScreenOutput()
106 |
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:105:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
103 |     private func emulationLoop(program: Chip8Program) async throws {
104 |         await publishDebugInfo()
105 |         await publishSoundAndScreenOutput()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishSoundAndScreenOutput()' risks causing data races between main actor-isolated and task-isolated uses
106 |
107 |         let targetFrameTime = 1.0 / Double(systemScreenAndTimersFrequency)
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:119:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
117 |
118 |                 try system.emulateSingleCycle()
119 |                 await publishDebugInfo()
    |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
120 |             }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:134:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 |             system.decreaseSoundTimer()
133 |
134 |             await publishSoundAndScreenOutput()
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishSoundAndScreenOutput()' risks causing data races between main actor-isolated and task-isolated uses
135 |         }
136 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:148:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
146 |     public func togglePause() async {
147 |         isPlaying = !isPlaying
148 |         await publishDebugInfo()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
149 |     }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:162:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
160 |         emulationTask?.cancel()
161 |         system.reset()
162 |         await resetPublishers()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'resetPublishers()' risks causing data races between main actor-isolated and task-isolated uses
163 |     }
164 |
[14/19] Compiling Chip8iEmulationCore Chip8EmulationCoreProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:79:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 77 |     public func emulate(_ program: Chip8Program) async {
 78 |         do {
 79 |             await resetPublishers()
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'resetPublishers()' risks causing data races between main actor-isolated and task-isolated uses
 80 |             self.system = Chip8System(parser: opCodeParser, logger: logger)  // Reset the system
 81 |             self.program = program
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:88:69: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 86 |             system.loadProgram(program.contentROM)
 87 |
 88 |             emulationTask = Task.detached(priority: .userInitiated) {
    |                                                                     `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 89 |                 try await self.emulationLoop(program: program)
    |                           `- note: closure captures 'self' which is accessible to code in the current task
 90 |             }
 91 |             try await emulationTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:97:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 95 |                 "Stopping the emulation because error was thrown: \(error). Debug information sent to publishers.",
 96 |                 level: .error)
 97 |             await publishDebugInfo(error: error)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
 98 |             await publishSoundAndScreenOutput()
 99 |             return
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:98:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 96 |                 level: .error)
 97 |             await publishDebugInfo(error: error)
 98 |             await publishSoundAndScreenOutput()
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishSoundAndScreenOutput()' risks causing data races between main actor-isolated and task-isolated uses
 99 |             return
100 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:104:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
102 |
103 |     private func emulationLoop(program: Chip8Program) async throws {
104 |         await publishDebugInfo()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
105 |         await publishSoundAndScreenOutput()
106 |
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:105:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
103 |     private func emulationLoop(program: Chip8Program) async throws {
104 |         await publishDebugInfo()
105 |         await publishSoundAndScreenOutput()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishSoundAndScreenOutput()' risks causing data races between main actor-isolated and task-isolated uses
106 |
107 |         let targetFrameTime = 1.0 / Double(systemScreenAndTimersFrequency)
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:119:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
117 |
118 |                 try system.emulateSingleCycle()
119 |                 await publishDebugInfo()
    |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
120 |             }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:134:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 |             system.decreaseSoundTimer()
133 |
134 |             await publishSoundAndScreenOutput()
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishSoundAndScreenOutput()' risks causing data races between main actor-isolated and task-isolated uses
135 |         }
136 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:148:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
146 |     public func togglePause() async {
147 |         isPlaying = !isPlaying
148 |         await publishDebugInfo()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'publishDebugInfo(error:)' risks causing data races between main actor-isolated and task-isolated uses
149 |     }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Chip8iEmulationCore/Chip8EmulationCore.swift:162:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
160 |         emulationTask?.cancel()
161 |         system.reset()
162 |         await resetPublishers()
    |               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: sending task-isolated 'self' to main actor-isolated instance method 'resetPublishers()' risks causing data races between main actor-isolated and task-isolated uses
163 |     }
164 |
[15/19] Compiling Chip8iEmulationCore Chip8Operation.swift
[16/19] Compiling Chip8iEmulationCore Chip8OperationParser.swift
[17/19] Compiling Chip8iEmulationCore Chip8Program+Examples.swift
[18/19] Compiling Chip8iEmulationCore Chip8Program.swift
[19/19] Compiling Chip8iEmulationCore PrerecordedSoundHandler.swift
Build complete! (15.98s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Chip8iEmulationCore",
  "name" : "Chip8iEmulationCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Chip8iEmulationCore",
      "targets" : [
        "Chip8iEmulationCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Chip8iEmulationCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "Chip8iEmulationCoreTests",
      "path" : "Tests/Chip8iEmulationCoreTests",
      "sources" : [
        "Chip8EmuCoreTests.swift",
        "Chip8OperationParserTests.swift",
        "Chip8SystemTests.swift"
      ],
      "target_dependencies" : [
        "Chip8iEmulationCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Chip8iEmulationCore",
      "module_type" : "SwiftTarget",
      "name" : "Chip8iEmulationCore",
      "path" : "Sources/Chip8iEmulationCore",
      "product_memberships" : [
        "Chip8iEmulationCore"
      ],
      "sources" : [
        "Chip8EmulationCore.swift",
        "Chip8EmulationCoreProtocol.swift",
        "Chip8Operation/Chip8Operation.swift",
        "Chip8Operation/Chip8OperationParser.swift",
        "Chip8Operation/Chip8Program+Examples.swift",
        "Chip8Operation/Chip8Program.swift",
        "Chip8System.swift",
        "Chip8SystemState.swift",
        "EmulationUtils/EmulationControls.swift",
        "EmulationUtils/EmulationError.swift",
        "EmulationUtils/EmulationLogger.swift",
        "EmulationUtils/EmulationState.swift",
        "EmulationUtils/ExtensionsAndConstants.swift",
        "EmulationUtils/PlayingInfo.swift",
        "SoundHandler/PrerecordedSoundHandler.swift",
        "SoundHandler/SoundHandlerProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.