[INFO] cloning repository https://github.com/nabereko/yildiz-avcisi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nabereko/yildiz-avcisi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnabereko%2Fyildiz-avcisi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnabereko%2Fyildiz-avcisi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a46e7447f2565e1d346ce19ace30d2ff858ac57
[INFO] checking nabereko/yildiz-avcisi against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnabereko%2Fyildiz-avcisi" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nabereko/yildiz-avcisi
[INFO] finished tweaking git repo https://github.com/nabereko/yildiz-avcisi
[INFO] tweaked toml for git repo https://github.com/nabereko/yildiz-avcisi written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nabereko/yildiz-avcisi on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nabereko/yildiz-avcisi 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f
[INFO] running `Command { std: "docker" "start" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking yildiz_avcisi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/main.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let gv = match (id % 3) { 0 => 2, 1 => 3, _ => 4 } + (hp_i as i32)/2;
[INFO] [stdout]    |                    ^      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -     let gv = match (id % 3) { 0 => 2, 1 => 3, _ => 4 } + (hp_i as i32)/2;
[INFO] [stdout] 60 +     let gv = match id % 3 { 0 => 2, 1 => 3, _ => 4 } + (hp_i as i32)/2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/main.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let gv = match (id % 3) { 0 => 2, 1 => 3, _ => 4 } + (hp_i as i32)/2;
[INFO] [stdout]    |                    ^      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -     let gv = match (id % 3) { 0 => 2, 1 => 3, _ => 4 } + (hp_i as i32)/2;
[INFO] [stdout] 60 +     let gv = match id % 3 { 0 => 2, 1 => 3, _ => 4 } + (hp_i as i32)/2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:888:59
[INFO] [stdout]     |
[INFO] [stdout] 888 |                     if b.phase > 0 { b.bullet_cooldown *= (0.82 - b.phase as f32*0.05); }
[INFO] [stdout]     |                                                           ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 888 -                     if b.phase > 0 { b.bullet_cooldown *= (0.82 - b.phase as f32*0.05); }
[INFO] [stdout] 888 +                     if b.phase > 0 { b.bullet_cooldown *= 0.82 - b.phase as f32*0.05; }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:888:59
[INFO] [stdout]     |
[INFO] [stdout] 888 |                     if b.phase > 0 { b.bullet_cooldown *= (0.82 - b.phase as f32*0.05); }
[INFO] [stdout]     |                                                           ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 888 -                     if b.phase > 0 { b.bullet_cooldown *= (0.82 - b.phase as f32*0.05); }
[INFO] [stdout] 888 +                     if b.phase > 0 { b.bullet_cooldown *= 0.82 - b.phase as f32*0.05; }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let base = |x: f32| 0.5 + x * 0.5;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `difficulty` is never read
[INFO] [stdout]    --> src/main.rs:393:77
[INFO] [stdout]     |
[INFO] [stdout] 393 |                     boss = None; shake = 0.0; flash = 0.0; boss_killed = 0; difficulty = 1.0;
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 566 |                 difficulty = 1.0 + player.gold as f32 / 150.0 + wave as f32 * 0.6;
[INFO] [stdout]     |                 ----------------------------------------------------------------- `difficulty` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let base = |x: f32| 0.5 + x * 0.5;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `difficulty` is never read
[INFO] [stdout]    --> src/main.rs:393:77
[INFO] [stdout]     |
[INFO] [stdout] 393 |                     boss = None; shake = 0.0; flash = 0.0; boss_killed = 0; difficulty = 1.0;
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 566 |                 difficulty = 1.0 + player.gold as f32 / 150.0 + wave as f32 * 0.6;
[INFO] [stdout]     |                 ----------------------------------------------------------------- `difficulty` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `damage` is never read
[INFO] [stdout]    --> src/main.rs:108:52
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct EBullet { x: f32, y: f32, vx: f32, vy: f32, damage: i32, life: f32, size: f32 }
[INFO] [stdout]     |        ------- field in this struct                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EBullet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `split` is never read
[INFO] [stdout]    --> src/main.rs:113:79
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct Asteroid {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 112 |     x: f32, y: f32, vx: f32, vy: f32, size: f32, rot: f32, rot_speed: f32,
[INFO] [stdout] 113 |     color: Color, hp: i32, max_hp: i32, kind: AsteroidKind, verts: Vec<Vec2>, split: bool,
[INFO] [stdout]     |                                                                               ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Asteroid` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EnemyRender` is never constructed
[INFO] [stdout]    --> src/main.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct EnemyRender {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `desc`, and `lv` are never read
[INFO] [stdout]    --> src/main.rs:266:19
[INFO] [stdout]     |
[INFO] [stdout] 266 | struct ShopItem { name: &'static str, desc: &'static str, cost_base: i64, lv: &'static str, key: KeyCode }
[INFO] [stdout]     |        --------   ^^^^                ^^^^                                ^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        fields in this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `damage` is never read
[INFO] [stdout]    --> src/main.rs:108:52
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct EBullet { x: f32, y: f32, vx: f32, vy: f32, damage: i32, life: f32, size: f32 }
[INFO] [stdout]     |        ------- field in this struct                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EBullet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `split` is never read
[INFO] [stdout]    --> src/main.rs:113:79
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct Asteroid {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 112 |     x: f32, y: f32, vx: f32, vy: f32, size: f32, rot: f32, rot_speed: f32,
[INFO] [stdout] 113 |     color: Color, hp: i32, max_hp: i32, kind: AsteroidKind, verts: Vec<Vec2>, split: bool,
[INFO] [stdout]     |                                                                               ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Asteroid` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EnemyRender` is never constructed
[INFO] [stdout]    --> src/main.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct EnemyRender {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `desc`, and `lv` are never read
[INFO] [stdout]    --> src/main.rs:266:19
[INFO] [stdout]     |
[INFO] [stdout] 266 | struct ShopItem { name: &'static str, desc: &'static str, cost_base: i64, lv: &'static str, key: KeyCode }
[INFO] [stdout]     |        --------   ^^^^                ^^^^                                ^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        fields in this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.15s
[INFO] running `Command { std: "docker" "inspect" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f", kill_on_drop: false }`
[INFO] [stdout] 9eef42edc037eba0bdbac938da07238d15cc9b36cc52aa93db4f314b671f2e7f
