[INFO] cloning repository https://github.com/Joald/advgame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joald/advgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoald%2Fadvgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoald%2Fadvgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c515a949e8973d12cb590ff2c3049435bdcaf83 [INFO] checking Joald/advgame against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoald%2Fadvgame" "/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/Joald/advgame 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/Joald/advgame [INFO] finished tweaking git repo https://github.com/Joald/advgame [INFO] tweaked toml for git repo https://github.com/Joald/advgame written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Joald/advgame 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] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.97.0 [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] 21b489c027b75a80822f6c896061c933a054ff3fe72197a5342cec7743f9b4e0 [INFO] running `Command { std: "docker" "start" "-a" "21b489c027b75a80822f6c896061c933a054ff3fe72197a5342cec7743f9b4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21b489c027b75a80822f6c896061c933a054ff3fe72197a5342cec7743f9b4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b489c027b75a80822f6c896061c933a054ff3fe72197a5342cec7743f9b4e0", kill_on_drop: false }` [INFO] [stdout] 21b489c027b75a80822f6c896061c933a054ff3fe72197a5342cec7743f9b4e0 [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] 4383c870a7c8edc2d259645179f95fdf5f99de107a79fc059b5aa29163e29672 [INFO] running `Command { std: "docker" "start" "-a" "4383c870a7c8edc2d259645179f95fdf5f99de107a79fc059b5aa29163e29672", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling ncurses v5.97.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking advgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/main.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | {name} {format}{regen}\n\ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | Copyright © 2018-2019 Jacek Olczyk", [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/main.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | {name} {format}{regen}\n\ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | Copyright © 2018-2019 Jacek Olczyk", [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/console.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | '0'...'9' => Action::Number(((ch as u8) - ('0' as u8)) as usize), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/console.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | '0'...'9' => Action::Number(((ch as u8) - ('0' as u8)) as usize), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_components.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn map_state_id(&self, mapping: &Fn(usize) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 | pub fn map_state_id(&self, mapping: &dyn Fn(usize) -> Result) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_components.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn map_state_id(&self, mapping: &Fn(usize) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 | pub fn map_state_id(&self, mapping: &dyn Fn(usize) -> Result) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_components.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn map_state_id(&self, mapping: &Fn(usize) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 | pub fn map_state_id(&self, mapping: &dyn Fn(usize) -> Result) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_components.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn map_state_id(&self, mapping: &Fn(usize) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 | pub fn map_state_id(&self, mapping: &dyn Fn(usize) -> Result) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_components.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut stage = self; [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/game_components.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut stage = self; [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: field `in_use` is never read [INFO] [stdout] --> src/game_components.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub in_use: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_use` is never read [INFO] [stdout] --> src/game_components.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub in_use: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "4383c870a7c8edc2d259645179f95fdf5f99de107a79fc059b5aa29163e29672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4383c870a7c8edc2d259645179f95fdf5f99de107a79fc059b5aa29163e29672", kill_on_drop: false }` [INFO] [stdout] 4383c870a7c8edc2d259645179f95fdf5f99de107a79fc059b5aa29163e29672