[INFO] cloning repository https://github.com/MouseProducedGames/Rust-Roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MouseProducedGames/Rust-Roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMouseProducedGames%2FRust-Roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMouseProducedGames%2FRust-Roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9e76e7b12fe782af7ce1952460a0342f0f9169b [INFO] testing MouseProducedGames/Rust-Roguelike against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMouseProducedGames%2FRust-Roguelike" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MouseProducedGames/Rust-Roguelike on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MouseProducedGames/Rust-Roguelike [INFO] finished tweaking git repo https://github.com/MouseProducedGames/Rust-Roguelike [INFO] tweaked toml for git repo https://github.com/MouseProducedGames/Rust-Roguelike written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1337399166f03c0656e85d948428613289e29ccbce315824e49f669821f6850 [INFO] running `Command { std: "docker" "start" "-a" "f1337399166f03c0656e85d948428613289e29ccbce315824e49f669821f6850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1337399166f03c0656e85d948428613289e29ccbce315824e49f669821f6850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1337399166f03c0656e85d948428613289e29ccbce315824e49f669821f6850", kill_on_drop: false }` [INFO] [stdout] f1337399166f03c0656e85d948428613289e29ccbce315824e49f669821f6850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db3c46a4a04f07a3788838a5e2e5a1ad785c3fd012652a7f86938d38b097b64 [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" "2db3c46a4a04f07a3788838a5e2e5a1ad785c3fd012652a7f86938d38b097b64", kill_on_drop: false }` [INFO] [stderr] Compiling nonzero_signed v1.0.3 [INFO] [stderr] Compiling fixed v0.3.3 [INFO] [stderr] Compiling enumflags2 v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling enumflags2_derive v0.5.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling shred v0.7.2 [INFO] [stderr] Compiling hibitset v0.5.4 [INFO] [stderr] Compiling crossterm_utils v0.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossterm_cursor v0.1.0 [INFO] [stderr] Compiling crossterm_screen v0.1.0 [INFO] [stderr] Compiling crossterm_style v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling crossterm_terminal v0.1.0 [INFO] [stderr] Compiling crossterm_input v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling rust_dice v0.1.0 (/opt/rustwide/workdir/src/crates/rust_dice) [INFO] [stderr] Compiling crossterm v0.8.2 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling specs v0.14.3 [INFO] [stderr] Compiling rrl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ai/love_fear_hate.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | (self.value - my_rel_str.max(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ai/love_fear_hate.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | (-self.value - my_rel_str.max(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ai/love_fear_hate.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | (-self.value + my_rel_str.min(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ai/maslow/maslow_func.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub type MaslowFn = Fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 26 | | &mut CreatureStats, [INFO] [stdout] 27 | | Entity, [INFO] [stdout] 28 | | &mut EntityPositionTracker, [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> Option [INFO] [stdout] 37 | | + Send; [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub type MaslowFn = dyn Fn( [INFO] [stdout] 26 | &mut CreatureStats, [INFO] [stdout] 27 | Entity, [INFO] [stdout] 28 | &mut EntityPositionTracker, [INFO] [stdout] 29 | &mut WriteStorage, [INFO] [stdout] 30 | &mut Inventory, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ai/maslow/maslow_init_screen.rs:146:72 [INFO] [stdout] | [INFO] [stdout] 146 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bodies/body_screen.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bodies/body_screen.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bodies/body_screen.rs:91:71 [INFO] [stdout] | [INFO] [stdout] 91 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/character_creation_screen.rs:99:72 [INFO] [stdout] | [INFO] [stdout] 99 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/character_creation_screen.rs:104:66 [INFO] [stdout] | [INFO] [stdout] 104 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/character_creation_screen.rs:116:66 [INFO] [stdout] | [INFO] [stdout] 116 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/creature_display_system.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | display: WriteExpect<'a, Arc>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/creature_factory_wrapper.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | gen_func: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Position, &mut World) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/creature_factory_wrapper.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(gen_func: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Position, &mut World) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/player_display_system.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | display: WriteExpect<'a, Arc>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/event_handler.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub type EventFn = Fn(&mut Event, &mut World) + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Event, &mut World) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_screen.rs:109:66 [INFO] [stdout] | [INFO] [stdout] 109 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_screen.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let arc_mutex_display = world.read_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_screen.rs:129:71 [INFO] [stdout] | [INFO] [stdout] 129 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_state.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | type ScreenRef = Arc>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/points/costs_build_points.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | impl CostsBuildPoints for HasBuildLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn HasBuildLevel` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/points/costs_currency.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | impl CostsCurrency for CostsBuildPoints { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CostsBuildPoints` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/display_init_screen.rs:69:72 [INFO] [stdout] | [INFO] [stdout] 69 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/items/inventory_screen.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/items/inventory_screen.rs:73:62 [INFO] [stdout] | [INFO] [stdout] 73 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/items/inventory_screen.rs:78:72 [INFO] [stdout] | [INFO] [stdout] 78 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/items/item_display_system.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | display: WriteExpect<'a, Arc>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/map_init_screen.rs:133:71 [INFO] [stdout] | [INFO] [stdout] 133 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/map_processor.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | type MapProcessFn = FnMut(&Tilemap, &mut World) -> (Tilemap, Vec) + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tilemap, &mut World) -> (Tilemap, Vec) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/patterns_init_screen.rs:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/tileroom.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Mapping<'a> for TiledArea + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TiledArea + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/tileroom.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | impl DungenCommon for TiledArea { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn TiledArea` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/tileroom.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | impl TiledShape2D for TiledArea { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn TiledArea` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/screens/pickup_screen.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/pickup_screen.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/pickup_screen.rs:102:72 [INFO] [stdout] | [INFO] [stdout] 102 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/screen.rs:37:71 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/start_screen.rs:126:71 [INFO] [stdout] | [INFO] [stdout] 126 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/world_init_screen.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/skills/skill_screen.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skills/skill_screen.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skills/skill_screen.rs:86:72 [INFO] [stdout] | [INFO] [stdout] 86 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/themes/theme.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | TFunc: FnMut(usize, &Arc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/themes/theme.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | TFunc: FnMut(usize, &Arc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/themes/theme_init_screen.rs:73:72 [INFO] [stdout] | [INFO] [stdout] 73 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tiled_shapes_2d/tiled_shape_2d.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | fn iter_circumference(&self, iter_index: &mut u32) -> Option<(MapPosition)>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tiled_shapes_2d/tiled_shape_2d.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | fn iter_surface_area(&self, iter_index: &mut u32) -> Option<(MapPosition)>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/creatures/factories/creature_factory.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 27 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/creatures/factories/traits/undead_processor.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `std::mem::needs_drop` to detect if a type has a destructor [INFO] [stdout] --> src/io/display.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Display: Drop + Send + Sync { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.39s [INFO] running `Command { std: "docker" "inspect" "2db3c46a4a04f07a3788838a5e2e5a1ad785c3fd012652a7f86938d38b097b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db3c46a4a04f07a3788838a5e2e5a1ad785c3fd012652a7f86938d38b097b64", kill_on_drop: false }` [INFO] [stdout] 2db3c46a4a04f07a3788838a5e2e5a1ad785c3fd012652a7f86938d38b097b64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f3836af3c619c2204fefe03651a0fb60c9bbebd7794b8f48c34f15d0fa0f6a9 [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" "8f3836af3c619c2204fefe03651a0fb60c9bbebd7794b8f48c34f15d0fa0f6a9", kill_on_drop: false }` [INFO] [stderr] Compiling rrl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ai/love_fear_hate.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | (self.value - my_rel_str.max(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ai/love_fear_hate.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | (-self.value - my_rel_str.max(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ai/love_fear_hate.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | (-self.value + my_rel_str.min(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ai/maslow/maslow_func.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub type MaslowFn = Fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 26 | | &mut CreatureStats, [INFO] [stdout] 27 | | Entity, [INFO] [stdout] 28 | | &mut EntityPositionTracker, [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> Option [INFO] [stdout] 37 | | + Send; [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub type MaslowFn = dyn Fn( [INFO] [stdout] 26 | &mut CreatureStats, [INFO] [stdout] 27 | Entity, [INFO] [stdout] 28 | &mut EntityPositionTracker, [INFO] [stdout] 29 | &mut WriteStorage, [INFO] [stdout] 30 | &mut Inventory, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ai/maslow/maslow_init_screen.rs:146:72 [INFO] [stdout] | [INFO] [stdout] 146 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bodies/body_screen.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bodies/body_screen.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bodies/body_screen.rs:91:71 [INFO] [stdout] | [INFO] [stdout] 91 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/character_creation_screen.rs:99:72 [INFO] [stdout] | [INFO] [stdout] 99 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/character_creation_screen.rs:104:66 [INFO] [stdout] | [INFO] [stdout] 104 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/character_creation_screen.rs:116:66 [INFO] [stdout] | [INFO] [stdout] 116 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/creature_display_system.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | display: WriteExpect<'a, Arc>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/creature_factory_wrapper.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | gen_func: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Position, &mut World) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/creature_factory_wrapper.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(gen_func: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Position, &mut World) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/creatures/player_display_system.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | display: WriteExpect<'a, Arc>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/event_handler.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub type EventFn = Fn(&mut Event, &mut World) + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Event, &mut World) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_screen.rs:109:66 [INFO] [stdout] | [INFO] [stdout] 109 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_screen.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let arc_mutex_display = world.read_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_screen.rs:129:71 [INFO] [stdout] | [INFO] [stdout] 129 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_state.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | type ScreenRef = Arc>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/points/costs_build_points.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | impl CostsBuildPoints for HasBuildLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn HasBuildLevel` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/points/costs_currency.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | impl CostsCurrency for CostsBuildPoints { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CostsBuildPoints` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/display_init_screen.rs:69:72 [INFO] [stdout] | [INFO] [stdout] 69 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/items/inventory_screen.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/items/inventory_screen.rs:73:62 [INFO] [stdout] | [INFO] [stdout] 73 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/items/inventory_screen.rs:78:72 [INFO] [stdout] | [INFO] [stdout] 78 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/items/item_display_system.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | display: WriteExpect<'a, Arc>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/map_init_screen.rs:133:71 [INFO] [stdout] | [INFO] [stdout] 133 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/map_processor.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | type MapProcessFn = FnMut(&Tilemap, &mut World) -> (Tilemap, Vec) + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tilemap, &mut World) -> (Tilemap, Vec) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/patterns_init_screen.rs:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/tileroom.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Mapping<'a> for TiledArea + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TiledArea + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/tileroom.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | impl DungenCommon for TiledArea { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn TiledArea` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maps/tileroom.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | impl TiledShape2D for TiledArea { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn TiledArea` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/screens/pickup_screen.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/pickup_screen.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/pickup_screen.rs:102:72 [INFO] [stdout] | [INFO] [stdout] 102 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/screen.rs:37:71 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/start_screen.rs:126:71 [INFO] [stdout] | [INFO] [stdout] 126 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screens/world_init_screen.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/skills/skill_screen.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let item_option = items.get_mut(self.creature);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skills/skill_screen.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | let mutex_display = world.write_resource::>>(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skills/skill_screen.rs:86:72 [INFO] [stdout] | [INFO] [stdout] 86 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/themes/theme.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | TFunc: FnMut(usize, &Arc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/themes/theme.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | TFunc: FnMut(usize, &Arc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/themes/theme_init_screen.rs:73:72 [INFO] [stdout] | [INFO] [stdout] 73 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tiled_shapes_2d/tiled_shape_2d.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | fn iter_circumference(&self, iter_index: &mut u32) -> Option<(MapPosition)>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tiled_shapes_2d/tiled_shape_2d.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | fn iter_surface_area(&self, iter_index: &mut u32) -> Option<(MapPosition)>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/creatures/factories/creature_factory.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 27 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/creatures/factories/traits/undead_processor.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `std::mem::needs_drop` to detect if a type has a destructor [INFO] [stdout] --> src/io/display.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Display: Drop + Send + Sync { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "8f3836af3c619c2204fefe03651a0fb60c9bbebd7794b8f48c34f15d0fa0f6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3836af3c619c2204fefe03651a0fb60c9bbebd7794b8f48c34f15d0fa0f6a9", kill_on_drop: false }` [INFO] [stdout] 8f3836af3c619c2204fefe03651a0fb60c9bbebd7794b8f48c34f15d0fa0f6a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ace0255d78b947135521d92d9cb69d80a205c93d9e630afca40a5a66419d8b35 [INFO] running `Command { std: "docker" "start" "-a" "ace0255d78b947135521d92d9cb69d80a205c93d9e630afca40a5a66419d8b35", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/ai/love_fear_hate.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | (self.value - my_rel_str.max(0.0)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/ai/love_fear_hate.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | (-self.value - my_rel_str.max(0.0)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/ai/love_fear_hate.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | (-self.value + my_rel_str.min(0.0)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ai/maslow/maslow_func.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | pub type MaslowFn = Fn( [INFO] [stderr] | _____________________^ [INFO] [stderr] 26 | | &mut CreatureStats, [INFO] [stderr] 27 | | Entity, [INFO] [stderr] 28 | | &mut EntityPositionTracker, [INFO] [stderr] ... | [INFO] [stderr] 36 | | ) -> Option [INFO] [stderr] 37 | | + Send; [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 issue #80165 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 | pub type MaslowFn = dyn Fn( [INFO] [stderr] 26 | &mut CreatureStats, [INFO] [stderr] 27 | Entity, [INFO] [stderr] 28 | &mut EntityPositionTracker, [INFO] [stderr] 29 | &mut WriteStorage, [INFO] [stderr] 30 | &mut Inventory, [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ai/maslow/maslow_init_screen.rs:146:72 [INFO] [stderr] | [INFO] [stderr] 146 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/bodies/body_screen.rs:50:56 [INFO] [stderr] | [INFO] [stderr] 50 | let item_option = items.get_mut(self.creature);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bodies/body_screen.rs:86:62 [INFO] [stderr] | [INFO] [stderr] 86 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bodies/body_screen.rs:91:71 [INFO] [stderr] | [INFO] [stderr] 91 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/character_creation_screen.rs:99:72 [INFO] [stderr] | [INFO] [stderr] 99 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/character_creation_screen.rs:104:66 [INFO] [stderr] | [INFO] [stderr] 104 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/character_creation_screen.rs:116:66 [INFO] [stderr] | [INFO] [stderr] 116 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/creature_display_system.rs:27:40 [INFO] [stderr] | [INFO] [stderr] 27 | display: WriteExpect<'a, Arc>>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/creature_factory_wrapper.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | gen_func: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Position, &mut World) + Send` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/creature_factory_wrapper.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(gen_func: Arc>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Position, &mut World) + Send` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/creatures/player_display_system.rs:30:40 [INFO] [stderr] | [INFO] [stderr] 30 | display: WriteExpect<'a, Arc>>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/event_handler.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | pub type EventFn = Fn(&mut Event, &mut World) + Send; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Event, &mut World) + Send` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/game_screen.rs:109:66 [INFO] [stderr] | [INFO] [stderr] 109 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/game_screen.rs:116:65 [INFO] [stderr] | [INFO] [stderr] 116 | let arc_mutex_display = world.read_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/game_screen.rs:129:71 [INFO] [stderr] | [INFO] [stderr] 129 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/game_state.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | type ScreenRef = Arc>; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Screen` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/points/costs_build_points.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | impl CostsBuildPoints for HasBuildLevel { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn HasBuildLevel` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game/points/costs_currency.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | impl CostsCurrency for CostsBuildPoints { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CostsBuildPoints` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/io/display_init_screen.rs:69:72 [INFO] [stderr] | [INFO] [stderr] 69 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/items/inventory_screen.rs:37:56 [INFO] [stderr] | [INFO] [stderr] 37 | let item_option = items.get_mut(self.creature);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/items/inventory_screen.rs:73:62 [INFO] [stderr] | [INFO] [stderr] 73 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/items/inventory_screen.rs:78:72 [INFO] [stderr] | [INFO] [stderr] 78 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/items/item_display_system.rs:25:40 [INFO] [stderr] | [INFO] [stderr] 25 | display: WriteExpect<'a, Arc>>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maps/map_init_screen.rs:133:71 [INFO] [stderr] | [INFO] [stderr] 133 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maps/map_processor.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | type MapProcessFn = FnMut(&Tilemap, &mut World) -> (Tilemap, Vec) + Send; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Tilemap, &mut World) -> (Tilemap, Vec) + Send` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maps/patterns_init_screen.rs:63:72 [INFO] [stderr] | [INFO] [stderr] 63 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maps/tileroom.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | impl<'a> Mapping<'a> for TiledArea + 'a { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TiledArea + 'a` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maps/tileroom.rs:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | impl DungenCommon for TiledArea { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn TiledArea` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maps/tileroom.rs:305:23 [INFO] [stderr] | [INFO] [stderr] 305 | impl TiledShape2D for TiledArea { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn TiledArea` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/screens/pickup_screen.rs:41:56 [INFO] [stderr] | [INFO] [stderr] 41 | let item_option = items.get_mut(self.creature);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/screens/pickup_screen.rs:96:66 [INFO] [stderr] | [INFO] [stderr] 96 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/screens/pickup_screen.rs:102:72 [INFO] [stderr] | [INFO] [stderr] 102 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/screens/screen.rs:37:71 [INFO] [stderr] | [INFO] [stderr] 37 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/screens/start_screen.rs:126:71 [INFO] [stderr] | [INFO] [stderr] 126 | fn update(&mut self, world: &mut World, screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/screens/world_init_screen.rs:82:72 [INFO] [stderr] | [INFO] [stderr] 82 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/skills/skill_screen.rs:41:56 [INFO] [stderr] | [INFO] [stderr] 41 | let item_option = items.get_mut(self.creature);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/skills/skill_screen.rs:81:62 [INFO] [stderr] | [INFO] [stderr] 81 | let mutex_display = world.write_resource::>>(); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/skills/skill_screen.rs:86:72 [INFO] [stderr] | [INFO] [stderr] 86 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/themes/theme.rs:92:40 [INFO] [stderr] | [INFO] [stderr] 92 | TFunc: FnMut(usize, &Arc>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/themes/theme.rs:120:40 [INFO] [stderr] | [INFO] [stderr] 120 | TFunc: FnMut(usize, &Arc>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/themes/theme_init_screen.rs:73:72 [INFO] [stderr] | [INFO] [stderr] 73 | fn update(&mut self, world: &mut World, _screen_push_wrapper: &mut ScreenPushWrapper) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenPushWrapper` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tiled_shapes_2d/tiled_shape_2d.rs:24:66 [INFO] [stderr] | [INFO] [stderr] 24 | fn iter_circumference(&self, iter_index: &mut u32) -> Option<(MapPosition)>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tiled_shapes_2d/tiled_shape_2d.rs:26:65 [INFO] [stderr] | [INFO] [stderr] 26 | fn iter_surface_area(&self, iter_index: &mut u32) -> Option<(MapPosition)>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/creatures/factories/creature_factory.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 27 | panic!("{}", e); [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 27 | std::panic::panic_any(e); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/creatures/factories/traits/undead_processor.rs:35:28 [INFO] [stderr] | [INFO] [stderr] 35 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 35 | panic!("{}", e); [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 35 | std::panic::panic_any(e); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: bounds on `Self: Drop` are useless, consider instead using `std::mem::needs_drop` to detect if a type has a destructor [INFO] [stderr] --> src/io/display.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | pub trait Display: Drop + Send + Sync { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(drop_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rrl` (bin "rrl" test) generated 50 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rrl-cb77a99c650c1d92) [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" "ace0255d78b947135521d92d9cb69d80a205c93d9e630afca40a5a66419d8b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace0255d78b947135521d92d9cb69d80a205c93d9e630afca40a5a66419d8b35", kill_on_drop: false }` [INFO] [stdout] ace0255d78b947135521d92d9cb69d80a205c93d9e630afca40a5a66419d8b35