[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1c%2Fhypoterra" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ca1c/hypoterra on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-3-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minimp3 v0.3.5 [INFO] [stderr] Downloaded coreaudio-sys v0.2.4 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded tiff v0.4.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.14 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded vek v0.9.12 [INFO] [stderr] Downloaded xml-rs v0.8.2 [INFO] [stderr] Downloaded xi-unicode v0.2.0 [INFO] [stderr] Downloaded claxon v0.4.2 [INFO] [stderr] Downloaded cpal v0.11.0 [INFO] [stderr] Downloaded hashbrown v0.7.1 [INFO] [stderr] Downloaded sdl2 v0.33.0 [INFO] [stderr] Downloaded bindgen v0.53.2 [INFO] [stderr] Downloaded image v0.23.3 [INFO] [stderr] Downloaded deflate v0.8.4 [INFO] [stderr] Downloaded ahash v0.3.2 [INFO] [stderr] Downloaded sdl2-sys v0.33.0 [INFO] [stderr] Downloaded png v0.16.2 [INFO] [stderr] Downloaded rodio v0.11.0 [INFO] [stderr] Downloaded tetra v0.3.3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e5fbc69f8dfe9eef263f05b5c28d39eeef28356f74f6fbdb41cb5a4211f6dc9 [INFO] running `Command { std: "docker" "start" "-a" "1e5fbc69f8dfe9eef263f05b5c28d39eeef28356f74f6fbdb41cb5a4211f6dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5fbc69f8dfe9eef263f05b5c28d39eeef28356f74f6fbdb41cb5a4211f6dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5fbc69f8dfe9eef263f05b5c28d39eeef28356f74f6fbdb41cb5a4211f6dc9", kill_on_drop: false }` [INFO] [stdout] 1e5fbc69f8dfe9eef263f05b5c28d39eeef28356f74f6fbdb41cb5a4211f6dc9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea6974a6ef760867e21b13e05b454facf93002e7bb05206b6c667f9e852c4469 [INFO] running `Command { std: "docker" "start" "-a" "ea6974a6ef760867e21b13e05b454facf93002e7bb05206b6c667f9e852c4469", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking png v0.16.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking twox-hash v1.5.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: 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: 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: 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "ea6974a6ef760867e21b13e05b454facf93002e7bb05206b6c667f9e852c4469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6974a6ef760867e21b13e05b454facf93002e7bb05206b6c667f9e852c4469", kill_on_drop: false }` [INFO] [stdout] ea6974a6ef760867e21b13e05b454facf93002e7bb05206b6c667f9e852c4469 [INFO] checking ca1c/hypoterra against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1c%2Fhypoterra" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ca1c/hypoterra on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b49173c36c323436cd2e6c97e382cad7d0d61ad791f006cebf844f1c8d74eb48 [INFO] running `Command { std: "docker" "start" "-a" "b49173c36c323436cd2e6c97e382cad7d0d61ad791f006cebf844f1c8d74eb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b49173c36c323436cd2e6c97e382cad7d0d61ad791f006cebf844f1c8d74eb48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49173c36c323436cd2e6c97e382cad7d0d61ad791f006cebf844f1c8d74eb48", kill_on_drop: false }` [INFO] [stdout] b49173c36c323436cd2e6c97e382cad7d0d61ad791f006cebf844f1c8d74eb48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf51205e61c8d766cb9a0ed87e0624c00dd7274b5be95a9720b8b8f583e6bc62 [INFO] running `Command { std: "docker" "start" "-a" "cf51205e61c8d766cb9a0ed87e0624c00dd7274b5be95a9720b8b8f583e6bc62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking png v0.16.2 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking twox-hash v1.5.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: 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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 149 | let player_texture = Texture::new(ctx, "./resources/sorcerer_idle_down.png")?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let player_animation = Animation::new( [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let npc_texture = Texture::new(ctx, "./resources/scientist_idle.png")?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let npc_animation = Animation::new( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let help_menu_texture = Texture::new(ctx, "./resources/help_menu.png")?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | let dialogue_box_texture = Texture::new(ctx, "./resources/dialogue_box.png")?; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let player_attack_instances: Vec = Vec::new(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | [INFO] [stdout] 202 | let mut tiles: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mut enemies: Vec = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | Ok(GameState { [INFO] [stdout] | ____________^ [INFO] [stdout] 268 | | player: Player::new( [INFO] [stdout] 269 | | player_animation, [INFO] [stdout] 270 | | player_position, [INFO] [stdout] ... | [INFO] [stdout] 295 | | ), [INFO] [stdout] 296 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 149 | let player_texture = Texture::new(ctx, "./resources/sorcerer_idle_down.png")?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let player_animation = Animation::new( [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let npc_texture = Texture::new(ctx, "./resources/scientist_idle.png")?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let npc_animation = Animation::new( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let help_menu_texture = Texture::new(ctx, "./resources/help_menu.png")?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | let dialogue_box_texture = Texture::new(ctx, "./resources/dialogue_box.png")?; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let player_attack_instances: Vec = Vec::new(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | [INFO] [stdout] 202 | let mut tiles: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mut enemies: Vec = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | Ok(GameState { [INFO] [stdout] | ____________^ [INFO] [stdout] 268 | | player: Player::new( [INFO] [stdout] 269 | | player_animation, [INFO] [stdout] 270 | | player_position, [INFO] [stdout] ... | [INFO] [stdout] 295 | | ), [INFO] [stdout] 296 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hypoterra` (bin "hypoterra") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hypoterra` (bin "hypoterra" test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cf51205e61c8d766cb9a0ed87e0624c00dd7274b5be95a9720b8b8f583e6bc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf51205e61c8d766cb9a0ed87e0624c00dd7274b5be95a9720b8b8f583e6bc62", kill_on_drop: false }` [INFO] [stdout] cf51205e61c8d766cb9a0ed87e0624c00dd7274b5be95a9720b8b8f583e6bc62