[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] e29e4fab5a6324a0827efc2d2ca66ab58fd8112c [INFO] checking pauleaster/struct_test against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauleaster%2Fstruct_test" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pauleaster/struct_test on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-29/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01b02368119aafb53ef8d539238d04f64195e107064b64350c20186656c50c40 [INFO] running `Command { std: "docker" "start" "-a" "01b02368119aafb53ef8d539238d04f64195e107064b64350c20186656c50c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01b02368119aafb53ef8d539238d04f64195e107064b64350c20186656c50c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b02368119aafb53ef8d539238d04f64195e107064b64350c20186656c50c40", kill_on_drop: false }` [INFO] [stdout] 01b02368119aafb53ef8d539238d04f64195e107064b64350c20186656c50c40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97ec926070613b0026c0d2d7565d11d0741ec40167c45a834c1827b7b1942944 [INFO] running `Command { std: "docker" "start" "-a" "97ec926070613b0026c0d2d7565d11d0741ec40167c45a834c1827b7b1942944", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking text_io v0.1.9 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking vertex_finder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate text_io; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate text_io; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `min_idx` is assigned to, but never used [INFO] [stdout] --> src/main.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | let mut min_idx : usize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_min_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_idx` is never read [INFO] [stdout] --> src/main.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | min_idx = idx; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_delta_mag_max` [INFO] [stdout] --> src/main.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | let abs_delta_mag_max = max_val; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_delta_mag_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let mut x2 = Coordinate::new(0.95 , 0.,-(1.0 - 0.95_f64.powi(2)).sqrt()); [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:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | let mut x3 = Coordinate::new(-(0.95_f64/2.0).sqrt() , (0.95_f64/2.0).sqrt() ,-(1.0 - 0.95_f64.powi(2)).sqrt()); [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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut x4 = Coordinate::new(-0.95/2.0_f64.sqrt() , -0.95/2.0_f64.sqrt() , -(1.0 - 0.95_f64.powi(2)).sqrt()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_quadrant` [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn first_quadrant(self) -> 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: `equal` [INFO] [stdout] --> src/main.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | 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:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn sub_float(&self, value:f64) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `min_idx` is assigned to, but never used [INFO] [stdout] --> src/main.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | let mut min_idx : usize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_min_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_idx` is never read [INFO] [stdout] --> src/main.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | min_idx = idx; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs_delta_mag_max` [INFO] [stdout] --> src/main.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | let abs_delta_mag_max = max_val; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abs_delta_mag_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let mut x2 = Coordinate::new(0.95 , 0.,-(1.0 - 0.95_f64.powi(2)).sqrt()); [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:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | let mut x3 = Coordinate::new(-(0.95_f64/2.0).sqrt() , (0.95_f64/2.0).sqrt() ,-(1.0 - 0.95_f64.powi(2)).sqrt()); [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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut x4 = Coordinate::new(-0.95/2.0_f64.sqrt() , -0.95/2.0_f64.sqrt() , -(1.0 - 0.95_f64.powi(2)).sqrt()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_quadrant` [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn first_quadrant(self) -> 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: `equal` [INFO] [stdout] --> src/main.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | 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:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn sub_float(&self, value:f64) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "97ec926070613b0026c0d2d7565d11d0741ec40167c45a834c1827b7b1942944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ec926070613b0026c0d2d7565d11d0741ec40167c45a834c1827b7b1942944", kill_on_drop: false }` [INFO] [stdout] 97ec926070613b0026c0d2d7565d11d0741ec40167c45a834c1827b7b1942944