[INFO] cloning repository https://github.com/EthanHoldn/rust_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EthanHoldn/rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanHoldn%2Frust_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanHoldn%2Frust_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 758278ccdfd3dc7a508fa413fb6cdffb75cf07c0 [INFO] checking EthanHoldn/rust_game against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanHoldn%2Frust_game" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EthanHoldn/rust_game 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/EthanHoldn/rust_game [INFO] finished tweaking git repo https://github.com/EthanHoldn/rust_game [INFO] tweaked toml for git repo https://github.com/EthanHoldn/rust_game written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EthanHoldn/rust_game 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 getrandom v0.2.9 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded libc v0.2.144 [INFO] [stderr] Downloaded noise v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a472ab43aadc41dc1c6464325659f8fa95aee0c821e56fc55b2f837ac2329f4b [INFO] running `Command { std: "docker" "start" "-a" "a472ab43aadc41dc1c6464325659f8fa95aee0c821e56fc55b2f837ac2329f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a472ab43aadc41dc1c6464325659f8fa95aee0c821e56fc55b2f837ac2329f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a472ab43aadc41dc1c6464325659f8fa95aee0c821e56fc55b2f837ac2329f4b", kill_on_drop: false }` [INFO] [stdout] a472ab43aadc41dc1c6464325659f8fa95aee0c821e56fc55b2f837ac2329f4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 914e9cc288a8c079a1d0f2e50ef08a2be533b023a4f53f957a5866e753d85441 [INFO] running `Command { std: "docker" "start" "-a" "914e9cc288a8c079a1d0f2e50ef08a2be533b023a4f53f957a5866e753d85441", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApparatusType` [INFO] [stdout] --> src/display.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::apparatus::{Apparatus, ApparatusType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::BernoulliError` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::BernoulliError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ui.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{display::WindowContext, fire, world::Map, apparatus::{Apparatus, ApparatusType, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/apparatus.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApparatusType` [INFO] [stdout] --> src/display.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::apparatus::{Apparatus, ApparatusType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::BernoulliError` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::BernoulliError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ui.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{display::WindowContext, fire, world::Map, apparatus::{Apparatus, ApparatusType, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/apparatus.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_time` [INFO] [stdout] --> src/debug.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn debug(wc: &mut WindowContext, map: &mut Map, total_time: u128, after_display: u128, after_ui: u128, after_map: u128){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apparatus` [INFO] [stdout] --> src/ui.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(apparatus) = &map.selected_apparatus{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apparatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ui.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | for a in &map.apparatuses{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn update(wc: &mut WindowContext, mut map: &mut Map) { [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: unused variable: `total_time` [INFO] [stdout] --> src/debug.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn debug(wc: &mut WindowContext, map: &mut Map, total_time: u128, after_display: u128, after_ui: u128, after_map: u128){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wc` [INFO] [stdout] --> src/apparatus.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/apparatus.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [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/apparatus.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | fn render(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_time` is never read [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | previous_time = SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/apparatus.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apparatus` [INFO] [stdout] --> src/ui.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(apparatus) = &map.selected_apparatus{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apparatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ui.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | for a in &map.apparatuses{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn update(wc: &mut WindowContext, mut map: &mut Map) { [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: unused variable: `wc` [INFO] [stdout] --> src/apparatus.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/apparatus.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [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/apparatus.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | fn render(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_time` is never read [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | previous_time = SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/apparatus.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.50s [INFO] running `Command { std: "docker" "inspect" "914e9cc288a8c079a1d0f2e50ef08a2be533b023a4f53f957a5866e753d85441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914e9cc288a8c079a1d0f2e50ef08a2be533b023a4f53f957a5866e753d85441", kill_on_drop: false }` [INFO] [stdout] 914e9cc288a8c079a1d0f2e50ef08a2be533b023a4f53f957a5866e753d85441 [INFO] checking EthanHoldn/rust_game against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanHoldn%2Frust_game" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EthanHoldn/rust_game 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/EthanHoldn/rust_game [INFO] finished tweaking git repo https://github.com/EthanHoldn/rust_game [INFO] tweaked toml for git repo https://github.com/EthanHoldn/rust_game written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EthanHoldn/rust_game 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] af3ea0f8ba1c2c36612660d8607363f708c665e7427adf1964b08e34fff5c296 [INFO] running `Command { std: "docker" "start" "-a" "af3ea0f8ba1c2c36612660d8607363f708c665e7427adf1964b08e34fff5c296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af3ea0f8ba1c2c36612660d8607363f708c665e7427adf1964b08e34fff5c296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af3ea0f8ba1c2c36612660d8607363f708c665e7427adf1964b08e34fff5c296", kill_on_drop: false }` [INFO] [stdout] af3ea0f8ba1c2c36612660d8607363f708c665e7427adf1964b08e34fff5c296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b3e7fed18afe58410b5f5d95a53e59a928b290bd1101c80d0dd5ba9f78dd8e8b [INFO] running `Command { std: "docker" "start" "-a" "b3e7fed18afe58410b5f5d95a53e59a928b290bd1101c80d0dd5ba9f78dd8e8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApparatusType` [INFO] [stdout] --> src/display.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::apparatus::{Apparatus, ApparatusType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::BernoulliError` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::BernoulliError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ui.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{display::WindowContext, fire, world::Map, apparatus::{Apparatus, ApparatusType, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/apparatus.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_time` [INFO] [stdout] --> src/debug.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn debug(wc: &mut WindowContext, map: &mut Map, total_time: u128, after_display: u128, after_ui: u128, after_map: u128){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApparatusType` [INFO] [stdout] --> src/display.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::apparatus::{Apparatus, ApparatusType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::BernoulliError` [INFO] [stdout] --> src/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::BernoulliError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ui.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{display::WindowContext, fire, world::Map, apparatus::{Apparatus, ApparatusType, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/apparatus.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apparatus` [INFO] [stdout] --> src/ui.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(apparatus) = &map.selected_apparatus{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apparatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ui.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | for a in &map.apparatuses{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn update(wc: &mut WindowContext, mut map: &mut Map) { [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: unused variable: `wc` [INFO] [stdout] --> src/apparatus.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/apparatus.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [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/apparatus.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | fn render(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_time` is never read [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | previous_time = SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/apparatus.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_time` [INFO] [stdout] --> src/debug.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn debug(wc: &mut WindowContext, map: &mut Map, total_time: u128, after_display: u128, after_ui: u128, after_map: u128){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apparatus` [INFO] [stdout] --> src/ui.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(apparatus) = &map.selected_apparatus{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apparatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ui.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | for a in &map.apparatuses{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn update(wc: &mut WindowContext, mut map: &mut Map) { [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: unused variable: `wc` [INFO] [stdout] --> src/apparatus.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/apparatus.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [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/apparatus.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | fn render(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_time` is never read [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | previous_time = SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/apparatus.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn simulate(wc: &mut WindowContext, mut map: &mut Map){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.93s [INFO] running `Command { std: "docker" "inspect" "b3e7fed18afe58410b5f5d95a53e59a928b290bd1101c80d0dd5ba9f78dd8e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e7fed18afe58410b5f5d95a53e59a928b290bd1101c80d0dd5ba9f78dd8e8b", kill_on_drop: false }` [INFO] [stdout] b3e7fed18afe58410b5f5d95a53e59a928b290bd1101c80d0dd5ba9f78dd8e8b