[INFO] cloning repository https://github.com/strangelovephd/ultraroguelite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strangelovephd/ultraroguelite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fultraroguelite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fultraroguelite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ee7b5e3ddbb472fa8a774f07032a2c61e13da62 [INFO] testing strangelovephd/ultraroguelite against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fultraroguelite" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strangelovephd/ultraroguelite on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strangelovephd/ultraroguelite [INFO] finished tweaking git repo https://github.com/strangelovephd/ultraroguelite [INFO] tweaked toml for git repo https://github.com/strangelovephd/ultraroguelite written to /workspace/builds/worker-93/source/Cargo.toml [INFO] crate git repo https://github.com/strangelovephd/ultraroguelite already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ba6cfad86b870f8c1e66f0cf1c741b4e367ed345583d847c29e5c4c49a0887e [INFO] running `Command { std: "docker" "start" "-a" "3ba6cfad86b870f8c1e66f0cf1c741b4e367ed345583d847c29e5c4c49a0887e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ba6cfad86b870f8c1e66f0cf1c741b4e367ed345583d847c29e5c4c49a0887e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba6cfad86b870f8c1e66f0cf1c741b4e367ed345583d847c29e5c4c49a0887e", kill_on_drop: false }` [INFO] [stdout] 3ba6cfad86b870f8c1e66f0cf1c741b4e367ed345583d847c29e5c4c49a0887e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a83b2b75531a0827dcf14668fb057c51ba67d08662a98b3839a3c3d2724113 [INFO] running `Command { std: "docker" "start" "-a" "97a83b2b75531a0827dcf14668fb057c51ba67d08662a98b3839a3c3d2724113", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling tcod-sys v5.0.0 [INFO] [stderr] Compiling tcod v0.13.0 [INFO] [stderr] Compiling ultraroguelite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/object.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | fn handle_keys(root: &mut Root, obj: &mut GameObject) -> bool { [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] 13 - fn handle_keys(root: &mut Root, obj: &mut GameObject) -> bool { [INFO] [stdout] 13 + fn handle_keys(root: &mut Root, obj: &mut dyn GameObject) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub objs: Vec>, [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] 11 - pub objs: Vec>, [INFO] [stdout] 11 + pub objs: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - fn draw(&self, con: &mut Console); [INFO] [stdout] 16 + 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/object.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 - fn clear(&self, con: &mut Console); [INFO] [stdout] 17 + 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/object.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 62 - fn draw(&self, con: &mut Console) { [INFO] [stdout] 62 + 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/object.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 67 - fn clear(&self, con: &mut Console) { [INFO] [stdout] 67 + 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/object.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | 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] 78 - fn draw(&self, con: &mut Console) { [INFO] [stdout] 78 + 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/object.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | 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] 83 - fn clear(&self, con: &mut Console) { [INFO] [stdout] 83 + fn clear(&self, con: &mut dyn Console) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.61s [INFO] running `Command { std: "docker" "inspect" "97a83b2b75531a0827dcf14668fb057c51ba67d08662a98b3839a3c3d2724113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a83b2b75531a0827dcf14668fb057c51ba67d08662a98b3839a3c3d2724113", kill_on_drop: false }` [INFO] [stdout] 97a83b2b75531a0827dcf14668fb057c51ba67d08662a98b3839a3c3d2724113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bab76a981a27fd325b373364b5ec235a20676e8a46acf5b1fd76281a63fb976 [INFO] running `Command { std: "docker" "start" "-a" "5bab76a981a27fd325b373364b5ec235a20676e8a46acf5b1fd76281a63fb976", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ultraroguelite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/object.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | fn handle_keys(root: &mut Root, obj: &mut GameObject) -> bool { [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] 13 - fn handle_keys(root: &mut Root, obj: &mut GameObject) -> bool { [INFO] [stdout] 13 + fn handle_keys(root: &mut Root, obj: &mut dyn GameObject) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub objs: Vec>, [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] 11 - pub objs: Vec>, [INFO] [stdout] 11 + pub objs: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - fn draw(&self, con: &mut Console); [INFO] [stdout] 16 + 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/object.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 - fn clear(&self, con: &mut Console); [INFO] [stdout] 17 + 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/object.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 62 - fn draw(&self, con: &mut Console) { [INFO] [stdout] 62 + 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/object.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 67 - fn clear(&self, con: &mut Console) { [INFO] [stdout] 67 + 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/object.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | 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] 78 - fn draw(&self, con: &mut Console) { [INFO] [stdout] 78 + 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/object.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | 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] 83 - fn clear(&self, con: &mut Console) { [INFO] [stdout] 83 + fn clear(&self, con: &mut dyn Console) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ultraroguelite-88deaacbb31e9148) [INFO] running `Command { std: "docker" "inspect" "5bab76a981a27fd325b373364b5ec235a20676e8a46acf5b1fd76281a63fb976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bab76a981a27fd325b373364b5ec235a20676e8a46acf5b1fd76281a63fb976", kill_on_drop: false }` [INFO] [stdout] 5bab76a981a27fd325b373364b5ec235a20676e8a46acf5b1fd76281a63fb976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc7813c7f2374a65ee95eed8048f06989ac0648a0f854f254d77476703f80111 [INFO] running `Command { std: "docker" "start" "-a" "dc7813c7f2374a65ee95eed8048f06989ac0648a0f854f254d77476703f80111", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stdout] [INFO] [stderr] --> src/object.rs:4:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 4 | use std::any::Any; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:13:43 [INFO] [stderr] | [INFO] [stderr] 13 | fn handle_keys(root: &mut Root, obj: &mut GameObject) -> bool { [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] 13 - fn handle_keys(root: &mut Root, obj: &mut GameObject) -> bool { [INFO] [stderr] 13 + fn handle_keys(root: &mut Root, obj: &mut dyn GameObject) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | pub objs: Vec>, [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] 11 - pub objs: Vec>, [INFO] [stderr] 11 + pub objs: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | 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] 16 - fn draw(&self, con: &mut Console); [INFO] [stderr] 16 + 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/object.rs:17:31 [INFO] [stderr] | [INFO] [stderr] 17 | 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] 17 - fn clear(&self, con: &mut Console); [INFO] [stderr] 17 + fn clear(&self, con: &mut dyn Console); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:62:30 [INFO] [stderr] | [INFO] [stderr] 62 | 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] 62 - fn draw(&self, con: &mut Console) { [INFO] [stderr] 62 + 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/object.rs:67:31 [INFO] [stderr] | [INFO] [stderr] 67 | 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] 67 - fn clear(&self, con: &mut Console) { [INFO] [stderr] 67 + fn clear(&self, con: &mut dyn Console) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | 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] 78 - fn draw(&self, con: &mut Console) { [INFO] [stderr] 78 + 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/object.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | 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] 83 - fn clear(&self, con: &mut Console) { [INFO] [stderr] 83 + fn clear(&self, con: &mut dyn Console) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ultraroguelite` (bin "ultraroguelite" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ultraroguelite-88deaacbb31e9148) [INFO] running `Command { std: "docker" "inspect" "dc7813c7f2374a65ee95eed8048f06989ac0648a0f854f254d77476703f80111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7813c7f2374a65ee95eed8048f06989ac0648a0f854f254d77476703f80111", kill_on_drop: false }` [INFO] [stdout] dc7813c7f2374a65ee95eed8048f06989ac0648a0f854f254d77476703f80111