Build Information
Successful build of IndustrialKit, reference 3.0.7 (5c45e9
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:31:21 UTC.
Swift 6 data race errors: 22
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
2154 |
2155 | /// Tool node category bit mask.
2156 | public static var tool_bit_mask = 4
| |- warning: static property 'tool_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tool_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2157 |
2158 | /// Part node category bit mask.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2159:23: warning: static property 'part_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2157 |
2158 | /// Part node category bit mask.
2159 | public static var part_bit_mask = 6
| |- warning: static property 'part_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'part_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'part_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2160 |
2161 | /// Connects and places objects to workspace scene.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:125:9: 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
123 |
124 | update_task = Task
125 | {
| `- 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
126 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
127 | {
128 | try? await Task.sleep(nanoseconds: Workspace.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:131:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
129 | await MainActor.run
130 | {
131 | self.update()
| |- 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
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:346:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
344 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5)
345 | {
346 | self.in_visual_edit_mode = false
| |- 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
347 | }
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:361:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
359 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5)
360 | {
361 | self.in_visual_edit_mode = false
| |- 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
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:1521:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1519 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) // Delayed view update
1520 | {
1521 | self.update_view()
| |- 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
1522 | }
1523 |
[26/51] Compiling IndustrialKit Workspace.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:113:23: warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 |
112 | /// The interval between updates in nanoseconds.
113 | public static var update_interval: UInt64 = 1_000_000_0
| |- warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'update_interval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'update_interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:203:23: warning: static property 'workcell_scene_address' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | /// A workcell scene adress.
203 | public static var workcell_scene_address = String()
| |- warning: static property 'workcell_scene_address' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'workcell_scene_address' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'workcell_scene_address' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Gets new object node model for previewing position.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:1679:23: warning: static property 'default_registers_count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1677 |
1678 | /// A default count of data registers for workspace.
1679 | public static var default_registers_count = 256
| |- warning: static property 'default_registers_count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_registers_count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_registers_count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1680 |
1681 | /// An array of data registers of workspace.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2153:23: warning: static property 'robot_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2151 |
2152 | /// Robot node category bit mask.
2153 | public static var robot_bit_mask = 2
| |- warning: static property 'robot_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'robot_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'robot_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2154 |
2155 | /// Tool node category bit mask.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2156:23: warning: static property 'tool_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2154 |
2155 | /// Tool node category bit mask.
2156 | public static var tool_bit_mask = 4
| |- warning: static property 'tool_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tool_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2157 |
2158 | /// Part node category bit mask.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2159:23: warning: static property 'part_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2157 |
2158 | /// Part node category bit mask.
2159 | public static var part_bit_mask = 6
| |- warning: static property 'part_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'part_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'part_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2160 |
2161 | /// Connects and places objects to workspace scene.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:125:9: 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
123 |
124 | update_task = Task
125 | {
| `- 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
126 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
127 | {
128 | try? await Task.sleep(nanoseconds: Workspace.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:131:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
129 | await MainActor.run
130 | {
131 | self.update()
| |- 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
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:346:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
344 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5)
345 | {
346 | self.in_visual_edit_mode = false
| |- 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
347 | }
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:361:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
359 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5)
360 | {
361 | self.in_visual_edit_mode = false
| |- 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
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:1521:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1519 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) // Delayed view update
1520 | {
1521 | self.update_view()
| |- 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
1522 | }
1523 |
[27/51] Compiling IndustrialKit ChangerModule.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:113:23: warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 |
112 | /// The interval between updates in nanoseconds.
113 | public static var update_interval: UInt64 = 1_000_000_0
| |- warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'update_interval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'update_interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:203:23: warning: static property 'workcell_scene_address' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | /// A workcell scene adress.
203 | public static var workcell_scene_address = String()
| |- warning: static property 'workcell_scene_address' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'workcell_scene_address' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'workcell_scene_address' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Gets new object node model for previewing position.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:1679:23: warning: static property 'default_registers_count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1677 |
1678 | /// A default count of data registers for workspace.
1679 | public static var default_registers_count = 256
| |- warning: static property 'default_registers_count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_registers_count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_registers_count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1680 |
1681 | /// An array of data registers of workspace.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2153:23: warning: static property 'robot_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2151 |
2152 | /// Robot node category bit mask.
2153 | public static var robot_bit_mask = 2
| |- warning: static property 'robot_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'robot_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'robot_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2154 |
2155 | /// Tool node category bit mask.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2156:23: warning: static property 'tool_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2154 |
2155 | /// Tool node category bit mask.
2156 | public static var tool_bit_mask = 4
| |- warning: static property 'tool_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tool_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2157 |
2158 | /// Part node category bit mask.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:2159:23: warning: static property 'part_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2157 |
2158 | /// Part node category bit mask.
2159 | public static var part_bit_mask = 6
| |- warning: static property 'part_bit_mask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'part_bit_mask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'part_bit_mask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2160 |
2161 | /// Connects and places objects to workspace scene.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:125:9: 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
123 |
124 | update_task = Task
125 | {
| `- 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
126 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
127 | {
128 | try? await Task.sleep(nanoseconds: Workspace.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:131:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
129 | await MainActor.run
130 | {
131 | self.update()
| |- 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
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:346:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
344 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5)
345 | {
346 | self.in_visual_edit_mode = false
| |- 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
347 | }
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:361:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
359 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5)
360 | {
361 | self.in_visual_edit_mode = false
| |- 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
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Workspace.swift:1521:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1519 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) // Delayed view update
1520 | {
1521 | self.update_view()
| |- 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
1522 | }
1523 |
[28/51] Compiling IndustrialKit ObjectSceneView.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:211:21: warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
| `- note: property declared here
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
20 |
:
207 | }
208 |
209 | public func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval)
| `- note: add '@MainActor' to make instance method 'renderer(_:updateAtTime:)' part of global actor 'MainActor'
210 | {
211 | control.on_render(scn_view)
| `- warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 | }
213 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:222:21: warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
| `- note: property declared here
20 |
21 | private var transparent: Bool
:
218 | #endif
219 |
220 | @objc func handle_tap(_ gesture_recognize: UITapGestureRecognizer)
| `- note: add '@MainActor' to make instance method 'handle_tap' part of global actor 'MainActor'
221 | {
222 | control.on_tap(gesture_recognize, scn_view)
| `- warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 | }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:84: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:174: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:237:30: warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
237 | scn_view.defaultCameraController.pointOfView?.runAction(
| `- warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 | reset_action, completionHandler: { self.on_reset_view = false })
239 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:115:62: note: property declared here
113 | @abstract Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
114 | */
115 | @property(nonnull, nonatomic, readonly) SCNCameraController* defaultCameraController API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
| `- note: property declared here
116 |
117 | /*!
[29/51] Compiling IndustrialKit PositionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:211:21: warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
| `- note: property declared here
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
20 |
:
207 | }
208 |
209 | public func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval)
| `- note: add '@MainActor' to make instance method 'renderer(_:updateAtTime:)' part of global actor 'MainActor'
210 | {
211 | control.on_render(scn_view)
| `- warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 | }
213 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:222:21: warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
| `- note: property declared here
20 |
21 | private var transparent: Bool
:
218 | #endif
219 |
220 | @objc func handle_tap(_ gesture_recognize: UITapGestureRecognizer)
| `- note: add '@MainActor' to make instance method 'handle_tap' part of global actor 'MainActor'
221 | {
222 | control.on_tap(gesture_recognize, scn_view)
| `- warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 | }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:84: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:174: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:237:30: warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
237 | scn_view.defaultCameraController.pointOfView?.runAction(
| `- warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 | reset_action, completionHandler: { self.on_reset_view = false })
239 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:115:62: note: property declared here
113 | @abstract Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
114 | */
115 | @property(nonnull, nonatomic, readonly) SCNCameraController* defaultCameraController API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
| `- note: property declared here
116 |
117 | /*!
[30/51] Compiling IndustrialKit LogicElementsViews.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:211:21: warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
| `- note: property declared here
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
20 |
:
207 | }
208 |
209 | public func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval)
| `- note: add '@MainActor' to make instance method 'renderer(_:updateAtTime:)' part of global actor 'MainActor'
210 | {
211 | control.on_render(scn_view)
| `- warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 | }
213 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:222:21: warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
| `- note: property declared here
20 |
21 | private var transparent: Bool
:
218 | #endif
219 |
220 | @objc func handle_tap(_ gesture_recognize: UITapGestureRecognizer)
| `- note: add '@MainActor' to make instance method 'handle_tap' part of global actor 'MainActor'
221 | {
222 | control.on_tap(gesture_recognize, scn_view)
| `- warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 | }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:84: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:174: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:237:30: warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
237 | scn_view.defaultCameraController.pointOfView?.runAction(
| `- warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 | reset_action, completionHandler: { self.on_reset_view = false })
239 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:115:62: note: property declared here
113 | @abstract Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
114 | */
115 | @property(nonnull, nonatomic, readonly) SCNCameraController* defaultCameraController API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
| `- note: property declared here
116 |
117 | /*!
[31/51] Compiling IndustrialKit ModifierElementsViews.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:211:21: warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
| `- note: property declared here
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
20 |
:
207 | }
208 |
209 | public func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval)
| `- note: add '@MainActor' to make instance method 'renderer(_:updateAtTime:)' part of global actor 'MainActor'
210 | {
211 | control.on_render(scn_view)
| `- warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 | }
213 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:222:21: warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
| `- note: property declared here
20 |
21 | private var transparent: Bool
:
218 | #endif
219 |
220 | @objc func handle_tap(_ gesture_recognize: UITapGestureRecognizer)
| `- note: add '@MainActor' to make instance method 'handle_tap' part of global actor 'MainActor'
221 | {
222 | control.on_tap(gesture_recognize, scn_view)
| `- warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 | }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:84: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:174: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:237:30: warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
237 | scn_view.defaultCameraController.pointOfView?.runAction(
| `- warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 | reset_action, completionHandler: { self.on_reset_view = false })
239 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:115:62: note: property declared here
113 | @abstract Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
114 | */
115 | @property(nonnull, nonatomic, readonly) SCNCameraController* defaultCameraController API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
| `- note: property declared here
116 |
117 | /*!
[32/51] Compiling IndustrialKit PerformerElementsViews.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:211:21: warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
| `- note: property declared here
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
20 |
:
207 | }
208 |
209 | public func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval)
| `- note: add '@MainActor' to make instance method 'renderer(_:updateAtTime:)' part of global actor 'MainActor'
210 | {
211 | control.on_render(scn_view)
| `- warning: main actor-isolated property 'on_render' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 | }
213 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:222:21: warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | private let on_init: ((_ scene_view: SCNView) -> Void)
18 | private let on_render: ((_ scene_view: SCNView) -> Void)
19 | private let on_tap: ((_ recognizer: UITapGestureRecognizer, _ scene_view: SCNView) -> Void)
| `- note: property declared here
20 |
21 | private var transparent: Bool
:
218 | #endif
219 |
220 | @objc func handle_tap(_ gesture_recognize: UITapGestureRecognizer)
| `- note: add '@MainActor' to make instance method 'handle_tap' part of global actor 'MainActor'
221 | {
222 | control.on_tap(gesture_recognize, scn_view)
| `- warning: main actor-isolated property 'on_tap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 | }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:84: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:236:174: warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | #if os(macOS)
94 | private let base_camera_position_node = SCNNode()
| `- note: property declared here
95 | #endif
96 |
:
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
234 | on_reset_view = true
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
| `- warning: main actor-isolated property 'base_camera_position_node' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
237 | scn_view.defaultCameraController.pointOfView?.runAction(
238 | reset_action, completionHandler: { self.on_reset_view = false })
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/UI/ObjectSceneView.swift:237:30: warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
228 | reset_camera_view_position(locataion: SCNVector3(0, 0, 2), rotation: SCNVector4Zero, view: scn_view)
229 |
230 | func reset_camera_view_position(locataion: SCNVector3, rotation: SCNVector4, view: SCNView)
| `- note: add '@MainActor' to make local function 'reset_camera_view_position(locataion:rotation:view:)' part of global actor 'MainActor'
231 | {
232 | if !on_reset_view
:
235 |
236 | let reset_action = SCNAction.group([SCNAction.move(to: control.base_camera_position_node.position, duration: 0.5), SCNAction.rotate(toAxisAngle: control.base_camera_position_node.rotation, duration: 0.5)])
237 | scn_view.defaultCameraController.pointOfView?.runAction(
| `- warning: main actor-isolated property 'defaultCameraController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 | reset_action, completionHandler: { self.on_reset_view = false })
239 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:115:62: note: property declared here
113 | @abstract Returns the default SCNCameraController used to drive the current point of view when allowCameraController is set to YES.
114 | */
115 | @property(nonnull, nonatomic, readonly) SCNCameraController* defaultCameraController API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
| `- note: property declared here
116 |
117 | /*!
[33/51] Compiling IndustrialKit Part.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:121:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported internal part modules.
121 | public static var internal_modules = [PartModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:124:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | /// Imported external part modules.
124 | public static var external_modules = [PartModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:126:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | /// Imported internal robot modules.
126 | public static var internal_modules = [RobotModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Imported external robot modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:129:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | /// Imported external robot modules.
129 | public static var external_modules = [RobotModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:332:23: warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 |
331 | /// A default location of robot cell origin.
332 | public static var default_origin_location = [Float](repeating: 0, count: 3)
| |- warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_origin_location' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_origin_location' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |
334 | /// A default scale of robot cell box.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:335:23: warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// A default scale of robot cell box.
335 | public static var default_space_scale = [Float](repeating: 200, count: 3)
| |- warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_space_scale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_space_scale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1050:23: warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1048 |
1049 | /// An option of view current position program model.
1050 | public static var view_current_program_model = true
| |- warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'view_current_program_model' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'view_current_program_model' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1051 |
1052 | private func update_points_model() // Update selected positions program model for robot
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1237:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1235 | get:
1236 | {
1237 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1238 | {
1239 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1248:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1246 | set:
1247 | { value in
1248 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1249 | }
1250 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1259:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1257 | get:
1258 | {
1259 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1260 | {
1261 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1270:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1268 | set:
1269 | { value in
1270 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1271 | }
1272 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:118:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | /// Imported internal tool modules.
118 | public static var internal_modules = [ToolModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Imported external tool modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:121:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported external tool modules.
121 | public static var external_modules = [ToolModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:752:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
750 | get:
751 | {
752 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
753 | {
754 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:763:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
761 | set:
762 | { value in
763 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
764 | }
765 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:774:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
772 | get:
773 | {
774 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
775 | {
776 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:785:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
783 | set:
784 | { value in
785 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
786 | }
787 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:67:23: warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Module handling
66 | /// Modules folder access bookmark.
67 | public static var modules_folder_bookmark: Data?
| |- warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'modules_folder_bookmark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'modules_folder_bookmark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:114:23: warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 |
113 | /// The interval between updates in nanoseconds.
114 | public static var update_interval: UInt64 = 1_000_000_0
| |- warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'update_interval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'update_interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:126:9: 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
124 |
125 | update_task = Task
126 | {
| `- 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
127 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
128 | {
129 | try? await Task.sleep(nanoseconds: WorkspaceObject.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:132:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
130 | await MainActor.run
131 | {
132 | self.update()
| |- 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
133 | }
134 |
[34/51] Compiling IndustrialKit Robot.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:121:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported internal part modules.
121 | public static var internal_modules = [PartModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:124:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | /// Imported external part modules.
124 | public static var external_modules = [PartModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:126:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | /// Imported internal robot modules.
126 | public static var internal_modules = [RobotModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Imported external robot modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:129:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | /// Imported external robot modules.
129 | public static var external_modules = [RobotModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:332:23: warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 |
331 | /// A default location of robot cell origin.
332 | public static var default_origin_location = [Float](repeating: 0, count: 3)
| |- warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_origin_location' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_origin_location' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |
334 | /// A default scale of robot cell box.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:335:23: warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// A default scale of robot cell box.
335 | public static var default_space_scale = [Float](repeating: 200, count: 3)
| |- warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_space_scale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_space_scale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1050:23: warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1048 |
1049 | /// An option of view current position program model.
1050 | public static var view_current_program_model = true
| |- warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'view_current_program_model' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'view_current_program_model' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1051 |
1052 | private func update_points_model() // Update selected positions program model for robot
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1237:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1235 | get:
1236 | {
1237 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1238 | {
1239 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1248:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1246 | set:
1247 | { value in
1248 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1249 | }
1250 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1259:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1257 | get:
1258 | {
1259 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1260 | {
1261 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1270:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1268 | set:
1269 | { value in
1270 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1271 | }
1272 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:118:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | /// Imported internal tool modules.
118 | public static var internal_modules = [ToolModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Imported external tool modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:121:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported external tool modules.
121 | public static var external_modules = [ToolModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:752:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
750 | get:
751 | {
752 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
753 | {
754 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:763:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
761 | set:
762 | { value in
763 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
764 | }
765 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:774:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
772 | get:
773 | {
774 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
775 | {
776 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:785:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
783 | set:
784 | { value in
785 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
786 | }
787 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:67:23: warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Module handling
66 | /// Modules folder access bookmark.
67 | public static var modules_folder_bookmark: Data?
| |- warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'modules_folder_bookmark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'modules_folder_bookmark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:114:23: warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 |
113 | /// The interval between updates in nanoseconds.
114 | public static var update_interval: UInt64 = 1_000_000_0
| |- warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'update_interval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'update_interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:126:9: 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
124 |
125 | update_task = Task
126 | {
| `- 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
127 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
128 | {
129 | try? await Task.sleep(nanoseconds: WorkspaceObject.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:132:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
130 | await MainActor.run
131 | {
132 | self.update()
| |- 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
133 | }
134 |
[35/51] Compiling IndustrialKit Tool.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:121:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported internal part modules.
121 | public static var internal_modules = [PartModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:124:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | /// Imported external part modules.
124 | public static var external_modules = [PartModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:126:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | /// Imported internal robot modules.
126 | public static var internal_modules = [RobotModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Imported external robot modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:129:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | /// Imported external robot modules.
129 | public static var external_modules = [RobotModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:332:23: warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 |
331 | /// A default location of robot cell origin.
332 | public static var default_origin_location = [Float](repeating: 0, count: 3)
| |- warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_origin_location' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_origin_location' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |
334 | /// A default scale of robot cell box.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:335:23: warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// A default scale of robot cell box.
335 | public static var default_space_scale = [Float](repeating: 200, count: 3)
| |- warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_space_scale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_space_scale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1050:23: warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1048 |
1049 | /// An option of view current position program model.
1050 | public static var view_current_program_model = true
| |- warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'view_current_program_model' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'view_current_program_model' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1051 |
1052 | private func update_points_model() // Update selected positions program model for robot
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1237:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1235 | get:
1236 | {
1237 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1238 | {
1239 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1248:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1246 | set:
1247 | { value in
1248 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1249 | }
1250 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1259:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1257 | get:
1258 | {
1259 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1260 | {
1261 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1270:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1268 | set:
1269 | { value in
1270 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1271 | }
1272 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:118:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | /// Imported internal tool modules.
118 | public static var internal_modules = [ToolModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Imported external tool modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:121:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported external tool modules.
121 | public static var external_modules = [ToolModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:752:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
750 | get:
751 | {
752 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
753 | {
754 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:763:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
761 | set:
762 | { value in
763 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
764 | }
765 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:774:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
772 | get:
773 | {
774 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
775 | {
776 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:785:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
783 | set:
784 | { value in
785 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
786 | }
787 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:67:23: warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Module handling
66 | /// Modules folder access bookmark.
67 | public static var modules_folder_bookmark: Data?
| |- warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'modules_folder_bookmark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'modules_folder_bookmark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:114:23: warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 |
113 | /// The interval between updates in nanoseconds.
114 | public static var update_interval: UInt64 = 1_000_000_0
| |- warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'update_interval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'update_interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:126:9: 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
124 |
125 | update_task = Task
126 | {
| `- 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
127 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
128 | {
129 | try? await Task.sleep(nanoseconds: WorkspaceObject.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:132:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
130 | await MainActor.run
131 | {
132 | self.update()
| |- 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
133 | }
134 |
[36/51] Compiling IndustrialKit WorkspaceObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:121:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported internal part modules.
121 | public static var internal_modules = [PartModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Part.swift:124:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | /// Imported external part modules.
124 | public static var external_modules = [PartModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:126:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | /// Imported internal robot modules.
126 | public static var internal_modules = [RobotModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Imported external robot modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:129:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | /// Imported external robot modules.
129 | public static var external_modules = [RobotModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:332:23: warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 |
331 | /// A default location of robot cell origin.
332 | public static var default_origin_location = [Float](repeating: 0, count: 3)
| |- warning: static property 'default_origin_location' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_origin_location' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_origin_location' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |
334 | /// A default scale of robot cell box.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:335:23: warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// A default scale of robot cell box.
335 | public static var default_space_scale = [Float](repeating: 200, count: 3)
| |- warning: static property 'default_space_scale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default_space_scale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default_space_scale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1050:23: warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1048 |
1049 | /// An option of view current position program model.
1050 | public static var view_current_program_model = true
| |- warning: static property 'view_current_program_model' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'view_current_program_model' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'view_current_program_model' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1051 |
1052 | private func update_points_model() // Update selected positions program model for robot
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1237:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1235 | get:
1236 | {
1237 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1238 | {
1239 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1248:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1246 | set:
1247 | { value in
1248 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1249 | }
1250 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1259:20: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1257 | get:
1258 | {
1259 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1260 | {
1261 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Robot.swift:1270:17: warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
15 | Permorms reposition operation by target points order in selected positions program.
16 | */
17 | public class Robot: WorkspaceObject
| `- note: class 'Robot' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
1268 | set:
1269 | { value in
1270 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Robot' in a '@Sendable' closure
1271 | }
1272 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:118:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | /// Imported internal tool modules.
118 | public static var internal_modules = [ToolModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Imported external tool modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:121:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |
120 | /// Imported external tool modules.
121 | public static var external_modules = [ToolModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | public override func module_import_by_name(_ name: String, is_internal: Bool = true)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:752:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
750 | get:
751 | {
752 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
753 | {
754 | self.model_controller.charts_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:763:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
761 | set:
762 | { value in
763 | self.charts_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
764 | }
765 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:774:20: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
772 | get:
773 | {
774 | if self.demo
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
775 | {
776 | self.model_controller.states_data
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/Tool.swift:785:17: warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
15 | Permorms operation by codes order in selected operations program.
16 | */
17 | public class Tool: WorkspaceObject
| `- note: class 'Tool' does not conform to the 'Sendable' protocol
18 | {
19 | // MARK: - Init functions
:
783 | set:
784 | { value in
785 | self.states_data = value
| `- warning: capture of 'self' with non-sendable type 'Tool' in a '@Sendable' closure
786 | }
787 | )
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:67:23: warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Module handling
66 | /// Modules folder access bookmark.
67 | public static var modules_folder_bookmark: Data?
| |- warning: static property 'modules_folder_bookmark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'modules_folder_bookmark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'modules_folder_bookmark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:114:23: warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 |
113 | /// The interval between updates in nanoseconds.
114 | public static var update_interval: UInt64 = 1_000_000_0
| |- warning: static property 'update_interval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'update_interval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'update_interval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /**
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:126:9: 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
124 |
125 | update_task = Task
126 | {
| `- 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
127 | while updated
| `- note: closure captures 'self' which is accessible to code in the current task
128 | {
129 | try? await Task.sleep(nanoseconds: WorkspaceObject.update_interval)
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/WorkspaceObjects/WorkspaceObject.swift:132:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
130 | await MainActor.run
131 | {
132 | self.update()
| |- 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
133 | }
134 |
[37/51] Compiling IndustrialKit Cards.swift
[38/51] Compiling IndustrialKit ChartsView.swift
[39/51] Compiling IndustrialKit ConnectorView.swift
[40/51] Compiling IndustrialKit DynamicStack.swift
[41/51] Compiling IndustrialKit InspectorModifier.swift
[42/51] Compiling IndustrialKit PositionPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:289:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// Imported internal part modules.
289 | public static var internal_modules = [ChangerModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |
291 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:292:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
290 |
291 | /// Imported external part modules.
292 | public static var external_modules = [ChangerModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | /// A changer internal modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:295:23: warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
293 |
294 | /// A changer internal modules names array.
295 | public static var internal_modules_list = [String]()
| |- warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 |
297 | /// A changer external modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:298:23: warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 |
297 | /// A changer external modules names array.
298 | public static var external_modules_list = [String]()
| |- warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /**
[43/51] Compiling IndustrialKit PositionsProgram.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:289:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// Imported internal part modules.
289 | public static var internal_modules = [ChangerModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |
291 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:292:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
290 |
291 | /// Imported external part modules.
292 | public static var external_modules = [ChangerModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | /// A changer internal modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:295:23: warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
293 |
294 | /// A changer internal modules names array.
295 | public static var internal_modules_list = [String]()
| |- warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 |
297 | /// A changer external modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:298:23: warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 |
297 | /// A changer external modules names array.
298 | public static var external_modules_list = [String]()
| |- warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /**
[44/51] Compiling IndustrialKit LogicElements.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:289:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// Imported internal part modules.
289 | public static var internal_modules = [ChangerModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |
291 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:292:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
290 |
291 | /// Imported external part modules.
292 | public static var external_modules = [ChangerModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | /// A changer internal modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:295:23: warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
293 |
294 | /// A changer internal modules names array.
295 | public static var internal_modules_list = [String]()
| |- warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 |
297 | /// A changer external modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:298:23: warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 |
297 | /// A changer external modules names array.
298 | public static var external_modules_list = [String]()
| |- warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /**
[45/51] Compiling IndustrialKit ModifierElements.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:289:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// Imported internal part modules.
289 | public static var internal_modules = [ChangerModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |
291 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:292:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
290 |
291 | /// Imported external part modules.
292 | public static var external_modules = [ChangerModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | /// A changer internal modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:295:23: warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
293 |
294 | /// A changer internal modules names array.
295 | public static var internal_modules_list = [String]()
| |- warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 |
297 | /// A changer external modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:298:23: warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 |
297 | /// A changer external modules names array.
298 | public static var external_modules_list = [String]()
| |- warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /**
[46/51] Compiling IndustrialKit PerformerElements.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:289:23: warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
287 |
288 | /// Imported internal part modules.
289 | public static var internal_modules = [ChangerModule]()
| |- warning: static property 'internal_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |
291 | /// Imported external part modules.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:292:23: warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
290 |
291 | /// Imported external part modules.
292 | public static var external_modules = [ChangerModule]()
| |- warning: static property 'external_modules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | /// A changer internal modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:295:23: warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
293 |
294 | /// A changer internal modules names array.
295 | public static var internal_modules_list = [String]()
| |- warning: static property 'internal_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internal_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internal_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 |
297 | /// A changer external modules names array.
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift:298:23: warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 |
297 | /// A changer external modules names array.
298 | public static var external_modules_list = [String]()
| |- warning: static property 'external_modules_list' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'external_modules_list' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'external_modules_list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /**
[47/51] Compiling IndustrialKit RobotConnector.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:176:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
174 | {
175 | #if os(macOS)
176 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
177 | else
178 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:192:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
190 | let pointer_rotation = [point.r, point.p, point.w]
191 |
192 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["update_nodes_positions"] + (pointer_location + pointer_rotation + origin_location + origin_rotation).map { "\($0)" })
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
193 | else
194 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:203:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
201 | {
202 | #if os(macOS)
203 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
204 | else
205 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:153:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
151 | {
152 | #if os(macOS)
153 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
154 | else
155 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:166:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
164 | {
165 | #if os(macOS)
166 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Controller"), with: ["perform", "\(code)"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
167 | else
168 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:177:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
175 | {
176 | #if os(macOS)
177 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
178 | else
179 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Functions.swift:277:13: warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
275 | if let output = String(data: data, encoding: .utf8)
276 | {
277 | output_handler(output)
| |- warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 | }
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:75:9: 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
73 | canceled = false
74 | moving_task = Task
75 | {
| `- 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
76 | self.move_to(point: point)
| `- note: closure captures 'self' which is accessible to code in the current task
77 |
78 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:43:9: 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
41 | canceled = false
42 | performing_task = Task
43 | {
| `- 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
44 | self.perform(code: code)
| `- note: closure captures 'self' which is accessible to code in the current task
45 |
46 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:170:13: 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
168 |
169 | disconnection_task = Task
170 | {
| `- 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
171 | await disconnection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
172 | }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:142:13: 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
140 |
141 | connection_task = Task
142 | {
| `- 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
143 | connected = await connection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
144 | connection_updating = false
145 |
[48/51] Compiling IndustrialKit ToolConnector.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:176:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
174 | {
175 | #if os(macOS)
176 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
177 | else
178 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:192:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
190 | let pointer_rotation = [point.r, point.p, point.w]
191 |
192 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["update_nodes_positions"] + (pointer_location + pointer_rotation + origin_location + origin_rotation).map { "\($0)" })
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
193 | else
194 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:203:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
201 | {
202 | #if os(macOS)
203 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
204 | else
205 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:153:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
151 | {
152 | #if os(macOS)
153 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
154 | else
155 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:166:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
164 | {
165 | #if os(macOS)
166 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Controller"), with: ["perform", "\(code)"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
167 | else
168 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:177:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
175 | {
176 | #if os(macOS)
177 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
178 | else
179 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Functions.swift:277:13: warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
275 | if let output = String(data: data, encoding: .utf8)
276 | {
277 | output_handler(output)
| |- warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 | }
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:75:9: 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
73 | canceled = false
74 | moving_task = Task
75 | {
| `- 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
76 | self.move_to(point: point)
| `- note: closure captures 'self' which is accessible to code in the current task
77 |
78 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:43:9: 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
41 | canceled = false
42 | performing_task = Task
43 | {
| `- 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
44 | self.perform(code: code)
| `- note: closure captures 'self' which is accessible to code in the current task
45 |
46 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:170:13: 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
168 |
169 | disconnection_task = Task
170 | {
| `- 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
171 | await disconnection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
172 | }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:142:13: 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
140 |
141 | connection_task = Task
142 | {
| `- 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
143 | connected = await connection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
144 | connection_updating = false
145 |
[49/51] Compiling IndustrialKit WorkspaceObjectConnector.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:176:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
174 | {
175 | #if os(macOS)
176 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
177 | else
178 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:192:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
190 | let pointer_rotation = [point.r, point.p, point.w]
191 |
192 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["update_nodes_positions"] + (pointer_location + pointer_rotation + origin_location + origin_rotation).map { "\($0)" })
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
193 | else
194 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:203:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
201 | {
202 | #if os(macOS)
203 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
204 | else
205 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:153:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
151 | {
152 | #if os(macOS)
153 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
154 | else
155 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:166:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
164 | {
165 | #if os(macOS)
166 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Controller"), with: ["perform", "\(code)"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
167 | else
168 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:177:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
175 | {
176 | #if os(macOS)
177 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
178 | else
179 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Functions.swift:277:13: warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
275 | if let output = String(data: data, encoding: .utf8)
276 | {
277 | output_handler(output)
| |- warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 | }
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:75:9: 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
73 | canceled = false
74 | moving_task = Task
75 | {
| `- 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
76 | self.move_to(point: point)
| `- note: closure captures 'self' which is accessible to code in the current task
77 |
78 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:43:9: 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
41 | canceled = false
42 | performing_task = Task
43 | {
| `- 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
44 | self.perform(code: code)
| `- note: closure captures 'self' which is accessible to code in the current task
45 |
46 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:170:13: 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
168 |
169 | disconnection_task = Task
170 | {
| `- 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
171 | await disconnection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
172 | }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:142:13: 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
140 |
141 | connection_task = Task
142 | {
| `- 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
143 | connected = await connection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
144 | connection_updating = false
145 |
[50/51] Compiling IndustrialKit Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:176:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
174 | {
175 | #if os(macOS)
176 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
177 | else
178 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:192:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
190 | let pointer_rotation = [point.r, point.p, point.w]
191 |
192 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["update_nodes_positions"] + (pointer_location + pointer_rotation + origin_location + origin_rotation).map { "\($0)" })
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
193 | else
194 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:203:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
201 | {
202 | #if os(macOS)
203 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
204 | else
205 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:153:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
151 | {
152 | #if os(macOS)
153 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
154 | else
155 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:166:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
164 | {
165 | #if os(macOS)
166 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Controller"), with: ["perform", "\(code)"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
167 | else
168 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:177:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
175 | {
176 | #if os(macOS)
177 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
178 | else
179 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Functions.swift:277:13: warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
275 | if let output = String(data: data, encoding: .utf8)
276 | {
277 | output_handler(output)
| |- warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 | }
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:75:9: 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
73 | canceled = false
74 | moving_task = Task
75 | {
| `- 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
76 | self.move_to(point: point)
| `- note: closure captures 'self' which is accessible to code in the current task
77 |
78 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:43:9: 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
41 | canceled = false
42 | performing_task = Task
43 | {
| `- 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
44 | self.perform(code: code)
| `- note: closure captures 'self' which is accessible to code in the current task
45 |
46 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:170:13: 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
168 |
169 | disconnection_task = Task
170 | {
| `- 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
171 | await disconnection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
172 | }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:142:13: 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
140 |
141 | connection_task = Task
142 | {
| `- 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
143 | connected = await connection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
144 | connection_updating = false
145 |
[51/51] Compiling IndustrialKit Functions.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:176:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
174 | {
175 | #if os(macOS)
176 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
177 | else
178 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:192:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
190 | let pointer_rotation = [point.r, point.p, point.w]
191 |
192 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["update_nodes_positions"] + (pointer_location + pointer_rotation + origin_location + origin_rotation).map { "\($0)" })
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
193 | else
194 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:203:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
201 | {
202 | #if os(macOS)
203 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
204 | else
205 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:153:19: warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
151 | {
152 | #if os(macOS)
153 | guard let terminal_output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["disconnect"])
| `- warning: immutable value 'terminal_output' was never used; consider replacing with '_' or removing it
154 | else
155 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:166:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
164 | {
165 | #if os(macOS)
166 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Controller"), with: ["perform", "\(code)"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
167 | else
168 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:177:19: warning: immutable value 'output' was never used; consider replacing with '_' or removing it
175 | {
176 | #if os(macOS)
177 | guard let output: String = perform_terminal_app(at: package_url.appendingPathComponent("/Code/Connector"), with: ["reset_device"])
| `- warning: immutable value 'output' was never used; consider replacing with '_' or removing it
178 | else
179 | {
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Functions.swift:277:13: warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
275 | if let output = String(data: data, encoding: .utf8)
276 | {
277 | output_handler(output)
| |- warning: capture of 'output_handler' with non-sendable type '(String) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 | }
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/RobotConnector.swift:75:9: 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
73 | canceled = false
74 | moving_task = Task
75 | {
| `- 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
76 | self.move_to(point: point)
| `- note: closure captures 'self' which is accessible to code in the current task
77 |
78 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/ToolConnector.swift:43:9: 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
41 | canceled = false
42 | performing_task = Task
43 | {
| `- 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
44 | self.perform(code: code)
| `- note: closure captures 'self' which is accessible to code in the current task
45 |
46 | if !canceled
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:170:13: 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
168 |
169 | disconnection_task = Task
170 | {
| `- 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
171 | await disconnection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
172 | }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/IndustrialKit/Connectors/WorkspaceObjectConnector.swift:142:13: 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
140 |
141 | connection_task = Task
142 | {
| `- 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
143 | connected = await connection_process()
| `- note: closure captures 'self' which is accessible to code in the current task
144 | connection_updating = false
145 |
Build complete! (10.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "IndustrialKit",
"name" : "IndustrialKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "IndustrialKit",
"targets" : [
"IndustrialKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IndustrialKitTests",
"module_type" : "SwiftTarget",
"name" : "IndustrialKitTests",
"path" : "Tests/IndustrialKitTests",
"sources" : [
"IndustrialKitTests.swift"
],
"target_dependencies" : [
"IndustrialKit"
],
"type" : "test"
},
{
"c99name" : "IndustrialKit",
"module_type" : "SwiftTarget",
"name" : "IndustrialKit",
"path" : "Sources",
"product_memberships" : [
"IndustrialKit"
],
"sources" : [
"IndustrialKit/Connectors/RobotConnector.swift",
"IndustrialKit/Connectors/ToolConnector.swift",
"IndustrialKit/Connectors/WorkspaceObjectConnector.swift",
"IndustrialKit/Extensions.swift",
"IndustrialKit/Functions.swift",
"IndustrialKit/ModelControllers/ModelController.swift",
"IndustrialKit/ModelControllers/RobotModelController.swift",
"IndustrialKit/ModelControllers/ToolModelController.swift",
"IndustrialKit/Programs/OperationCode.swift",
"IndustrialKit/Programs/OperationsProgram.swift",
"IndustrialKit/Programs/PositionPoint.swift",
"IndustrialKit/Programs/PositionsProgram.swift",
"IndustrialKit/Programs/WorkspaceProgramElements/LogicElements.swift",
"IndustrialKit/Programs/WorkspaceProgramElements/ModifierElements.swift",
"IndustrialKit/Programs/WorkspaceProgramElements/PerformerElements.swift",
"IndustrialKit/Programs/WorkspaceProgramElements/WorkspaceProgramElement.swift",
"IndustrialKit/Statistics/StateItem.swift",
"IndustrialKit/Statistics/WorkspaceObjectChart.swift",
"IndustrialKit/UI/AddNewView.swift",
"IndustrialKit/UI/Borderers.swift",
"IndustrialKit/UI/Cards.swift",
"IndustrialKit/UI/ChartsView.swift",
"IndustrialKit/UI/ConnectorView.swift",
"IndustrialKit/UI/DynamicStack.swift",
"IndustrialKit/UI/InspectorModifier.swift",
"IndustrialKit/UI/ObjectSceneView.swift",
"IndustrialKit/UI/PositionView.swift",
"IndustrialKit/UI/ProgramElemenViews/LogicElementsViews.swift",
"IndustrialKit/UI/ProgramElemenViews/ModifierElementsViews.swift",
"IndustrialKit/UI/ProgramElemenViews/PerformerElementsViews.swift",
"IndustrialKit/UI/RegistersView.swift",
"IndustrialKit/UI/SheetCaption.swift",
"IndustrialKit/UI/SpatialPendant/ControlViews.swift",
"IndustrialKit/UI/SpatialPendant/PendantController.swift",
"IndustrialKit/UI/SpatialPendant/ProgramViews.swift",
"IndustrialKit/UI/SpatialPendant/SpatialPendantView.swift",
"IndustrialKit/UI/StateView.swift",
"IndustrialKit/UI/ViewCloseButton.swift",
"IndustrialKit/Workspace.swift",
"IndustrialKit/WorkspaceObjects/Modules/ChangerModule.swift",
"IndustrialKit/WorkspaceObjects/Modules/IndustrialModule.swift",
"IndustrialKit/WorkspaceObjects/Modules/PartModule.swift",
"IndustrialKit/WorkspaceObjects/Modules/RobotModule.swift",
"IndustrialKit/WorkspaceObjects/Modules/ToolModule.swift",
"IndustrialKit/WorkspaceObjects/Part.swift",
"IndustrialKit/WorkspaceObjects/Robot.swift",
"IndustrialKit/WorkspaceObjects/Tool.swift",
"IndustrialKit/WorkspaceObjects/WorkspaceObject.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.