[INFO] cloning repository https://github.com/bacongobbler/lardum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bacongobbler/lardum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbacongobbler%2Flardum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbacongobbler%2Flardum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f16448a8bbeb51bd468ba89393c683f886d243fb [INFO] checking bacongobbler/lardum/f16448a8bbeb51bd468ba89393c683f886d243fb against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbacongobbler%2Flardum" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bacongobbler/lardum on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bacongobbler/lardum [INFO] finished tweaking git repo https://github.com/bacongobbler/lardum [INFO] tweaked toml for git repo https://github.com/bacongobbler/lardum written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bacongobbler/lardum 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/tomassedovic/tcod-rs` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e8696fa2230b7b72851e78ee3642399ed02632b35b7042e225797ea9c18fff3 [INFO] running `Command { std: "docker" "start" "-a" "6e8696fa2230b7b72851e78ee3642399ed02632b35b7042e225797ea9c18fff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e8696fa2230b7b72851e78ee3642399ed02632b35b7042e225797ea9c18fff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8696fa2230b7b72851e78ee3642399ed02632b35b7042e225797ea9c18fff3", kill_on_drop: false }` [INFO] [stdout] 6e8696fa2230b7b72851e78ee3642399ed02632b35b7042e225797ea9c18fff3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d41504c16095a6a9441c6fad28466d179034ac9d8d9eeade1e039f07fc89ba14 [INFO] running `Command { std: "docker" "start" "-a" "d41504c16095a6a9441c6fad28466d179034ac9d8d9eeade1e039f07fc89ba14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tcod-sys v5.0.1 (https://github.com/tomassedovic/tcod-rs#d4ad0749) [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking tcod v0.15.0 (https://github.com/tomassedovic/tcod-rs#d4ad0749) [INFO] [stderr] Checking lardum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:1467:45 [INFO] [stdout] | [INFO] [stdout] 1467 | fn save_game(game: &Game) -> Result<(), Box> { [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] 1467 | fn save_game(game: &Game) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:1474:36 [INFO] [stdout] | [INFO] [stdout] 1474 | fn load_game() -> 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] 1474 | fn load_game() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn draw(&self, con: &mut Console) { [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] 166 | pub fn draw(&self, con: &mut dyn Console) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn clear(&self, con: &mut Console) { [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] 172 | pub fn clear(&self, con: &mut dyn Console) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:1467:45 [INFO] [stdout] | [INFO] [stdout] 1467 | fn save_game(game: &Game) -> Result<(), Box> { [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] 1467 | fn save_game(game: &Game) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:1474:36 [INFO] [stdout] | [INFO] [stdout] 1474 | fn load_game() -> 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] 1474 | fn load_game() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn draw(&self, con: &mut Console) { [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] 166 | pub fn draw(&self, con: &mut dyn Console) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn clear(&self, con: &mut Console) { [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] 172 | pub fn clear(&self, con: &mut dyn Console) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcod` [INFO] [stdout] --> src/main.rs:480:58 [INFO] [stdout] | [INFO] [stdout] 480 | fn cast_lightning(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcod` [INFO] [stdout] --> src/main.rs:486:56 [INFO] [stdout] | [INFO] [stdout] 486 | fn cast_confuse(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcod` [INFO] [stdout] --> src/main.rs:492:57 [INFO] [stdout] | [INFO] [stdout] 492 | fn cast_fireball(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_to` and `distance` are never used [INFO] [stdout] --> src/main.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn distance_to(&self, other: &Object) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn distance(&self, x: i32, y: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `callback` is never used [INFO] [stdout] --> src/main.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl DeathCallback { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 361 | fn callback(self, object: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `target_tile` is never used [INFO] [stdout] --> src/main.rs:437:4 [INFO] [stdout] | [INFO] [stdout] 437 | fn target_tile( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_death` is never used [INFO] [stdout] --> src/main.rs:1314:4 [INFO] [stdout] | [INFO] [stdout] 1314 | fn player_death(player: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `npc_death` is never used [INFO] [stdout] --> src/main.rs:1323:4 [INFO] [stdout] | [INFO] [stdout] 1323 | fn npc_death(npc: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcod` [INFO] [stdout] --> src/main.rs:480:58 [INFO] [stdout] | [INFO] [stdout] 480 | fn cast_lightning(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcod` [INFO] [stdout] --> src/main.rs:486:56 [INFO] [stdout] | [INFO] [stdout] 486 | fn cast_confuse(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcod` [INFO] [stdout] --> src/main.rs:492:57 [INFO] [stdout] | [INFO] [stdout] 492 | fn cast_fireball(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_to` and `distance` are never used [INFO] [stdout] --> src/main.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn distance_to(&self, other: &Object) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn distance(&self, x: i32, y: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `callback` is never used [INFO] [stdout] --> src/main.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl DeathCallback { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 361 | fn callback(self, object: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `target_tile` is never used [INFO] [stdout] --> src/main.rs:437:4 [INFO] [stdout] | [INFO] [stdout] 437 | fn target_tile( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_death` is never used [INFO] [stdout] --> src/main.rs:1314:4 [INFO] [stdout] | [INFO] [stdout] 1314 | fn player_death(player: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `npc_death` is never used [INFO] [stdout] --> src/main.rs:1323:4 [INFO] [stdout] | [INFO] [stdout] 1323 | fn npc_death(npc: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.96s [INFO] running `Command { std: "docker" "inspect" "d41504c16095a6a9441c6fad28466d179034ac9d8d9eeade1e039f07fc89ba14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41504c16095a6a9441c6fad28466d179034ac9d8d9eeade1e039f07fc89ba14", kill_on_drop: false }` [INFO] [stdout] d41504c16095a6a9441c6fad28466d179034ac9d8d9eeade1e039f07fc89ba14