[INFO] cloning repository https://github.com/Nodraak/MoonLander.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nodraak/MoonLander.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNodraak%2FMoonLander.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNodraak%2FMoonLander.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edec22cd6b7a8f24f233e4d059a35a6983e58257 [INFO] checking Nodraak/MoonLander.rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNodraak%2FMoonLander.rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nodraak/MoonLander.rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nodraak/MoonLander.rs [INFO] finished tweaking git repo https://github.com/Nodraak/MoonLander.rs [INFO] tweaked toml for git repo https://github.com/Nodraak/MoonLander.rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Nodraak/MoonLander.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uom v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cc130234411ee44acc0077f0da2a3757e8bd5049d547eaf95c16a824c571e16 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3cc130234411ee44acc0077f0da2a3757e8bd5049d547eaf95c16a824c571e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cc130234411ee44acc0077f0da2a3757e8bd5049d547eaf95c16a824c571e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cc130234411ee44acc0077f0da2a3757e8bd5049d547eaf95c16a824c571e16", kill_on_drop: false }` [INFO] [stdout] 3cc130234411ee44acc0077f0da2a3757e8bd5049d547eaf95c16a824c571e16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0552544f5cf4194147ea0f75ab4613366306d1b6976ee8de1058723306b2b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be0552544f5cf4194147ea0f75ab4613366306d1b6976ee8de1058723306b2b2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling pyo3 v0.13.1 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling pyo3-macros v0.13.1 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking uom v0.30.0 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking serde_yaml v0.8.16 [INFO] [stderr] Checking moon_lander v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/gnc/guidance.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:163:68 [INFO] [stdout] | [INFO] [stdout] 163 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:163:77 [INFO] [stdout] | [INFO] [stdout] 163 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:163:83 [INFO] [stdout] | [INFO] [stdout] 163 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:163:89 [INFO] [stdout] | [INFO] [stdout] 163 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(ctr_angle, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:166:90 [INFO] [stdout] | [INFO] [stdout] 166 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:166:110 [INFO] [stdout] | [INFO] [stdout] 166 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:166:116 [INFO] [stdout] | [INFO] [stdout] 166 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(ctr_angle, PI/4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:169:68 [INFO] [stdout] | [INFO] [stdout] 169 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 169 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:169:83 [INFO] [stdout] | [INFO] [stdout] 169 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:169:89 [INFO] [stdout] | [INFO] [stdout] 169 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(ctr_angle, PI/2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:172:68 [INFO] [stdout] | [INFO] [stdout] 172 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:172:91 [INFO] [stdout] | [INFO] [stdout] 172 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:172:111 [INFO] [stdout] | [INFO] [stdout] 172 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:172:117 [INFO] [stdout] | [INFO] [stdout] 172 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -7.071067811865475, y: 7.071067811865475}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(ctr_angle, 3.0*PI/4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:175:68 [INFO] [stdout] | [INFO] [stdout] 175 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:175:78 [INFO] [stdout] | [INFO] [stdout] 175 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:175:84 [INFO] [stdout] | [INFO] [stdout] 175 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:175:90 [INFO] [stdout] | [INFO] [stdout] 175 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(ctr_angle, PI); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:186:68 [INFO] [stdout] | [INFO] [stdout] 186 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:186:77 [INFO] [stdout] | [INFO] [stdout] 186 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:186:83 [INFO] [stdout] | [INFO] [stdout] 186 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:186:89 [INFO] [stdout] | [INFO] [stdout] 186 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(ctr_thrust, 10_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:189:68 [INFO] [stdout] | [INFO] [stdout] 189 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:189:77 [INFO] [stdout] | [INFO] [stdout] 189 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:189:83 [INFO] [stdout] | [INFO] [stdout] 189 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:189:89 [INFO] [stdout] | [INFO] [stdout] 189 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(ctr_thrust, 20_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:192:68 [INFO] [stdout] | [INFO] [stdout] 192 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:192:77 [INFO] [stdout] | [INFO] [stdout] 192 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:192:83 [INFO] [stdout] | [INFO] [stdout] 192 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:192:89 [INFO] [stdout] | [INFO] [stdout] 192 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(ctr_thrust, 20_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:197:68 [INFO] [stdout] | [INFO] [stdout] 197 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:197:78 [INFO] [stdout] | [INFO] [stdout] 197 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:197:84 [INFO] [stdout] | [INFO] [stdout] 197 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:197:90 [INFO] [stdout] | [INFO] [stdout] 197 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -10.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(ctr_thrust, 10_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:200:68 [INFO] [stdout] | [INFO] [stdout] 200 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:200:78 [INFO] [stdout] | [INFO] [stdout] 200 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:200:84 [INFO] [stdout] | [INFO] [stdout] 200 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 200 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -20.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(ctr_thrust, 20_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:203:68 [INFO] [stdout] | [INFO] [stdout] 203 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:203:78 [INFO] [stdout] | [INFO] [stdout] 203 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:203:84 [INFO] [stdout] | [INFO] [stdout] 203 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:203:90 [INFO] [stdout] | [INFO] [stdout] 203 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: -30.0, y: 0.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | assert_eq!(ctr_thrust, 20_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:208:68 [INFO] [stdout] | [INFO] [stdout] 208 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:208:76 [INFO] [stdout] | [INFO] [stdout] 208 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:208:83 [INFO] [stdout] | [INFO] [stdout] 208 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:208:89 [INFO] [stdout] | [INFO] [stdout] 208 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 10.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(ctr_thrust, 10_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:211:68 [INFO] [stdout] | [INFO] [stdout] 211 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 20.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:211:76 [INFO] [stdout] | [INFO] [stdout] 211 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 20.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:211:83 [INFO] [stdout] | [INFO] [stdout] 211 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 20.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:211:89 [INFO] [stdout] | [INFO] [stdout] 211 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 20.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(ctr_thrust, 20_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:214:68 [INFO] [stdout] | [INFO] [stdout] 214 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 30.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:214:76 [INFO] [stdout] | [INFO] [stdout] 214 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 30.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:214:83 [INFO] [stdout] | [INFO] [stdout] 214 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 30.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:214:89 [INFO] [stdout] | [INFO] [stdout] 214 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: 30.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(ctr_thrust, 20_000.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:219:68 [INFO] [stdout] | [INFO] [stdout] 219 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -10.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:219:76 [INFO] [stdout] | [INFO] [stdout] 219 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -10.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:219:84 [INFO] [stdout] | [INFO] [stdout] 219 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -10.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:219:90 [INFO] [stdout] | [INFO] [stdout] 219 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -10.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | assert_eq!(ctr_thrust, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(ctr_angle, PI); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:223:68 [INFO] [stdout] | [INFO] [stdout] 223 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -20.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:223:76 [INFO] [stdout] | [INFO] [stdout] 223 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -20.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:223:84 [INFO] [stdout] | [INFO] [stdout] 223 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -20.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:223:90 [INFO] [stdout] | [INFO] [stdout] 223 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -20.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(ctr_thrust, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(ctr_angle, PI); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:227:68 [INFO] [stdout] | [INFO] [stdout] 227 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -30.0}, mass, thrust); [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:227:76 [INFO] [stdout] | [INFO] [stdout] 227 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -30.0}, mass, thrust); [INFO] [stdout] | ^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:227:84 [INFO] [stdout] | [INFO] [stdout] 227 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -30.0}, mass, thrust); [INFO] [stdout] | ^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = Z0, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:227:90 [INFO] [stdout] | [INFO] [stdout] 227 | let (ctr_thrust, ctr_angle) = control_translation(Vec2 {x: 0.0, y: -30.0}, mass, thrust); [INFO] [stdout] | ^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | assert_eq!(ctr_thrust, thrust); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, L = PInt>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(ctr_angle, PI); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | let eng_gimbal_ref = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | assert_approx_eq!(eng_gimbal_ref, 0.25000079328132707*PI/180.0, 1e-6); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | assert_approx_eq!(eng_gimbal_ref, 0.25000079328132707*PI/180.0, 1e-6); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | (*a - *b).abs() [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | assert_approx_eq!(eng_gimbal_ref, 0.25000079328132707*PI/180.0, 1e-6); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | assert_approx_eq!(eng_gimbal, 2.0*eng_gimbal_ref, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:254:34 [INFO] [stdout] | [INFO] [stdout] 254 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | assert_approx_eq!(eng_gimbal, 3.0*eng_gimbal_ref, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | assert_approx_eq!(eng_gimbal, 3.0*eng_gimbal_ref, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | assert_approx_eq!(eng_gimbal, max_eng_gimbal_vel, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | assert_approx_eq!(eng_gimbal, max_eng_gimbal_vel, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | (*a - *b).abs() [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | assert_approx_eq!(eng_gimbal, max_eng_gimbal_vel, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 274 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | assert_approx_eq!(eng_gimbal, max_eng_gimbal_vel, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | assert_approx_eq!(eng_gimbal, max_eng_gimbal_vel, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | (*a - *b).abs() [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | assert_approx_eq!(eng_gimbal, max_eng_gimbal_vel, 1e-6); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:293:34 [INFO] [stdout] | [INFO] [stdout] 293 | let eng_gimbal_ref = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | assert_approx_eq!(eng_gimbal_ref, 3.5*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | assert_approx_eq!(eng_gimbal_ref, 3.5*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | (*a - *b).abs() [INFO] [stdout] | ^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | assert_approx_eq!(eng_gimbal_ref, 3.5*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:300:60 [INFO] [stdout] | [INFO] [stdout] 300 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref - 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref - 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:303:30 [INFO] [stdout] | [INFO] [stdout] 303 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:304:60 [INFO] [stdout] | [INFO] [stdout] 304 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref - 1.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref - 1.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:307:30 [INFO] [stdout] | [INFO] [stdout] 307 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref, 1e-6); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:311:30 [INFO] [stdout] | [INFO] [stdout] 311 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:312:60 [INFO] [stdout] | [INFO] [stdout] 312 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 1.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 1.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:316:60 [INFO] [stdout] | [INFO] [stdout] 316 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:321:30 [INFO] [stdout] | [INFO] [stdout] 321 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:322:60 [INFO] [stdout] | [INFO] [stdout] 322 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:325:30 [INFO] [stdout] | [INFO] [stdout] 325 | let eng_gimbal = control_angular(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn control_angular(conf: &Scenario, dt: Time, ctr_ang_pos: Angle, sc_mass: Mass, sc_ang_pos: Angle, sc_ang_vel: AngularVelocity, eng_gimbal_cur: Angle) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- -------- ------------------ ------------- ----------------- --------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/control.rs:326:60 [INFO] [stdout] | [INFO] [stdout] 326 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/math.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | (*a - *b).abs() < eps, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] ::: src/gnc/control.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | assert_approx_eq!(eng_gimbal, eng_gimbal_ref + 2.0*0.25*PI/180.0, 1e-4); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/gnc/navigation.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let mut sc = Spacecraft::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/gnc/common.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(conf: Conf) -> Spacecraft { [INFO] [stdout] | ^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | dt_step: 1.0, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | spacecraft_acc: Vec2 {x: 1.0, y: 2.0}, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | spacecraft_acc: Vec2 {x: 1.0, y: 2.0}, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | spacecraft_ang_acc: 0.0, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(sc.cur.acc.x, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(sc.cur.vel.x, 1_673.0+1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(sc.cur.pos.x, 1_673.0+1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(sc.cur.acc.y, 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(sc.cur.vel.y, 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(sc.cur.pos.y, 15_000.0+2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | dt_step: 1.0, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | spacecraft_acc: Vec2 {x: 3.0, y: 4.0}, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | spacecraft_acc: Vec2 {x: 3.0, y: 4.0}, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, dyn Units, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | spacecraft_ang_acc: 0.0, [INFO] [stdout] | ^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<(dyn Dimension, B0>>> + 'static), (dyn Units + 'static), f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(sc.cur.acc.x, 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(sc.cur.vel.x, 1_673.0 + 1.0 + 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(sc.cur.pos.x, 1_673.0+1.0 + 1_673.0+1.0+3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(sc.cur.acc.y, 4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt, B0>>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(sc.cur.vel.y, 2.0 + 4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = NInt>>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(sc.cur.pos.y, 15_000.0 + 2.0 + 2.0+4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Quantity`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity>, Kind = (dyn Kind + 'static), J = Z0, N = Z0, I = Z0, Th = Z0, T = Z0>, _, f64>` [INFO] [stdout] found type `{float}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 151 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `moon_lander` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "be0552544f5cf4194147ea0f75ab4613366306d1b6976ee8de1058723306b2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0552544f5cf4194147ea0f75ab4613366306d1b6976ee8de1058723306b2b2", kill_on_drop: false }` [INFO] [stdout] be0552544f5cf4194147ea0f75ab4613366306d1b6976ee8de1058723306b2b2