Build Information
Failed to build OctopusKit, reference 3.2.0 (334a8e
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 18:24:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[156/191] Compiling OctopusKit OctopusSceneDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[157/191] Compiling OctopusKit OctopusSubscene+Keyboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[158/191] Compiling OctopusKit OctopusSubscene+Mouse.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[159/191] Compiling OctopusKit OctopusSubscene+Touch.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[160/191] Compiling OctopusKit OctopusSubscene.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[161/191] Compiling OctopusKit OctopusGameCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[162/191] Compiling OctopusKit OctopusKit+Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[163/191] Compiling OctopusKit OctopusKit+Logs.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[164/191] Compiling OctopusKit OctopusKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[165/191] Compiling OctopusKit OctopusScenePresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[166/191] Compiling OctopusKit OctopusViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[167/191] Compiling OctopusKit OctopusButtonEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[168/191] Compiling OctopusKit OctopusHighScoreChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[169/191] Compiling OctopusKit OctopusKitErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[170/191] Compiling OctopusKit OctopusLogoScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[171/191] Compiling OctopusKit AcceleratedValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[172/191] Compiling OctopusKit ContiguousArray2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[173/191] Compiling OctopusKit OctopusDirection.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSceneDelegate.swift:15:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that control game state transitions and scene presentation based on input from the current scene, such as `OctopusGameState`.
15 | public protocol OctopusSceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Notifies the current `OctopusGameState` of the `OctopusGameCoordinator` state machine. The state's logic should decide how to interpret the "completion" of a scene and which state to transition to, if any.
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[KeyboardEventComponent]?.keyDown = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[KeyboardEventComponent]?.keyUp = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Keyboard.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[KeyboardEventComponent]?.flagsChanged = KeyboardEventComponent.KeyboardEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:25:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
23 | #endif
24 |
25 | self.entity?[MouseEventComponent]?.mouseEntered = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:34:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 | #endif
33 |
34 | self.entity?[MouseEventComponent]?.mouseMoved = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:43:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | #endif
42 |
43 | self.entity?[MouseEventComponent]?.mouseDown = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:52:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
50 | #endif
51 |
52 | self.entity?[MouseEventComponent]?.mouseDragged = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:61:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
59 | #endif
60 |
61 | self.entity?[MouseEventComponent]?.mouseUp = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene+Mouse.swift:70:22: warning: expected member name or initializer call after type name; this will be an error in Swift 6
68 | #endif
69 |
70 | self.entity?[MouseEventComponent]?.mouseExited = MouseEventComponent.MouseEvent(event: event, node: self)
| |- warning: expected member name or initializer call after type name; this will be an error in Swift 6
| |- note: add arguments after the type to construct a value of the type
| `- note: use '.self' to reference the type object
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Base/OctopusSubscene.swift:15:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 |
14 | /// A protocol for types that display an `OctopusSubscene`.
15 | public protocol OctopusSubsceneDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 | func subsceneWillAppear (_ subscene: OctopusSubscene, on parentNode: SKNode)
17 | func subsceneDidFinish (_ subscene: OctopusSubscene, withResult result: OctopusSubsceneResultType?)
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Core/Launch/OctopusScenePresenter.swift:14:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | public typealias OKScenePresenter = OctopusScenePresenter
13 |
14 | public protocol OctopusScenePresenter: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 | // DESIGN: This functionality is presented as a protocol so that it may be swapped between the view controller, game coordinator or game state, depending on the needs of the underlying system framework (such as SwiftUI or UIKit.)
[174/191] Compiling OctopusKit TimeStep.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[175/191] Compiling OctopusKit OctopusCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[176/191] Compiling OctopusKit OctopusKit+Caches.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[177/191] Compiling OctopusKit OctopusLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[178/191] Compiling OctopusKit OctopusLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[179/191] Compiling OctopusKit OctopusOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[180/191] Compiling OctopusKit OctopusUserDefault.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[181/191] Compiling OctopusKit OctopusUtility+Graphics.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[182/191] Compiling OctopusKit OctopusUtility.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[183/191] Compiling OctopusKit LogChanges.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[184/191] Compiling OctopusKit LogInputEventChanges.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[185/191] Compiling OctopusKit Nameable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[186/191] Compiling OctopusKit TypeSafeIdentifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[187/191] Compiling OctopusKit Entity.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[188/191] Compiling OctopusKit OctopusKitContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[189/191] Compiling OctopusKit OctopusUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[190/191] Compiling OctopusKit OctopusUIOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
[191/191] Compiling OctopusKit OctopusViewControllerRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/Support & Utility/OctopusUserDefault.swift:74:36: warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | ///
20 | /// 💡 **Tip:** Use the `TypeSafeIdentifiers` protocol for eliminating typos and other mistakes when passing around string keys.
21 | @propertyWrapper public struct OctopusUserDefault <ValueType> : CustomStringConvertible {
| `- note: 'ValueType' previously declared here
22 |
23 | // NOTE: This is "ValueType" as in type of the value, not "value type" as in structs or enums. :)
:
72 | /// This function may be chained with the `??` operator to provide a [different] default value at each call site.
73 | @inlinable
74 | public static func preference <ValueType> (forKey key: String) -> ValueType? {
| `- warning: generic parameter 'ValueType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
75 | if let value = UserDefaults.standard.object(forKey: key) as? ValueType {
76 | OctopusKit.logForDebug.add("\"\(key)\" \(ValueType.self) = \(value)")
/Users/admin/builder/spi-builder-workspace/Sources/OctopusKit/SwiftUI/OctopusViewControllerRepresentable.swift:101:38: warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |
58 | /// Encapsulates an `OctopusViewController` to present SpriteKit/SceneKit/Metal content in a SwiftUI view hierarchy.
59 | public struct OctopusViewControllerRepresentable <OctopusGameCoordinatorType, OctopusViewControllerType> : NSViewControllerRepresentable
| `- note: 'OctopusViewControllerType' previously declared here
60 | where OctopusGameCoordinatorType: OctopusGameCoordinator,
61 | OctopusViewControllerType: OctopusViewController
:
99 | public extension OctopusViewControllerRepresentable { // CHECK: Should this be public?
100 |
101 | class ViewControllerCoordinator <OctopusViewControllerType> : NSObject
| `- warning: generic parameter 'OctopusViewControllerType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 | where OctopusViewControllerType: OctopusViewController
103 | {
BUILD FAILURE 6.1 macosSpm