[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] checking thebracket/rustyroguelike against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frustyroguelike" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thebracket/rustyroguelike on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/thebracket/rltk_rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag v0.1.3 [INFO] [stderr] Downloaded ghost v0.1.0 [INFO] [stderr] Downloaded inventory v0.1.3 [INFO] [stderr] Downloaded typetag-impl v0.1.3 [INFO] [stderr] Downloaded inventory-impl v0.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded bresenham v0.1.1 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded gl_generator v0.13.0 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded wayland-commons v0.23.5 [INFO] [stderr] Downloaded gif v0.10.2 [INFO] [stderr] Downloaded glutin v0.22.0-alpha1 [INFO] [stderr] Downloaded rusttype v0.7.7 [INFO] [stderr] Downloaded flate2 v1.0.9 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.3 [INFO] [stderr] Downloaded wayland-protocols v0.23.5 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.3 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded wayland-client v0.23.5 [INFO] [stderr] Downloaded winit v0.20.0-alpha2 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded cc v1.0.40 [INFO] [stderr] Downloaded wayland-scanner v0.23.5 [INFO] [stderr] Downloaded erased-serde v0.3.9 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.0 [INFO] [stderr] Downloaded libc v0.2.61 [INFO] [stderr] Downloaded wayland-sys v0.23.5 [INFO] [stderr] Downloaded ctor v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deea3e2c0c31dcfd400042b9ff1a97c3356add52fe4b105e49506d51f8942ab1 [INFO] running `Command { std: "docker" "start" "-a" "deea3e2c0c31dcfd400042b9ff1a97c3356add52fe4b105e49506d51f8942ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deea3e2c0c31dcfd400042b9ff1a97c3356add52fe4b105e49506d51f8942ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deea3e2c0c31dcfd400042b9ff1a97c3356add52fe4b105e49506d51f8942ab1", kill_on_drop: false }` [INFO] [stdout] deea3e2c0c31dcfd400042b9ff1a97c3356add52fe4b105e49506d51f8942ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd8734924ec5befee90f47d14a115f7d544eb7514e2f753636e7e11fe324ac14 [INFO] running `Command { std: "docker" "start" "-a" "fd8734924ec5befee90f47d14a115f7d544eb7514e2f753636e7e11fe324ac14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.23.5 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking wayland-sys v0.23.5 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling gl_generator v0.13.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking flate2 v1.0.9 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking bresenham v0.1.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Compiling wayland-client v0.23.5 [INFO] [stderr] Compiling wayland-protocols v0.23.5 [INFO] [stderr] Compiling rltk v0.2.5 (https://github.com/thebracket/rltk_rs#1c9e1d7e) [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.5 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling ctor v0.1.9 [INFO] [stderr] Compiling inventory-impl v0.1.3 [INFO] [stderr] Compiling ghost v0.1.0 [INFO] [stderr] Compiling typetag-impl v0.1.3 [INFO] [stderr] Checking inventory v0.1.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking typetag v0.1.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.3 [INFO] [stderr] Checking winit v0.20.0-alpha2 [INFO] [stderr] Checking glutin v0.22.0-alpha1 [INFO] [stderr] Checking rusty_roguelike v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fighter::Fighter` [INFO] [stdout] --> src/game/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use fighter::Fighter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fighter::Fighter` [INFO] [stdout] --> src/game/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use fighter::Fighter; [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/game/entity.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut Combat> { None } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { None } [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub entities : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { None } [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub entities : Vec>, [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut dyn Combat) -> (i32, Vec) { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut dyn Combat) -> (i32, Vec) { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn player_as_combat(&mut self) -> &mut dyn Combat { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn player_as_combat(&mut self) -> &mut dyn Combat { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/item_effects.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut target = &mut gs.entities[possible_targets[0].0].as_mob_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/item_effects.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut target = &mut gs.entities[possible_targets[0].0].as_mob_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.96s [INFO] running `Command { std: "docker" "inspect" "fd8734924ec5befee90f47d14a115f7d544eb7514e2f753636e7e11fe324ac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8734924ec5befee90f47d14a115f7d544eb7514e2f753636e7e11fe324ac14", kill_on_drop: false }` [INFO] [stdout] fd8734924ec5befee90f47d14a115f7d544eb7514e2f753636e7e11fe324ac14 [INFO] checking thebracket/rustyroguelike against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frustyroguelike" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thebracket/rustyroguelike on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56f3516817c57d9b17d0cd3543ddb96ee8b3a25e6da229f45db0de8b07974415 [INFO] running `Command { std: "docker" "start" "-a" "56f3516817c57d9b17d0cd3543ddb96ee8b3a25e6da229f45db0de8b07974415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56f3516817c57d9b17d0cd3543ddb96ee8b3a25e6da229f45db0de8b07974415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f3516817c57d9b17d0cd3543ddb96ee8b3a25e6da229f45db0de8b07974415", kill_on_drop: false }` [INFO] [stdout] 56f3516817c57d9b17d0cd3543ddb96ee8b3a25e6da229f45db0de8b07974415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 470f1eb3ebb04ccce26c1859c7457ab6e11c6ad74fba4708dbb51090b0fab3d4 [INFO] running `Command { std: "docker" "start" "-a" "470f1eb3ebb04ccce26c1859c7457ab6e11c6ad74fba4708dbb51090b0fab3d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling wayland-scanner v0.23.5 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling gl_generator v0.13.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking flate2 v1.0.9 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking bresenham v0.1.1 [INFO] [stderr] Compiling rltk v0.2.5 (https://github.com/thebracket/rltk_rs#1c9e1d7e) [INFO] [stderr] Compiling wayland-client v0.23.5 [INFO] [stderr] Compiling wayland-protocols v0.23.5 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking wayland-commons v0.23.5 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling inventory-impl v0.1.3 [INFO] [stderr] Compiling ctor v0.1.9 [INFO] [stderr] Compiling ghost v0.1.0 [INFO] [stderr] Compiling typetag-impl v0.1.3 [INFO] [stderr] Checking inventory v0.1.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking typetag v0.1.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.3 [INFO] [stderr] Checking winit v0.20.0-alpha2 [INFO] [stderr] Checking glutin v0.22.0-alpha1 [INFO] [stderr] Checking rusty_roguelike v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fighter::Fighter` [INFO] [stdout] --> src/game/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use fighter::Fighter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fighter::Fighter` [INFO] [stdout] --> src/game/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use fighter::Fighter; [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/game/entity.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut Combat> { None } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { None } [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub entities : Vec>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub entities : Vec>, [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut dyn Combat) -> (i32, Vec) { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | pub fn attack(instigator_name: String, instigator_power : i32, target: &mut dyn Combat) -> (i32, Vec) { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | fn as_combat(&mut self) -> Option<&mut dyn Combat> { Some(self) } [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn player_as_combat(&mut self) -> &mut dyn Combat { [INFO] [stdout] | +++ [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn player_as_combat(&mut self) -> &mut dyn Combat { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | let mut entities : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/item_effects.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut target = &mut gs.entities[possible_targets[0].0].as_mob_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/item_effects.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut target = &mut gs.entities[possible_targets[0].0].as_mob_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/tiletype.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/ticktype.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/item.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/item.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/tiletype.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/ticktype.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_roguelike` (bin "rusty_roguelike") due to 5 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/item.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game/item.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_roguelike` (bin "rusty_roguelike" test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "470f1eb3ebb04ccce26c1859c7457ab6e11c6ad74fba4708dbb51090b0fab3d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470f1eb3ebb04ccce26c1859c7457ab6e11c6ad74fba4708dbb51090b0fab3d4", kill_on_drop: false }` [INFO] [stdout] 470f1eb3ebb04ccce26c1859c7457ab6e11c6ad74fba4708dbb51090b0fab3d4