[INFO] cloning repository https://github.com/patricklopdrup/obstacle_course [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patricklopdrup/obstacle_course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatricklopdrup%2Fobstacle_course", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatricklopdrup%2Fobstacle_course'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a01834e5947d6ae465aaf484f70f741d0f3aca65 [INFO] checking patricklopdrup/obstacle_course against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatricklopdrup%2Fobstacle_course" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patricklopdrup/obstacle_course [INFO] finished tweaking git repo https://github.com/patricklopdrup/obstacle_course [INFO] tweaked toml for git repo https://github.com/patricklopdrup/obstacle_course written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patricklopdrup/obstacle_course on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patricklopdrup/obstacle_course already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking patricklopdrup/obstacle_course against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatricklopdrup%2Fobstacle_course" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patricklopdrup/obstacle_course [INFO] finished tweaking git repo https://github.com/patricklopdrup/obstacle_course [INFO] tweaked toml for git repo https://github.com/patricklopdrup/obstacle_course written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patricklopdrup/obstacle_course on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patricklopdrup/obstacle_course already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73eaad2afd92c26fe2359dcdbd3947af0c318f471faee9f17ac9a6bc03623ccc [INFO] running `Command { std: "docker" "start" "-a" "73eaad2afd92c26fe2359dcdbd3947af0c318f471faee9f17ac9a6bc03623ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73eaad2afd92c26fe2359dcdbd3947af0c318f471faee9f17ac9a6bc03623ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73eaad2afd92c26fe2359dcdbd3947af0c318f471faee9f17ac9a6bc03623ccc", kill_on_drop: false }` [INFO] [stdout] 73eaad2afd92c26fe2359dcdbd3947af0c318f471faee9f17ac9a6bc03623ccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66073ae814847986e741ce5cacc03583cc4fcc081fc6ee27aeeb1a09432968a2 [INFO] running `Command { std: "docker" "start" "-a" "66073ae814847986e741ce5cacc03583cc4fcc081fc6ee27aeeb1a09432968a2", kill_on_drop: false }` [INFO] [stderr] Checking obstacle_course v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | for (key, val) in candidates.iter_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:102:72 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_zones_after_two_zone_on_same_line(&self, zones: &Vec, result: &mut Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `self_index` is assigned to, but never used [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let self_index: usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_self_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_index` is never read [INFO] [stdout] --> src/main.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | self_index = i; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Restriction` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Restriction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Restriction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | fn new(type_1: i32, type_2: i32, type_3: i32, type_4: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Zone` is never constructed [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Zone { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Zone { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 31 | fn new(x: i32, y: i32, restriction: Restriction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn get_length_from_origin(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn bungee_slingshow_o2(&self, zones: &Vec) -> Zone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn get_euclidian_distance(&self, other: &Zone) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn climbing_wall_o1(&self, zones: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn is_on_vertical_plane(&self, other: &Zone) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn is_on_horizontal_plane(&self, other: &Zone) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn salmon_ladder_slide_o3(&self, zones: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_zones_after_two_zone_on_same_line(&self, zones: &Vec, result: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_slope_value(&self, other: &Zone) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hash_key_from_f32` is never used [INFO] [stdout] --> src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn get_hash_key_from_f32(float_val: f32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_line_vertical` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn is_line_vertical(zones: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_line_horizontal` is never used [INFO] [stdout] --> src/main.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn is_line_horizontal(zones: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_zones_for_test` is never used [INFO] [stdout] --> src/main.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn construct_zones_for_test(size: usize, lines: &[&str]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | for (key, val) in candidates.iter_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:102:72 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_zones_after_two_zone_on_same_line(&self, zones: &Vec, result: &mut Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `self_index` is assigned to, but never used [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let self_index: usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_self_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_index` is never read [INFO] [stdout] --> src/main.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | self_index = i; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_length_from_origin` is never used [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Zone { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn get_length_from_origin(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_line_horizontal` is never used [INFO] [stdout] --> src/main.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn is_line_horizontal(zones: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "66073ae814847986e741ce5cacc03583cc4fcc081fc6ee27aeeb1a09432968a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66073ae814847986e741ce5cacc03583cc4fcc081fc6ee27aeeb1a09432968a2", kill_on_drop: false }` [INFO] [stdout] 66073ae814847986e741ce5cacc03583cc4fcc081fc6ee27aeeb1a09432968a2