[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbacongobbler%2Flardum" "/workspace/builds/worker-113/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-113/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bacongobbler/lardum on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-113/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 738887b886f1a13453d5b5b94168d5a3d010d8011d9919db378aa1ee787aa7d9 [INFO] running `Command { std: "docker" "start" "-a" "738887b886f1a13453d5b5b94168d5a3d010d8011d9919db378aa1ee787aa7d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "738887b886f1a13453d5b5b94168d5a3d010d8011d9919db378aa1ee787aa7d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738887b886f1a13453d5b5b94168d5a3d010d8011d9919db378aa1ee787aa7d9", kill_on_drop: false }` [INFO] [stdout] 738887b886f1a13453d5b5b94168d5a3d010d8011d9919db378aa1ee787aa7d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a81e0b93670a9c04a763063bbb2e98ee136acd7517aa9ca7d14e34d493db8b0 [INFO] running `Command { std: "docker" "start" "-a" "5a81e0b93670a9c04a763063bbb2e98ee136acd7517aa9ca7d14e34d493db8b0", kill_on_drop: false }` [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 cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tcod-sys v5.0.1 (https://github.com/tomassedovic/tcod-rs#d4ad0749) [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 17.45s [INFO] running `Command { std: "docker" "inspect" "5a81e0b93670a9c04a763063bbb2e98ee136acd7517aa9ca7d14e34d493db8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a81e0b93670a9c04a763063bbb2e98ee136acd7517aa9ca7d14e34d493db8b0", kill_on_drop: false }` [INFO] [stdout] 5a81e0b93670a9c04a763063bbb2e98ee136acd7517aa9ca7d14e34d493db8b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 601b25e2dce434a1383d663fe0fa483726f1e814341ccbccbbb46f7c5f003f64 [INFO] running `Command { std: "docker" "start" "-a" "601b25e2dce434a1383d663fe0fa483726f1e814341ccbccbbb46f7c5f003f64", kill_on_drop: false }` [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 1.15s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lardum-d7b3876f2221dcc9) [INFO] running `Command { std: "docker" "inspect" "601b25e2dce434a1383d663fe0fa483726f1e814341ccbccbbb46f7c5f003f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601b25e2dce434a1383d663fe0fa483726f1e814341ccbccbbb46f7c5f003f64", kill_on_drop: false }` [INFO] [stdout] 601b25e2dce434a1383d663fe0fa483726f1e814341ccbccbbb46f7c5f003f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 931a8c4d860319c379bd86859e96afd7823998975d4057bfaad6e97952c3dfb2 [INFO] running `Command { std: "docker" "start" "-a" "931a8c4d860319c379bd86859e96afd7823998975d4057bfaad6e97952c3dfb2", 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 3.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lardum-d7b3876f2221dcc9) [INFO] [stdout] [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" "931a8c4d860319c379bd86859e96afd7823998975d4057bfaad6e97952c3dfb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931a8c4d860319c379bd86859e96afd7823998975d4057bfaad6e97952c3dfb2", kill_on_drop: false }` [INFO] [stdout] 931a8c4d860319c379bd86859e96afd7823998975d4057bfaad6e97952c3dfb2