[INFO] cloning repository https://github.com/morganPigeron/fall2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morganPigeron/fall2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorganPigeron%2Ffall2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorganPigeron%2Ffall2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b9e014b7e93f1f66cb35e4eb2f92946630ef0a6 [INFO] checking morganPigeron/fall2023 against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorganPigeron%2Ffall2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/morganPigeron/fall2023 [INFO] finished tweaking git repo https://github.com/morganPigeron/fall2023 [INFO] tweaked toml for git repo https://github.com/morganPigeron/fall2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/morganPigeron/fall2023 on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/morganPigeron/fall2023 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12b2cdcb6628d28b66fc81f190140389dfada3393e616c361ce3a88cb070ecc0 [INFO] running `Command { std: "docker" "start" "-a" "12b2cdcb6628d28b66fc81f190140389dfada3393e616c361ce3a88cb070ecc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12b2cdcb6628d28b66fc81f190140389dfada3393e616c361ce3a88cb070ecc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b2cdcb6628d28b66fc81f190140389dfada3393e616c361ce3a88cb070ecc0", kill_on_drop: false }` [INFO] [stdout] 12b2cdcb6628d28b66fc81f190140389dfada3393e616c361ce3a88cb070ecc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c708b4f0337297ca2987361e49b683855e167bb59bcac3282b0aa7771d5ea6e [INFO] running `Command { std: "docker" "start" "-a" "0c708b4f0337297ca2987361e49b683855e167bb59bcac3282b0aa7771d5ea6e", kill_on_drop: false }` [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking fall2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::Ordering, f64::consts::PI, io, ops::Mul}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::Ordering, f64::consts::PI, io, ops::Mul}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | for i in 0..creature_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | for i in 0..creature_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | for i in 0..my_scan_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | for i in 0..foe_scan_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | for i in 0..my_scan_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | for i in 0..my_drone_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | for i in 0..foe_drone_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | for i in 0..foe_scan_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | for i in 0..drone_scan_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | for i in 0..my_drone_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | for i in 0..visible_creature_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | for i in 0..foe_drone_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | for i in 0..radar_blip_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | for i in 0..drone_scan_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | for i in 0..visible_creature_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | for i in 0..radar_blip_count as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_angle` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn calculate_angle(x1: f64, y1: f64, x2: f64, y2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_angle` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn calculate_angle(x1: f64, y1: f64, x2: f64, y2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Creature { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 35 | id: i32, [INFO] [stdout] 36 | color: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Creature { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 35 | id: i32, [INFO] [stdout] 36 | color: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `creature_vx` and `creature_vy` are never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct VisibleCreature { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | creature_vx: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | creature_vy: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `creature_vx` and `creature_vy` are never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct VisibleCreature { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | creature_vx: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | creature_vy: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `emergency` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Drone { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | emergency: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Drone` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `emergency` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Drone { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | emergency: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Drone` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `my_score`, `foe_score`, `my_scan`, `foe_scan`, and `foe_drone` are never read [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 100 | my_score: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | foe_score: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 102 | my_scan: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | foe_scan: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | my_drone: Vec, [INFO] [stdout] 105 | foe_drone: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `my_score`, `foe_score`, `my_scan`, `foe_scan`, and `foe_drone` are never read [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 100 | my_score: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | foe_score: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 102 | my_scan: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | foe_scan: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | my_drone: Vec, [INFO] [stdout] 105 | foe_drone: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `saved` is never read [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct DroneBehavior { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | saved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DroneBehavior` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `saved` is never read [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct DroneBehavior { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | saved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DroneBehavior` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_drone_scan` is never used [INFO] [stdout] --> src/main.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 313 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | fn get_drone_scan(&self, drone_id: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_drone_scan` is never used [INFO] [stdout] --> src/main.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 313 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | fn get_drone_scan(&self, drone_id: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "0c708b4f0337297ca2987361e49b683855e167bb59bcac3282b0aa7771d5ea6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c708b4f0337297ca2987361e49b683855e167bb59bcac3282b0aa7771d5ea6e", kill_on_drop: false }` [INFO] [stdout] 0c708b4f0337297ca2987361e49b683855e167bb59bcac3282b0aa7771d5ea6e