[INFO] cloning repository https://github.com/thebracket/rustyroguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thebracket/rustyroguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frustyroguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frustyroguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06f6ef51829b07962e58896e0fad13a78bd1a92d [INFO] testing thebracket/rustyroguelike against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frustyroguelike" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thebracket/rustyroguelike on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thebracket/rustyroguelike [INFO] finished tweaking git repo https://github.com/thebracket/rustyroguelike [INFO] tweaked toml for git repo https://github.com/thebracket/rustyroguelike written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/thebracket/rustyroguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/thebracket/rltk_rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.22.0-alpha1 [INFO] [stderr] Downloaded bresenham v0.1.1 [INFO] [stderr] Downloaded typetag-impl v0.1.3 [INFO] [stderr] Downloaded typetag v0.1.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.3 [INFO] [stderr] Downloaded winit v0.20.0-alpha2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 918d3a3b895bb74a13143560041cbc0a30bd24c7d576faac83bd4a087b4b1a14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "918d3a3b895bb74a13143560041cbc0a30bd24c7d576faac83bd4a087b4b1a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "918d3a3b895bb74a13143560041cbc0a30bd24c7d576faac83bd4a087b4b1a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918d3a3b895bb74a13143560041cbc0a30bd24c7d576faac83bd4a087b4b1a14", kill_on_drop: false }` [INFO] [stdout] 918d3a3b895bb74a13143560041cbc0a30bd24c7d576faac83bd4a087b4b1a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a66925af800020a6520dfb2090c98615cc27c6ffe8022042f9f82403a4b957 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37a66925af800020a6520dfb2090c98615cc27c6ffe8022042f9f82403a4b957", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bresenham v0.1.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.23.5 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling wayland-sys v0.23.5 [INFO] [stderr] Compiling rltk v0.2.5 (https://github.com/thebracket/rltk_rs#1c9e1d7e) [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling wayland-client v0.23.5 [INFO] [stderr] Compiling wayland-protocols v0.23.5 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling ghost v0.1.0 [INFO] [stderr] Compiling ctor v0.1.9 [INFO] [stderr] Compiling inventory-impl v0.1.3 [INFO] [stderr] Compiling typetag-impl v0.1.3 [INFO] [stderr] Compiling inventory v0.1.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.3 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling winit v0.20.0-alpha2 [INFO] [stderr] Compiling glutin v0.22.0-alpha1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling erased-serde v0.3.9 [INFO] [stderr] Compiling typetag v0.1.3 [INFO] [stderr] Compiling rusty_roguelike v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/entity.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut Combat> { None } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/fighter.rs:40:77 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut Combat) -> (i32, Vec) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/player.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | fn as_combat(&mut self) -> Option<&mut Combat> { Some(self) } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mob.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | fn as_combat(&mut self) -> Option<&mut Combat> { Some(self) } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/gamestate.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub entities : Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn BaseEntity` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/gamestate.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn BaseEntity` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/gamestate.rs:158:48 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn player_as_combat(&mut self) -> &mut Combat { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 19s [INFO] running `Command { std: "docker" "inspect" "37a66925af800020a6520dfb2090c98615cc27c6ffe8022042f9f82403a4b957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a66925af800020a6520dfb2090c98615cc27c6ffe8022042f9f82403a4b957", kill_on_drop: false }` [INFO] [stdout] 37a66925af800020a6520dfb2090c98615cc27c6ffe8022042f9f82403a4b957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ffd04184e2153118d4e56a242be2b3223083a4f20c12a069782318a0b6af9e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ffd04184e2153118d4e56a242be2b3223083a4f20c12a069782318a0b6af9e1", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_roguelike v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/entity.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut Combat> { None } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/fighter.rs:40:77 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut Combat) -> (i32, Vec) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/player.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | fn as_combat(&mut self) -> Option<&mut Combat> { Some(self) } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mob.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | fn as_combat(&mut self) -> Option<&mut Combat> { Some(self) } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/gamestate.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub entities : Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn BaseEntity` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/gamestate.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn BaseEntity` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/gamestate.rs:158:48 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn player_as_combat(&mut self) -> &mut Combat { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.07s [INFO] running `Command { std: "docker" "inspect" "8ffd04184e2153118d4e56a242be2b3223083a4f20c12a069782318a0b6af9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffd04184e2153118d4e56a242be2b3223083a4f20c12a069782318a0b6af9e1", kill_on_drop: false }` [INFO] [stdout] 8ffd04184e2153118d4e56a242be2b3223083a4f20c12a069782318a0b6af9e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7e359be0de00dc337a807f18095dff04977ecf37b0a4f5f8eaf29dba825c7ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d7e359be0de00dc337a807f18095dff04977ecf37b0a4f5f8eaf29dba825c7ae", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/entity.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | fn as_combat(&mut self) -> Option<&mut Combat> { None } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/fighter.rs:40:77 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut Combat) -> (i32, Vec) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/player.rs:56:44 [INFO] [stderr] | [INFO] [stderr] 56 | fn as_combat(&mut self) -> Option<&mut Combat> { Some(self) } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/mob.rs:115:44 [INFO] [stderr] | [INFO] [stderr] 115 | fn as_combat(&mut self) -> Option<&mut Combat> { Some(self) } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/gamestate.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | pub entities : Vec>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn BaseEntity` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/gamestate.rs:115:36 [INFO] [stderr] | [INFO] [stderr] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn BaseEntity` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/gamestate.rs:158:48 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn player_as_combat(&mut self) -> &mut Combat { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Combat` [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] [INFO] [stderr] warning: `rusty_roguelike` (bin "rusty_roguelike" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rusty_roguelike-26f58b6b36d35d8a) [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" "d7e359be0de00dc337a807f18095dff04977ecf37b0a4f5f8eaf29dba825c7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e359be0de00dc337a807f18095dff04977ecf37b0a4f5f8eaf29dba825c7ae", kill_on_drop: false }` [INFO] [stdout] d7e359be0de00dc337a807f18095dff04977ecf37b0a4f5f8eaf29dba825c7ae