[INFO] cloning repository https://github.com/ca1c/hypoterra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ca1c/hypoterra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1c%2Fhypoterra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1c%2Fhypoterra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bdfaaf70297e8ec7ddb7ed7165e77941b450f85 [INFO] checking ca1c/hypoterra against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1c%2Fhypoterra" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ca1c/hypoterra on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ca1c/hypoterra [INFO] finished tweaking git repo https://github.com/ca1c/hypoterra [INFO] tweaked toml for git repo https://github.com/ca1c/hypoterra written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ca1c/hypoterra 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coreaudio-sys v0.2.4 [INFO] [stderr] Downloaded const-random v0.1.8 [INFO] [stderr] Downloaded thiserror-impl v1.0.14 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded tinyvec v0.3.3 [INFO] [stderr] Downloaded const-random-macro v0.1.8 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded vek v0.9.12 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded hashbrown v0.7.1 [INFO] [stderr] Downloaded regex v1.3.6 [INFO] [stderr] Downloaded sdl2-sys v0.33.0 [INFO] [stderr] Downloaded nom v5.1.1 [INFO] [stderr] Downloaded bindgen v0.53.2 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded ahash v0.3.2 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded sdl2 v0.33.0 [INFO] [stderr] Downloaded tetra v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32784e60755b5bb711ebf326076881096797512550d3a4cc3e32f2c9c106da44 [INFO] running `Command { std: "docker" "start" "-a" "32784e60755b5bb711ebf326076881096797512550d3a4cc3e32f2c9c106da44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32784e60755b5bb711ebf326076881096797512550d3a4cc3e32f2c9c106da44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32784e60755b5bb711ebf326076881096797512550d3a4cc3e32f2c9c106da44", kill_on_drop: false }` [INFO] [stdout] 32784e60755b5bb711ebf326076881096797512550d3a4cc3e32f2c9c106da44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 739ae7a6efe36f751188e2b07c8c0d11aafd7b1bb227b343710a8c35d60151b2 [INFO] running `Command { std: "docker" "start" "-a" "739ae7a6efe36f751188e2b07c8c0d11aafd7b1bb227b343710a8c35d60151b2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Checking png v0.16.2 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking image v0.23.3 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Checking thiserror v1.0.14 [INFO] [stderr] Checking rodio v0.11.0 [INFO] [stderr] Checking tetra v0.3.3 [INFO] [stderr] Checking hypoterra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Help_Menu` should have an upper camel case name [INFO] [stdout] --> src/game_structs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Help_Menu { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/level1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | for mut attack in &mut self.player_attack_instances { [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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | for mut enemy in &mut self.enemy_instances { [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:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | for mut attack in &mut self.player_attack_instances { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Help_Menu` should have an upper camel case name [INFO] [stdout] --> src/game_structs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Help_Menu { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | &self.enemy_instances.remove(index_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/level1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | for mut attack in &mut self.player_attack_instances { [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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | for mut enemy in &mut self.enemy_instances { [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:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | for mut attack in &mut self.player_attack_instances { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | &self.enemy_instances.remove(index_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.44s [INFO] running `Command { std: "docker" "inspect" "739ae7a6efe36f751188e2b07c8c0d11aafd7b1bb227b343710a8c35d60151b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739ae7a6efe36f751188e2b07c8c0d11aafd7b1bb227b343710a8c35d60151b2", kill_on_drop: false }` [INFO] [stdout] 739ae7a6efe36f751188e2b07c8c0d11aafd7b1bb227b343710a8c35d60151b2 [INFO] checking ca1c/hypoterra against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1c%2Fhypoterra" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ca1c/hypoterra on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ca1c/hypoterra [INFO] finished tweaking git repo https://github.com/ca1c/hypoterra [INFO] tweaked toml for git repo https://github.com/ca1c/hypoterra written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ca1c/hypoterra 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e741f0670ec641d83932d0f986e66b084bc8715aa2ed4ac2921379495937b58 [INFO] running `Command { std: "docker" "start" "-a" "4e741f0670ec641d83932d0f986e66b084bc8715aa2ed4ac2921379495937b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e741f0670ec641d83932d0f986e66b084bc8715aa2ed4ac2921379495937b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e741f0670ec641d83932d0f986e66b084bc8715aa2ed4ac2921379495937b58", kill_on_drop: false }` [INFO] [stdout] 4e741f0670ec641d83932d0f986e66b084bc8715aa2ed4ac2921379495937b58 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f3b1b31b066a04f0a9ba96e1eb7ac5a682a4371790fdd41a5c3743bc25d1241 [INFO] running `Command { std: "docker" "start" "-a" "4f3b1b31b066a04f0a9ba96e1eb7ac5a682a4371790fdd41a5c3743bc25d1241", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.16.2 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.3 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Checking thiserror v1.0.14 [INFO] [stderr] Checking rodio v0.11.0 [INFO] [stderr] Checking tetra v0.3.3 [INFO] [stderr] Checking hypoterra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Help_Menu` should have an upper camel case name [INFO] [stdout] --> src/game_structs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Help_Menu { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/level1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | for mut attack in &mut self.player_attack_instances { [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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | for mut enemy in &mut self.enemy_instances { [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:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | for mut attack in &mut self.player_attack_instances { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | &self.enemy_instances.remove(index_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Help_Menu` should have an upper camel case name [INFO] [stdout] --> src/game_structs.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Help_Menu { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HelpMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | for (y, row) in level1::TILEMAP.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/level1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TILEMAP: [[i32; 80]; 80] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | for mut attack in &mut self.player_attack_instances { [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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | for mut enemy in &mut self.enemy_instances { [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:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | for mut attack in &mut self.player_attack_instances { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | &self.player_attack_instances.remove(index_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &self.player_attack_instances.remove(index_2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | &self.enemy_instances.remove(index_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &self.enemy_instances.remove(index_1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.56s [INFO] running `Command { std: "docker" "inspect" "4f3b1b31b066a04f0a9ba96e1eb7ac5a682a4371790fdd41a5c3743bc25d1241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f3b1b31b066a04f0a9ba96e1eb7ac5a682a4371790fdd41a5c3743bc25d1241", kill_on_drop: false }` [INFO] [stdout] 4f3b1b31b066a04f0a9ba96e1eb7ac5a682a4371790fdd41a5c3743bc25d1241