The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Motor, reference 0.1.2 (ec165d), with Swift 6.1 for Wasm on 20 Feb 2026 06:50:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flint-engine/Motor.git
Reference: 0.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/flint-engine/Motor
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at ec165db Merge branch 'develop'
Cloned https://github.com/flint-engine/Motor.git
Revision (git rev-parse @):
ec165db3be9046b956cc3a9b035d4134ab95998e
SUCCESS checkout https://github.com/flint-engine/Motor.git at 0.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/flint-engine/Motor.git
https://github.com/flint-engine/Motor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ansiescapecode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flintbox/ANSIEscapeCode"
    }
  ],
  "manifest_display_name" : "Motor",
  "name" : "Motor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Motor",
      "targets" : [
        "Motor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "motor-example",
      "targets" : [
        "motor-example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "motor_example",
      "module_type" : "SwiftTarget",
      "name" : "motor-example",
      "path" : "Sources/motor-example",
      "product_memberships" : [
        "motor-example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Motor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Motor",
      "module_type" : "SwiftTarget",
      "name" : "Motor",
      "path" : "Sources/Motor",
      "product_dependencies" : [
        "ANSIEscapeCode"
      ],
      "product_memberships" : [
        "Motor",
        "motor-example"
      ],
      "sources" : [
        "Animation.swift",
        "Animator.swift",
        "Pattern.swift",
        "Patterns.swift",
        "Spinner.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/flintbox/ANSIEscapeCode
[1/48] Fetching ansiescapecode
Fetched https://github.com/flintbox/ANSIEscapeCode from cache (0.48s)
Computing version for https://github.com/flintbox/ANSIEscapeCode
Computed https://github.com/flintbox/ANSIEscapeCode at 0.1.1 (2.38s)
Creating working copy for https://github.com/flintbox/ANSIEscapeCode
Working copy of https://github.com/flintbox/ANSIEscapeCode resolved at 0.1.1
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling ANSIEscapeCode Scroll.swift
[6/20] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[7/20] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
[8/20] Compiling ANSIEscapeCode ANSIEscapeCode.swift
[9/20] Compiling ANSIEscapeCode BackgroundColor.swift
[10/20] Compiling ANSIEscapeCode EraseInLineType.swift
[11/20] Emitting module ANSIEscapeCode
[12/20] Compiling ANSIEscapeCode Cursor.swift
[13/20] Compiling ANSIEscapeCode Erase.swift
[14/20] Compiling ANSIEscapeCode EraseInDisplayType.swift
[15/20] Compiling ANSIEscapeCode TextColor.swift
[16/21] Wrapping AST for ANSIEscapeCode for debugging
[18/27] Compiling Motor Spinner.swift
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:35:24: error: cannot find 'OperationQueue' in scope
33 |     open private(set) var animator: Animator?
34 |     /// Operation queue to run animation.
35 |     public let queue = OperationQueue()
   |                        `- error: cannot find 'OperationQueue' in scope
36 |
37 |     /// Spinner pattern.
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:60:19: error: value of type 'Animator' has no member 'qualityOfService'
58 |         queue.cancelAllOperations()
59 |         animator = Animator(pattern: pattern, delay: delay)
60 |         animator!.qualityOfService = .utility
   |                   `- error: value of type 'Animator' has no member 'qualityOfService'
61 |         animator!.text = message
62 |         queue.addOperation(animator!)
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:60:39: error: cannot infer contextual base in reference to member 'utility'
58 |         queue.cancelAllOperations()
59 |         animator = Animator(pattern: pattern, delay: delay)
60 |         animator!.qualityOfService = .utility
   |                                       `- error: cannot infer contextual base in reference to member 'utility'
61 |         animator!.text = message
62 |         queue.addOperation(animator!)
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:79:19: error: value of type 'Animator' has no member 'cancel'
77 |     ///                      beside spinner.
78 |     open func stop(message: String? = nil) {
79 |         animator?.cancel()
   |                   `- error: value of type 'Animator' has no member 'cancel'
80 |         animator = nil
81 |         moveCursorToColumn(1)
[19/27] Compiling Motor Pattern.swift
[20/27] Compiling Motor Patterns.swift
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:32:23: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// Dots.
32 |     public static let dots = Pattern(
   |                       |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |         frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"],
34 |         fps: 14
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:37:23: warning: static property 'dots2' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
35 |     )
36 |     /// Dots 2.
37 |     public static let dots2 = Pattern(
   |                       |- warning: static property 'dots2' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'dots2' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |         frames: ["⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"],
39 |         fps: 14
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:42:23: warning: static property 'dots3' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
40 |     )
41 |     /// Dots 3.
42 |     public static let dots3 = Pattern(
   |                       |- warning: static property 'dots3' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'dots3' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |         frames: ["⠄", "⠆", "⠇", "⠋", "⠙", "⠸", "⠰", "⠠", "⠰", "⠸", "⠙", "⠋", "⠇", "⠆"],
44 |         fps: 14
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:47:23: warning: static property 'bouncingBar' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
45 |     )
46 |     /// Bouncing bar.
47 |     public static let bouncingBar = Pattern(
   |                       |- warning: static property 'bouncingBar' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bouncingBar' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         frames: ["[    ]", "[=   ]", "[==  ]", "[=== ]", "[====]", "[ ===]", "[  ==]", "[   =]", "[    ]"],
49 |         fps: 10
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/27] Compiling Motor Animation.swift
[22/27] Emitting module Motor
/host/spi-builder-workspace/Sources/Motor/Animator.swift:52:24: error: method does not override any method from its superclass
50 |
51 |     /// Run animation.
52 |     open override func main() {
   |                        `- error: method does not override any method from its superclass
53 |         super.main()
54 |         sleep(delay)
/host/spi-builder-workspace/Sources/Motor/Animator.swift:30:22: error: cannot find type 'Operation' in scope
28 |
29 | /// Spinner animator.
30 | open class Animator: Operation {
   |                      `- error: cannot find type 'Operation' in scope
31 |
32 |     /// Text displayed beside spinner.
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:32:23: warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// Dots.
32 |     public static let dots = Pattern(
   |                       |- warning: static property 'dots' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'dots' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |         frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"],
34 |         fps: 14
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:37:23: warning: static property 'dots2' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
35 |     )
36 |     /// Dots 2.
37 |     public static let dots2 = Pattern(
   |                       |- warning: static property 'dots2' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'dots2' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |         frames: ["⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"],
39 |         fps: 14
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:42:23: warning: static property 'dots3' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
40 |     )
41 |     /// Dots 3.
42 |     public static let dots3 = Pattern(
   |                       |- warning: static property 'dots3' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'dots3' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |         frames: ["⠄", "⠆", "⠇", "⠋", "⠙", "⠸", "⠰", "⠠", "⠰", "⠸", "⠙", "⠋", "⠇", "⠆"],
44 |         fps: 14
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Patterns.swift:47:23: warning: static property 'bouncingBar' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
45 |     )
46 |     /// Bouncing bar.
47 |     public static let bouncingBar = Pattern(
   |                       |- warning: static property 'bouncingBar' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bouncingBar' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         frames: ["[    ]", "[=   ]", "[==  ]", "[=== ]", "[====]", "[ ===]", "[  ==]", "[   =]", "[    ]"],
49 |         fps: 10
/host/spi-builder-workspace/Sources/Motor/Pattern.swift:29:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
27 |
28 | /// Spinner pattern.
29 | public struct Pattern {
   |               `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
30 |
31 |     /// Each frame
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:35:24: error: cannot find 'OperationQueue' in scope
33 |     open private(set) var animator: Animator?
34 |     /// Operation queue to run animation.
35 |     public let queue = OperationQueue()
   |                        `- error: cannot find 'OperationQueue' in scope
36 |
37 |     /// Spinner pattern.
[23/27] Compiling Motor Animator.swift
/host/spi-builder-workspace/Sources/Motor/Animator.swift:52:24: error: method does not override any method from its superclass
50 |
51 |     /// Run animation.
52 |     open override func main() {
   |                        `- error: method does not override any method from its superclass
53 |         super.main()
54 |         sleep(delay)
/host/spi-builder-workspace/Sources/Motor/Animator.swift:30:22: error: cannot find type 'Operation' in scope
28 |
29 | /// Spinner animator.
30 | open class Animator: Operation {
   |                      `- error: cannot find type 'Operation' in scope
31 |
32 |     /// Text displayed beside spinner.
/host/spi-builder-workspace/Sources/Motor/Animator.swift:48:9: error: 'super' cannot be used in class 'Animator' because it has no superclass
46 |         spinner = Animation(pattern: pattern)
47 |         self.delay = delay
48 |         super.init()
   |         `- error: 'super' cannot be used in class 'Animator' because it has no superclass
49 |     }
50 |
/host/spi-builder-workspace/Sources/Motor/Animator.swift:53:9: error: 'super' cannot be used in class 'Animator' because it has no superclass
51 |     /// Run animation.
52 |     open override func main() {
53 |         super.main()
   |         `- error: 'super' cannot be used in class 'Animator' because it has no superclass
54 |         sleep(delay)
55 |         while !isCancelled {
/host/spi-builder-workspace/Sources/Motor/Animator.swift:55:16: error: cannot find 'isCancelled' in scope
53 |         super.main()
54 |         sleep(delay)
55 |         while !isCancelled {
   |                `- error: cannot find 'isCancelled' in scope
56 |             eraseLineAndPrintFrame()
57 |             usleep(1000000 * 1/spinner.pattern.fps)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling ANSIEscapeCode Scroll.swift
[3/17] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[4/17] Compiling ANSIEscapeCode Cursor.swift
[5/17] Compiling ANSIEscapeCode Erase.swift
[6/17] Compiling ANSIEscapeCode EraseInDisplayType.swift
[7/17] Compiling ANSIEscapeCode EraseInLineType.swift
[8/17] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
[9/17] Compiling ANSIEscapeCode TextColor.swift
[10/17] Emitting module ANSIEscapeCode
[11/17] Compiling ANSIEscapeCode ANSIEscapeCode.swift
[12/17] Compiling ANSIEscapeCode BackgroundColor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/23] Compiling Motor Pattern.swift
[15/23] Compiling Motor Patterns.swift
[16/23] Emitting module Motor
/host/spi-builder-workspace/Sources/Motor/Animator.swift:52:24: error: method does not override any method from its superclass
50 |
51 |     /// Run animation.
52 |     open override func main() {
   |                        `- error: method does not override any method from its superclass
53 |         super.main()
54 |         sleep(delay)
/host/spi-builder-workspace/Sources/Motor/Animator.swift:30:22: error: cannot find type 'Operation' in scope
28 |
29 | /// Spinner animator.
30 | open class Animator: Operation {
   |                      `- error: cannot find type 'Operation' in scope
31 |
32 |     /// Text displayed beside spinner.
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:35:24: error: cannot find 'OperationQueue' in scope
33 |     open private(set) var animator: Animator?
34 |     /// Operation queue to run animation.
35 |     public let queue = OperationQueue()
   |                        `- error: cannot find 'OperationQueue' in scope
36 |
37 |     /// Spinner pattern.
[17/23] Compiling Motor Animation.swift
[18/23] Compiling Motor Spinner.swift
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:35:24: error: cannot find 'OperationQueue' in scope
33 |     open private(set) var animator: Animator?
34 |     /// Operation queue to run animation.
35 |     public let queue = OperationQueue()
   |                        `- error: cannot find 'OperationQueue' in scope
36 |
37 |     /// Spinner pattern.
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:60:19: error: value of type 'Animator' has no member 'qualityOfService'
58 |         queue.cancelAllOperations()
59 |         animator = Animator(pattern: pattern, delay: delay)
60 |         animator!.qualityOfService = .utility
   |                   `- error: value of type 'Animator' has no member 'qualityOfService'
61 |         animator!.text = message
62 |         queue.addOperation(animator!)
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:60:39: error: cannot infer contextual base in reference to member 'utility'
58 |         queue.cancelAllOperations()
59 |         animator = Animator(pattern: pattern, delay: delay)
60 |         animator!.qualityOfService = .utility
   |                                       `- error: cannot infer contextual base in reference to member 'utility'
61 |         animator!.text = message
62 |         queue.addOperation(animator!)
/host/spi-builder-workspace/Sources/Motor/Spinner.swift:79:19: error: value of type 'Animator' has no member 'cancel'
77 |     ///                      beside spinner.
78 |     open func stop(message: String? = nil) {
79 |         animator?.cancel()
   |                   `- error: value of type 'Animator' has no member 'cancel'
80 |         animator = nil
81 |         moveCursorToColumn(1)
[19/23] Compiling Motor Animator.swift
/host/spi-builder-workspace/Sources/Motor/Animator.swift:52:24: error: method does not override any method from its superclass
50 |
51 |     /// Run animation.
52 |     open override func main() {
   |                        `- error: method does not override any method from its superclass
53 |         super.main()
54 |         sleep(delay)
/host/spi-builder-workspace/Sources/Motor/Animator.swift:30:22: error: cannot find type 'Operation' in scope
28 |
29 | /// Spinner animator.
30 | open class Animator: Operation {
   |                      `- error: cannot find type 'Operation' in scope
31 |
32 |     /// Text displayed beside spinner.
/host/spi-builder-workspace/Sources/Motor/Animator.swift:48:9: error: 'super' cannot be used in class 'Animator' because it has no superclass
46 |         spinner = Animation(pattern: pattern)
47 |         self.delay = delay
48 |         super.init()
   |         `- error: 'super' cannot be used in class 'Animator' because it has no superclass
49 |     }
50 |
/host/spi-builder-workspace/Sources/Motor/Animator.swift:53:9: error: 'super' cannot be used in class 'Animator' because it has no superclass
51 |     /// Run animation.
52 |     open override func main() {
53 |         super.main()
   |         `- error: 'super' cannot be used in class 'Animator' because it has no superclass
54 |         sleep(delay)
55 |         while !isCancelled {
/host/spi-builder-workspace/Sources/Motor/Animator.swift:55:16: error: cannot find 'isCancelled' in scope
53 |         super.main()
54 |         sleep(delay)
55 |         while !isCancelled {
   |                `- error: cannot find 'isCancelled' in scope
56 |             eraseLineAndPrintFrame()
57 |             usleep(1000000 * 1/spinner.pattern.fps)
BUILD FAILURE 6.1 wasm