[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] f6728ec8cdd47a52fd576f3d0fee13d27dd0fc2f [INFO] checking Nodraak/MoonLander.rs against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [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 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36809c7f3a35bd03bad7d0a3de4392f196dad30a5006861f147fa16ddde42e48 [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" "36809c7f3a35bd03bad7d0a3de4392f196dad30a5006861f147fa16ddde42e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36809c7f3a35bd03bad7d0a3de4392f196dad30a5006861f147fa16ddde42e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36809c7f3a35bd03bad7d0a3de4392f196dad30a5006861f147fa16ddde42e48", kill_on_drop: false }` [INFO] [stdout] 36809c7f3a35bd03bad7d0a3de4392f196dad30a5006861f147fa16ddde42e48 [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e39b51cfdd38f5fd2d77c94f5983f84913a20e2ea37f7fba95633116ab8fc1bd [INFO] running `Command { std: "docker" "start" "-a" "e39b51cfdd38f5fd2d77c94f5983f84913a20e2ea37f7fba95633116ab8fc1bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling pyo3 v0.13.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling quote v1.0.8 [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 ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.18 [INFO] [stderr] Compiling pyo3-macros v0.13.1 [INFO] [stderr] Checking moon_lander v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/gnc/navigation.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | spacecraft_acc: Vec2 {x: 1.0, y: 2.0}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 33 | spacecraft_acc: Vec {x: 1.0, y: 2.0}, [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 | use crate::utils::math::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec2` in this scope [INFO] [stdout] --> src/gnc/navigation.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | spacecraft_acc: Vec2 {x: 3.0, y: 4.0}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | spacecraft_acc: Vec {x: 3.0, y: 4.0}, [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 | use crate::utils::math::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/gnc/guidance.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `submatches` [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | ("sim", submatches) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_submatches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `submatches` [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | ("ksp", submatches) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_submatches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control` [INFO] [stdout] --> src/adapters/ksp.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | fn write_actuators(&mut self, control: ActuatorsValues) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tgo` [INFO] [stdout] --> src/adapters/ksp.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn export_to_csv(&self, tgo: i64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tgo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `py` [INFO] [stdout] --> src/adapters/ksp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | py: &'py Python<'py>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `krpc` [INFO] [stdout] --> src/adapters/ksp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | krpc: &'py PyModule, // krpc module [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `conn` [INFO] [stdout] --> src/adapters/ksp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | conn: &'py PyAny, // krpc connection object [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOON_MASS` [INFO] [stdout] --> src/utils/space.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MOON_MASS: f64 = 7.342 * 1e22; // kg [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOON_ORBITAL_15000` [INFO] [stdout] --> src/utils/space.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MOON_ORBITAL_15000: f64 = 1673.004; // m/s - (MOON_MU/(MOON_RADIUS+15_000.0)).powf(0.5) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | let eng_gimbal_ref = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | let eng_gimbal_ref = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:285:30 [INFO] [stdout] | [INFO] [stdout] 285 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:289:30 [INFO] [stdout] | [INFO] [stdout] 289 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:293:30 [INFO] [stdout] | [INFO] [stdout] 293 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:297:30 [INFO] [stdout] | [INFO] [stdout] 297 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:301:30 [INFO] [stdout] | [INFO] [stdout] 301 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:307:30 [INFO] [stdout] | [INFO] [stdout] 307 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:311:30 [INFO] [stdout] | [INFO] [stdout] 311 | let eng_gimbal = engine_controler(ctr_angle, sc_mass, sc_thrust, sc_att_cur, eng_gimbal_cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- ------- --------- ---------- -------------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/gnc/control.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn engine_controler(ctr_ang_pos: f64, sc_mass: f64, sc_thrust: f64, sc_ang_pos: f64, sc_ang_vel: f64, eng_gimbal_cur: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- ------------ -------------- --------------- --------------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | adapter.write_actuators(actuators_vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `spacecraft_ang_acc` in initializer of `adapters::common::SensorsValues` [INFO] [stdout] --> src/gnc/navigation.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | nav(&mut sc, SensorsValues { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `spacecraft_ang_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `spacecraft_ang_acc` in initializer of `adapters::common::SensorsValues` [INFO] [stdout] --> src/gnc/navigation.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | nav(&mut sc, SensorsValues { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `spacecraft_ang_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0422. [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" "e39b51cfdd38f5fd2d77c94f5983f84913a20e2ea37f7fba95633116ab8fc1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39b51cfdd38f5fd2d77c94f5983f84913a20e2ea37f7fba95633116ab8fc1bd", kill_on_drop: false }` [INFO] [stdout] e39b51cfdd38f5fd2d77c94f5983f84913a20e2ea37f7fba95633116ab8fc1bd