Build Information
Failed to build Advance, reference master (3156e6
), with Swift 6.1 for Wasm on 27 May 2025 10:48:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timdonnelly/Advance.git
Reference: master
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/timdonnelly/Advance
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3156e6c Create swift.yml
Cloned https://github.com/timdonnelly/Advance.git
Revision (git rev-parse @):
3156e6c5ba2960de7b5a910a2c8433d7fd612c25
SUCCESS checkout https://github.com/timdonnelly/Advance.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/timdonnelly/Advance.git
https://github.com/timdonnelly/Advance.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Advance",
"name" : "Advance",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Advance",
"targets" : [
"Advance"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AdvanceTests",
"module_type" : "SwiftTarget",
"name" : "AdvanceTests",
"path" : "Tests/AdvanceTests",
"sources" : [
"AnimationTests.swift",
"AnimatorTests.swift",
"DisplayLinkTests.swift",
"SpringTests.swift",
"TimingFunctionTests.swift",
"UnitBezierTests.swift",
"VectorConvenienceTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Advance"
],
"type" : "test"
},
{
"c99name" : "Advance",
"module_type" : "SwiftTarget",
"name" : "Advance",
"path" : "Sources/Advance",
"product_memberships" : [
"Advance"
],
"sources" : [
"Animator.swift",
"DecayFunction.swift",
"Internal/Animation.swift",
"Internal/DisplayLink.swift",
"Internal/Math.swift",
"Internal/Simulation.swift",
"Internal/SimulationFunction+Integration.swift",
"SimulationFunction.swift",
"Spring.swift",
"SpringFunction.swift",
"TimingFunction.swift",
"UnitBezier.swift",
"VectorConvertible.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Advance UnitBezier.swift
[4/16] Compiling Advance VectorConvertible.swift
[5/16] Compiling Advance TimingFunction.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] Emitting module Advance
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:13: error: cannot find 'dispatchPrecondition' in scope
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:46: error: cannot infer contextual base in reference to member 'onQueue'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:55: error: cannot infer contextual base in reference to member 'main'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:13: error: cannot find 'dispatchPrecondition' in scope
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:46: error: cannot infer contextual base in reference to member 'onQueue'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:55: error: cannot infer contextual base in reference to member 'main'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
[7/16] Compiling Advance SimulationFunction+Integration.swift
[8/16] Compiling Advance SimulationFunction.swift
[9/16] Compiling Advance Math.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
[10/16] Compiling Advance Simulation.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
[11/16] Compiling Advance Spring.swift
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:9: error: cannot find 'dispatchPrecondition' in scope
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:42: error: cannot infer contextual base in reference to member 'onQueue'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:51: error: cannot infer contextual base in reference to member 'main'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
[12/16] Compiling Advance SpringFunction.swift
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:9: error: cannot find 'dispatchPrecondition' in scope
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:42: error: cannot infer contextual base in reference to member 'onQueue'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:51: error: cannot infer contextual base in reference to member 'main'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
[13/16] Compiling Advance Animator.swift
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:13: error: cannot find 'dispatchPrecondition' in scope
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:46: error: cannot infer contextual base in reference to member 'onQueue'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:55: error: cannot infer contextual base in reference to member 'main'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:13: error: cannot find 'dispatchPrecondition' in scope
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:46: error: cannot infer contextual base in reference to member 'onQueue'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:55: error: cannot infer contextual base in reference to member 'main'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:9: error: cannot find 'dispatchPrecondition' in scope
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:42: error: cannot infer contextual base in reference to member 'onQueue'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:51: error: cannot infer contextual base in reference to member 'main'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:9: error: cannot find 'dispatchPrecondition' in scope
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:42: error: cannot infer contextual base in reference to member 'onQueue'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:51: error: cannot infer contextual base in reference to member 'main'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:13: error: cannot find 'dispatchPrecondition' in scope
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:46: error: cannot infer contextual base in reference to member 'onQueue'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:55: error: cannot infer contextual base in reference to member 'main'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:13: error: cannot find 'dispatchPrecondition' in scope
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:46: error: cannot infer contextual base in reference to member 'onQueue'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:55: error: cannot infer contextual base in reference to member 'main'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:9: error: cannot find 'dispatchPrecondition' in scope
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:42: error: cannot infer contextual base in reference to member 'onQueue'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:51: error: cannot infer contextual base in reference to member 'main'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:9: error: cannot find 'dispatchPrecondition' in scope
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:42: error: cannot infer contextual base in reference to member 'onQueue'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:51: error: cannot infer contextual base in reference to member 'main'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:9: error: cannot find 'dispatchPrecondition' in scope
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:42: error: cannot infer contextual base in reference to member 'onQueue'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:51: error: cannot infer contextual base in reference to member 'main'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:9: error: cannot find 'dispatchPrecondition' in scope
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:42: error: cannot infer contextual base in reference to member 'onQueue'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:51: error: cannot infer contextual base in reference to member 'main'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:9: error: cannot find 'dispatchPrecondition' in scope
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:42: error: cannot infer contextual base in reference to member 'onQueue'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:51: error: cannot infer contextual base in reference to member 'main'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
95 | state = .atRest(value: state.value)
96 | }
[14/16] Compiling Advance DecayFunction.swift
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:13: error: cannot find 'dispatchPrecondition' in scope
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:46: error: cannot infer contextual base in reference to member 'onQueue'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:55: error: cannot infer contextual base in reference to member 'main'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:13: error: cannot find 'dispatchPrecondition' in scope
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:46: error: cannot infer contextual base in reference to member 'onQueue'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:55: error: cannot infer contextual base in reference to member 'main'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:9: error: cannot find 'dispatchPrecondition' in scope
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:42: error: cannot infer contextual base in reference to member 'onQueue'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:51: error: cannot infer contextual base in reference to member 'main'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:9: error: cannot find 'dispatchPrecondition' in scope
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:42: error: cannot infer contextual base in reference to member 'onQueue'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:51: error: cannot infer contextual base in reference to member 'main'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:13: error: cannot find 'dispatchPrecondition' in scope
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:46: error: cannot infer contextual base in reference to member 'onQueue'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:55: error: cannot infer contextual base in reference to member 'main'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:13: error: cannot find 'dispatchPrecondition' in scope
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:46: error: cannot infer contextual base in reference to member 'onQueue'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:55: error: cannot infer contextual base in reference to member 'main'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:9: error: cannot find 'dispatchPrecondition' in scope
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:42: error: cannot infer contextual base in reference to member 'onQueue'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:51: error: cannot infer contextual base in reference to member 'main'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:9: error: cannot find 'dispatchPrecondition' in scope
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:42: error: cannot infer contextual base in reference to member 'onQueue'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:51: error: cannot infer contextual base in reference to member 'main'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:9: error: cannot find 'dispatchPrecondition' in scope
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:42: error: cannot infer contextual base in reference to member 'onQueue'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:51: error: cannot infer contextual base in reference to member 'main'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:9: error: cannot find 'dispatchPrecondition' in scope
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:42: error: cannot infer contextual base in reference to member 'onQueue'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:51: error: cannot infer contextual base in reference to member 'main'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:9: error: cannot find 'dispatchPrecondition' in scope
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:42: error: cannot infer contextual base in reference to member 'onQueue'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:51: error: cannot infer contextual base in reference to member 'main'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
95 | state = .atRest(value: state.value)
96 | }
[15/16] Compiling Advance Animation.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:26: error: value of type 'RunLoop' has no member 'add'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
230 | }
231 |
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:47: error: cannot infer contextual base in reference to member 'common'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
230 | }
231 |
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:226:21: warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
185 |
186 | /// DisplayLink is used to hook into screen refreshes.
187 | fileprivate final class Driver {
| `- note: class 'Driver' does not conform to the 'Sendable' protocol
188 |
189 | private var timer: Timer? = nil
:
224 | previousTimestamp: timestamp-frameDuration,
225 | timestamp: timestamp)
226 | self?.handle(frame: frame)
| `- warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
227 | })
228 | self.timer = timer
[16/16] Compiling Advance DisplayLink.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:26: error: value of type 'RunLoop' has no member 'add'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
230 | }
231 |
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:47: error: cannot infer contextual base in reference to member 'common'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
230 | }
231 |
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:226:21: warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
185 |
186 | /// DisplayLink is used to hook into screen refreshes.
187 | fileprivate final class Driver {
| `- note: class 'Driver' does not conform to the 'Sendable' protocol
188 |
189 | private var timer: Timer? = nil
:
224 | previousTimestamp: timestamp-frameDuration,
225 | timestamp: timestamp)
226 | self?.handle(frame: frame)
| `- warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
227 | })
228 | self.timer = timer
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/14] Emitting module Advance
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:13: error: cannot find 'dispatchPrecondition' in scope
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:46: error: cannot infer contextual base in reference to member 'onQueue'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:55: error: cannot infer contextual base in reference to member 'main'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:13: error: cannot find 'dispatchPrecondition' in scope
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:46: error: cannot infer contextual base in reference to member 'onQueue'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:55: error: cannot infer contextual base in reference to member 'main'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
[3/14] Compiling Advance Animator.swift
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:13: error: cannot find 'dispatchPrecondition' in scope
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:46: error: cannot infer contextual base in reference to member 'onQueue'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:55: error: cannot infer contextual base in reference to member 'main'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:13: error: cannot find 'dispatchPrecondition' in scope
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:46: error: cannot infer contextual base in reference to member 'onQueue'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:55: error: cannot infer contextual base in reference to member 'main'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:9: error: cannot find 'dispatchPrecondition' in scope
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:42: error: cannot infer contextual base in reference to member 'onQueue'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:51: error: cannot infer contextual base in reference to member 'main'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:9: error: cannot find 'dispatchPrecondition' in scope
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:42: error: cannot infer contextual base in reference to member 'onQueue'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:51: error: cannot infer contextual base in reference to member 'main'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:13: error: cannot find 'dispatchPrecondition' in scope
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:46: error: cannot infer contextual base in reference to member 'onQueue'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:55: error: cannot infer contextual base in reference to member 'main'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:13: error: cannot find 'dispatchPrecondition' in scope
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:46: error: cannot infer contextual base in reference to member 'onQueue'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:55: error: cannot infer contextual base in reference to member 'main'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:9: error: cannot find 'dispatchPrecondition' in scope
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:42: error: cannot infer contextual base in reference to member 'onQueue'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:51: error: cannot infer contextual base in reference to member 'main'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:9: error: cannot find 'dispatchPrecondition' in scope
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:42: error: cannot infer contextual base in reference to member 'onQueue'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:51: error: cannot infer contextual base in reference to member 'main'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:9: error: cannot find 'dispatchPrecondition' in scope
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:42: error: cannot infer contextual base in reference to member 'onQueue'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:51: error: cannot infer contextual base in reference to member 'main'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:9: error: cannot find 'dispatchPrecondition' in scope
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:42: error: cannot infer contextual base in reference to member 'onQueue'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:51: error: cannot infer contextual base in reference to member 'main'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:9: error: cannot find 'dispatchPrecondition' in scope
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:42: error: cannot infer contextual base in reference to member 'onQueue'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:51: error: cannot infer contextual base in reference to member 'main'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
95 | state = .atRest(value: state.value)
96 | }
[4/14] Compiling Advance DecayFunction.swift
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:13: error: cannot find 'dispatchPrecondition' in scope
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:46: error: cannot infer contextual base in reference to member 'onQueue'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:26:55: error: cannot infer contextual base in reference to member 'main'
24 | public var onChange: ((Value) -> Void)? = nil {
25 | didSet {
26 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
27 | }
28 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:13: error: cannot find 'dispatchPrecondition' in scope
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:46: error: cannot infer contextual base in reference to member 'onQueue'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Animator.swift:34:55: error: cannot infer contextual base in reference to member 'main'
32 | private var state: State {
33 | didSet {
34 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
35 | displayLink.isPaused = state.isAtRest
36 | if state.value.animatableData != oldValue.value.animatableData {
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:9: error: cannot find 'dispatchPrecondition' in scope
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:42: error: cannot infer contextual base in reference to member 'onQueue'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:44:51: error: cannot infer contextual base in reference to member 'main'
42 | /// Initializes a new animator with the given value.
43 | public init(initialValue: Value) {
44 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
45 | state = .atRest(value: initialValue)
46 | displayLink.onFrame = { [weak self] (frame) in
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:9: error: cannot find 'dispatchPrecondition' in scope
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:42: error: cannot infer contextual base in reference to member 'onQueue'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:52:51: error: cannot infer contextual base in reference to member 'main'
50 |
51 | private func advance(by time: Double) {
52 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
53 | state.advance(by: time)
54 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:13: error: cannot find 'dispatchPrecondition' in scope
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:46: error: cannot infer contextual base in reference to member 'onQueue'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:59:55: error: cannot infer contextual base in reference to member 'main'
57 | public var value: Value {
58 | get {
59 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
60 | return state.value
61 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:13: error: cannot find 'dispatchPrecondition' in scope
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:46: error: cannot infer contextual base in reference to member 'onQueue'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:63:55: error: cannot infer contextual base in reference to member 'main'
61 | }
62 | set {
63 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
64 | state = .atRest(value: newValue)
65 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:9: error: cannot find 'dispatchPrecondition' in scope
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:42: error: cannot infer contextual base in reference to member 'onQueue'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:70:51: error: cannot infer contextual base in reference to member 'main'
68 | /// The current velocity of the animator.
69 | public var velocity: Value {
70 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
71 | return state.velocity
72 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:9: error: cannot find 'dispatchPrecondition' in scope
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:42: error: cannot infer contextual base in reference to member 'onQueue'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:76:51: error: cannot infer contextual base in reference to member 'main'
74 | /// Animates the property using the given animation.
75 | public func animate(to finalValue: Value, duration: Double, timingFunction: TimingFunction = .swiftOut) {
76 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
77 | state.animate(to: finalValue, duration: duration, timingFunction: timingFunction)
78 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:9: error: cannot find 'dispatchPrecondition' in scope
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:42: error: cannot infer contextual base in reference to member 'onQueue'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:82:51: error: cannot infer contextual base in reference to member 'main'
80 | /// Animates the property using the given simulation function, imparting the specified initial velocity into the simulation.
81 | public func simulate<T>(using function: T, initialVelocity: T.Value) where T: SimulationFunction, T.Value == Value {
82 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
83 | state.simulate(using: function, initialVelocity: initialVelocity)
84 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:9: error: cannot find 'dispatchPrecondition' in scope
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:42: error: cannot infer contextual base in reference to member 'onQueue'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:88:51: error: cannot infer contextual base in reference to member 'main'
86 | /// Animates the property using the given simulation function.
87 | public func simulate<T>(using function: T) where T: SimulationFunction, T.Value == Value {
88 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
89 | state.simulate(using: function)
90 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:9: error: cannot find 'dispatchPrecondition' in scope
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:42: error: cannot infer contextual base in reference to member 'onQueue'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
95 | state = .atRest(value: state.value)
96 | }
/host/spi-builder-workspace/Sources/Advance/Animator.swift:94:51: error: cannot infer contextual base in reference to member 'main'
92 | /// Removes any active animation, freezing the animator at the current value.
93 | public func cancelRunningAnimation() {
94 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
95 | state = .atRest(value: state.value)
96 | }
[5/14] Compiling Advance Animation.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:26: error: value of type 'RunLoop' has no member 'add'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
230 | }
231 |
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:47: error: cannot infer contextual base in reference to member 'common'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
230 | }
231 |
[6/14] Compiling Advance DisplayLink.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 | /// The current value.
20 | private (set) var value: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private (set) var velocity: Value
/host/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 | private (set) var value: Value
21 |
22 | private (set) var velocity: Value
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 | private var elapsed: Double = 0.0
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:26: error: value of type 'RunLoop' has no member 'add'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
230 | }
231 |
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:229:47: error: cannot infer contextual base in reference to member 'common'
227 | })
228 | self.timer = timer
229 | RunLoop.main.add(timer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
230 | }
231 |
[7/15] Compiling Advance TimingFunction.swift
[8/15] Compiling Advance UnitBezier.swift
[9/15] Compiling Advance Spring.swift
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:9: error: cannot find 'dispatchPrecondition' in scope
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:42: error: cannot infer contextual base in reference to member 'onQueue'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:51: error: cannot infer contextual base in reference to member 'main'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
[10/15] Compiling Advance SpringFunction.swift
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:9: error: cannot find 'dispatchPrecondition' in scope
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:42: error: cannot infer contextual base in reference to member 'onQueue'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
/host/spi-builder-workspace/Sources/Advance/Spring.swift:18:51: error: cannot infer contextual base in reference to member 'main'
16 | /// Initializes a new spring converged at the given value, using default configuration options for the spring function.
17 | public init(initialValue: Value) {
18 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
19 | function = SpringFunction(target: initialValue)
20 | animator = Animator(initialValue: initialValue)
[11/15] Compiling Advance Math.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
[12/15] Compiling Advance Simulation.swift
/host/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | /// Returns `true` if the solver has converged and does not currently
31 | /// need to be advanced on each frame.
32 | fileprivate (set) var hasConverged: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | // The current state of the solver.
[13/15] Compiling Advance SimulationFunction+Integration.swift
[14/15] Compiling Advance SimulationFunction.swift
[15/15] Compiling Advance VectorConvertible.swift
BUILD FAILURE 6.1 wasm