[INFO] cloning repository https://github.com/pauleaster/struct_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pauleaster/struct_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauleaster%2Fstruct_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauleaster%2Fstruct_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b959502a293b52eceb34cbb386eeee6e62cd462b [INFO] checking pauleaster/struct_test against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauleaster%2Fstruct_test" "/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/pauleaster/struct_test on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pauleaster/struct_test [INFO] finished tweaking git repo https://github.com/pauleaster/struct_test [INFO] tweaked toml for git repo https://github.com/pauleaster/struct_test written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/pauleaster/struct_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df7f52cfaf1368d8b64ac8cbd4638b9e16d578b9809a304048b2eb13406177e3 [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" "df7f52cfaf1368d8b64ac8cbd4638b9e16d578b9809a304048b2eb13406177e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7f52cfaf1368d8b64ac8cbd4638b9e16d578b9809a304048b2eb13406177e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7f52cfaf1368d8b64ac8cbd4638b9e16d578b9809a304048b2eb13406177e3", kill_on_drop: false }` [INFO] [stdout] df7f52cfaf1368d8b64ac8cbd4638b9e16d578b9809a304048b2eb13406177e3 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf73f63b25f7a0d087fbe05c490427703cac3facc385dac8343961aca8fe083c [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" "cf73f63b25f7a0d087fbe05c490427703cac3facc385dac8343961aca8fe083c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking text_io v0.1.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking vertex_finder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing_inluding_prints` [INFO] [stdout] --> src/main.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let mut timing_inluding_prints: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing_inluding_prints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing_exluding_prints` [INFO] [stdout] --> src/main.rs:755:13 [INFO] [stdout] | [INFO] [stdout] 755 | let mut timing_exluding_prints: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing_exluding_prints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/main.rs:403:75 [INFO] [stdout] | [INFO] [stdout] 403 | ...nateDifferences, scale:f64, counter: usize, number_of_cycles_between_print: usize) -> (CoordinateVector, f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_cycles_between_print` [INFO] [stdout] --> src/main.rs:403:91 [INFO] [stdout] | [INFO] [stdout] 403 | ...ize, number_of_cycles_between_print: usize) -> (CoordinateVector, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_cycles_between_print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let mut result = self.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing_inluding_prints` [INFO] [stdout] --> src/main.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let mut timing_inluding_prints: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing_inluding_prints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing_exluding_prints` [INFO] [stdout] --> src/main.rs:755:13 [INFO] [stdout] | [INFO] [stdout] 755 | let mut timing_exluding_prints: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing_exluding_prints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/main.rs:403:75 [INFO] [stdout] | [INFO] [stdout] 403 | ...nateDifferences, scale:f64, counter: usize, number_of_cycles_between_print: usize) -> (CoordinateVector, f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_cycles_between_print` [INFO] [stdout] --> src/main.rs:403:91 [INFO] [stdout] | [INFO] [stdout] 403 | ...ize, number_of_cycles_between_print: usize) -> (CoordinateVector, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_cycles_between_print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let mut result = self.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | let mut timing_inluding_prints: f64 = 0.0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | let mut timing_exluding_prints: f64 = 0.0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn unit(x : f64, y: f64, z: f64 ) -> Coordinate{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn copy(&self) -> Coordinate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_quadrant` [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn first_quadrant(self) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equal` [INFO] [stdout] --> src/main.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn equal(&self, pt: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_float` [INFO] [stdout] --> src/main.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | fn sub_float(&self, value:f64) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | let mut timing_inluding_prints: f64 = 0.0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | let mut timing_exluding_prints: f64 = 0.0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn unit(x : f64, y: f64, z: f64 ) -> Coordinate{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn copy(&self) -> Coordinate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_quadrant` [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn first_quadrant(self) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equal` [INFO] [stdout] --> src/main.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn equal(&self, pt: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_float` [INFO] [stdout] --> src/main.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | fn sub_float(&self, value:f64) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "cf73f63b25f7a0d087fbe05c490427703cac3facc385dac8343961aca8fe083c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf73f63b25f7a0d087fbe05c490427703cac3facc385dac8343961aca8fe083c", kill_on_drop: false }` [INFO] [stdout] cf73f63b25f7a0d087fbe05c490427703cac3facc385dac8343961aca8fe083c