[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] 16b0518980662153e522ab6c06265281c0a4913e [INFO] checking Nodraak/MoonLander.rs against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNodraak%2FMoonLander.rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nodraak/MoonLander.rs on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-1/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c147fd6778f4d1c1cf87ec396eaecbcb26714ab2be048054c400a885e38d77d2 [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" "c147fd6778f4d1c1cf87ec396eaecbcb26714ab2be048054c400a885e38d77d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c147fd6778f4d1c1cf87ec396eaecbcb26714ab2be048054c400a885e38d77d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c147fd6778f4d1c1cf87ec396eaecbcb26714ab2be048054c400a885e38d77d2", kill_on_drop: false }` [INFO] [stdout] c147fd6778f4d1c1cf87ec396eaecbcb26714ab2be048054c400a885e38d77d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a52153656932662858890c46830d29d245fa2e0c18ef38115057828902b9cd3 [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" "9a52153656932662858890c46830d29d245fa2e0c18ef38115057828902b9cd3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling pyo3 v0.13.1 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.8 [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 ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling pyo3-macros v0.13.1 [INFO] [stderr] Checking serde_yaml v0.8.16 [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:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | spacecraft_acc: Vec {x: 1.0, y: 2.0}, [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 28 | 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:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | 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] 46 | spacecraft_acc: Vec {x: 3.0, y: 4.0}, [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 28 | use crate::utils::math::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/gnc/guidance.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/gnc/control.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:225:34 [INFO] [stdout] | [INFO] [stdout] 225 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:230:34 [INFO] [stdout] | [INFO] [stdout] 230 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:235:34 [INFO] [stdout] | [INFO] [stdout] 235 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:254:34 [INFO] [stdout] | [INFO] [stdout] 254 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:30 [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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:264:30 [INFO] [stdout] | [INFO] [stdout] 264 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:268:30 [INFO] [stdout] | [INFO] [stdout] 268 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:276:30 [INFO] [stdout] | [INFO] [stdout] 276 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:282:30 [INFO] [stdout] | [INFO] [stdout] 282 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn engine_controler(conf: &Scenario, ctr_ang_pos: f64, sc_mass: 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 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/gnc/navigation.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | 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:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(conf: Scenario) -> Spacecraft { [INFO] [stdout] | ^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `submatches` [INFO] [stdout] --> src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | ("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:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | ("ksp", submatches) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_submatches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tgo` [INFO] [stdout] --> src/adapters/ksp.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | fn export_to_csv(&self, tgo: f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tgo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `dt_step`, `spacecraft_ang_acc` in initializer of `adapters::common::SensorsValues` [INFO] [stdout] --> src/gnc/navigation.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | nav(&mut sc, SensorsValues { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `dt_step`, `spacecraft_ang_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | nav(&mut sc, SensorsValues { [INFO] [stdout] | ______________________^ [INFO] [stdout] 35 | | spacecraft_acc: Vec2 {x: 1.0, y: 2.0}, [INFO] [stdout] 36 | | spacecraft_altitude: None, [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ expected `&adapters::common::SensorsValues`, found struct `adapters::common::SensorsValues` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 34 | nav(&mut sc, &SensorsValues { [INFO] [stdout] 35 | spacecraft_acc: Vec2 {x: 1.0, y: 2.0}, [INFO] [stdout] 36 | spacecraft_altitude: None, [INFO] [stdout] 37 | }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `dt_step`, `spacecraft_ang_acc` in initializer of `adapters::common::SensorsValues` [INFO] [stdout] --> src/gnc/navigation.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | nav(&mut sc, SensorsValues { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `dt_step`, `spacecraft_ang_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gnc/navigation.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | nav(&mut sc, SensorsValues { [INFO] [stdout] | ______________________^ [INFO] [stdout] 46 | | spacecraft_acc: Vec2 {x: 3.0, y: 4.0}, [INFO] [stdout] 47 | | spacecraft_altitude: None, [INFO] [stdout] 48 | | }); [INFO] [stdout] | |_________^ expected `&adapters::common::SensorsValues`, found struct `adapters::common::SensorsValues` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 45 | nav(&mut sc, &SensorsValues { [INFO] [stdout] 46 | spacecraft_acc: Vec2 {x: 3.0, y: 4.0}, [INFO] [stdout] 47 | spacecraft_altitude: None, [INFO] [stdout] 48 | }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moon_lander` [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0422. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `export_to_csv_header` [INFO] [stdout] --> src/gnc/common.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn export_to_csv_header(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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: variable `KP` should have a snake case name [INFO] [stdout] --> src/gnc/control.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let KP = 0.2; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `kp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `KD` should have a snake case name [INFO] [stdout] --> src/gnc/control.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let KD = 1.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `kd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9a52153656932662858890c46830d29d245fa2e0c18ef38115057828902b9cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a52153656932662858890c46830d29d245fa2e0c18ef38115057828902b9cd3", kill_on_drop: false }` [INFO] [stdout] 9a52153656932662858890c46830d29d245fa2e0c18ef38115057828902b9cd3