[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] testing bacongobbler/lardum against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbacongobbler%2Flardum" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bacongobbler/lardum on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-38/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 964cb0379b1dbd92cdcac279857be6b6016e405b05d1c75edd9dee26d5b6b012 [INFO] running `Command { std: "docker" "start" "-a" "964cb0379b1dbd92cdcac279857be6b6016e405b05d1c75edd9dee26d5b6b012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "964cb0379b1dbd92cdcac279857be6b6016e405b05d1c75edd9dee26d5b6b012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964cb0379b1dbd92cdcac279857be6b6016e405b05d1c75edd9dee26d5b6b012", kill_on_drop: false }` [INFO] [stdout] 964cb0379b1dbd92cdcac279857be6b6016e405b05d1c75edd9dee26d5b6b012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa0308cd632497bd9e78b51adcb14d52f79576121bf0c2aa2e85ac8a1b484663 [INFO] running `Command { std: "docker" "start" "-a" "fa0308cd632497bd9e78b51adcb14d52f79576121bf0c2aa2e85ac8a1b484663", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling tcod-sys v5.0.1 (https://github.com/tomassedovic/tcod-rs#d4ad0749) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling tcod v0.15.0 (https://github.com/tomassedovic/tcod-rs#d4ad0749) [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1467 - fn save_game(game: &Game) -> Result<(), Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1474 - fn load_game() -> Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - pub fn draw(&self, con: &mut Console) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - pub fn clear(&self, con: &mut Console) { [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: associated function is never used: `distance_to` [INFO] [stdout] --> src/main.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn distance_to(&self, other: &Object) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/main.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn distance(&self, x: i32, y: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `callback` [INFO] [stdout] --> src/main.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn callback(self, object: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `target_tile` [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 is never used: `player_death` [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 is never used: `npc_death` [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "fa0308cd632497bd9e78b51adcb14d52f79576121bf0c2aa2e85ac8a1b484663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0308cd632497bd9e78b51adcb14d52f79576121bf0c2aa2e85ac8a1b484663", kill_on_drop: false }` [INFO] [stdout] fa0308cd632497bd9e78b51adcb14d52f79576121bf0c2aa2e85ac8a1b484663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72fd377f06da9edbb0f6fdcf98aa389912be2a83d40002351672863b51d57bb1 [INFO] running `Command { std: "docker" "start" "-a" "72fd377f06da9edbb0f6fdcf98aa389912be2a83d40002351672863b51d57bb1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1467 - fn save_game(game: &Game) -> Result<(), Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1474 - fn load_game() -> Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - pub fn draw(&self, con: &mut Console) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - pub fn clear(&self, con: &mut Console) { [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: associated function is never used: `distance_to` [INFO] [stdout] --> src/main.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn distance_to(&self, other: &Object) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/main.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn distance(&self, x: i32, y: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `callback` [INFO] [stdout] --> src/main.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn callback(self, object: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `target_tile` [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 is never used: `player_death` [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 is never used: `npc_death` [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "72fd377f06da9edbb0f6fdcf98aa389912be2a83d40002351672863b51d57bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72fd377f06da9edbb0f6fdcf98aa389912be2a83d40002351672863b51d57bb1", kill_on_drop: false }` [INFO] [stdout] 72fd377f06da9edbb0f6fdcf98aa389912be2a83d40002351672863b51d57bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f55f3fd993941e260f387ab03108c1b57790fdcd712af217687303b5b15c2350 [INFO] running `Command { std: "docker" "start" "-a" "f55f3fd993941e260f387ab03108c1b57790fdcd712af217687303b5b15c2350", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:1467:45 [INFO] [stderr] | [INFO] [stderr] 1467 | fn save_game(game: &Game) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1467 - fn save_game(game: &Game) -> Result<(), Box> { [INFO] [stderr] 1467 + fn save_game(game: &Game) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:1474:36 [INFO] [stderr] | [INFO] [stderr] 1474 | fn load_game() -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1474 - fn load_game() -> Result> { [INFO] [stderr] 1474 + fn load_game() -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:166:34 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn draw(&self, con: &mut Console) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 166 - pub fn draw(&self, con: &mut Console) { [INFO] [stderr] 166 + pub fn draw(&self, con: &mut dyn Console) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:172:35 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn clear(&self, con: &mut Console) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 172 - pub fn clear(&self, con: &mut Console) { [INFO] [stderr] 172 + pub fn clear(&self, con: &mut dyn Console) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tcod` [INFO] [stderr] --> src/main.rs:480:58 [INFO] [stderr] | [INFO] [stderr] 480 | fn cast_lightning(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tcod` [INFO] [stderr] --> src/main.rs:486:56 [INFO] [stderr] | [INFO] [stderr] 486 | fn cast_confuse(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tcod` [INFO] [stderr] --> src/main.rs:492:57 [INFO] [stderr] | [INFO] [stderr] 492 | fn cast_fireball(_inventory_id: usize, game: &mut Game, tcod: &mut Tcod) -> UseResult { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcod` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `distance_to` [INFO] [stderr] --> src/main.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | pub fn distance_to(&self, other: &Object) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `distance` [INFO] [stderr] --> src/main.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn distance(&self, x: i32, y: i32) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `callback` [INFO] [stderr] --> src/main.rs:361:8 [INFO] [stderr] | [INFO] [stderr] 361 | fn callback(self, object: &mut Object, game: &mut Game) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `target_tile` [INFO] [stderr] --> src/main.rs:437:4 [INFO] [stderr] | [INFO] [stderr] 437 | fn target_tile( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `player_death` [INFO] [stderr] --> src/main.rs:1314:4 [INFO] [stderr] | [INFO] [stderr] 1314 | fn player_death(player: &mut Object, game: &mut Game) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `npc_death` [INFO] [stderr] --> src/main.rs:1323:4 [INFO] [stderr] | [INFO] [stderr] 1323 | fn npc_death(npc: &mut Object, game: &mut Game) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lardum` (bin "lardum" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.89s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lardum-d7b3876f2221dcc9) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f55f3fd993941e260f387ab03108c1b57790fdcd712af217687303b5b15c2350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55f3fd993941e260f387ab03108c1b57790fdcd712af217687303b5b15c2350", kill_on_drop: false }` [INFO] [stdout] f55f3fd993941e260f387ab03108c1b57790fdcd712af217687303b5b15c2350