[INFO] cloning repository https://github.com/sndnv/rowe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sndnv/rowe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsndnv%2Frowe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsndnv%2Frowe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d440e4defd69db839c226419c006705b9decc247 [INFO] checking sndnv/rowe against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsndnv%2Frowe" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sndnv/rowe on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sndnv/rowe [INFO] finished tweaking git repo https://github.com/sndnv/rowe [INFO] tweaked toml for git repo https://github.com/sndnv/rowe written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/sndnv/rowe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded fixedbitset v0.1.8 [INFO] [stderr] Downloaded matrixmultiply v0.1.13 [INFO] [stderr] Downloaded pathfinding v0.2.2 [INFO] [stderr] Downloaded ndarray v0.10.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c704d0afa0abe233978a885c2706aff64fd7b610c9531cb436ed22da4ae091d [INFO] running `Command { std: "docker" "start" "-a" "1c704d0afa0abe233978a885c2706aff64fd7b610c9531cb436ed22da4ae091d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c704d0afa0abe233978a885c2706aff64fd7b610c9531cb436ed22da4ae091d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c704d0afa0abe233978a885c2706aff64fd7b610c9531cb436ed22da4ae091d", kill_on_drop: false }` [INFO] [stdout] 1c704d0afa0abe233978a885c2706aff64fd7b610c9531cb436ed22da4ae091d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f388913ced0da25e1008c71ddf1c80e94a0e01c5e3d4d5ee2aa68f19a5bc849 [INFO] running `Command { std: "docker" "start" "-a" "6f388913ced0da25e1008c71ddf1c80e94a0e01c5e3d4d5ee2aa68f19a5bc849", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Compiling ndarray v0.10.10 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking either v1.2.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking fixedbitset v0.1.8 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking pathfinding v0.2.2 [INFO] [stderr] Checking owe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/map/grid.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [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/map/grid.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:162:74 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:197:52 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:369:71 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:387:48 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/mod.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | active_effects: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | active_effects: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entities/mod.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | producer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entities/mod.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | producer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/map/grid.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn clone_boxed(&self) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/map/grid.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:162:74 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | impl PartialEq for Producer { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn eq(&self, _: &Producer) -> bool { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:197:52 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | impl fmt::Debug for Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:369:71 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/grid.rs:387:48 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/mod.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | active_effects: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | active_effects: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entities/mod.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | producer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entities/mod.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | producer: Option>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn clone_boxed(&self) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | impl PartialEq for Producer { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn eq(&self, _: &Producer) -> bool { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/production/mod.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | impl fmt::Debug for Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `walker` [INFO] [stdout] --> src/map/cursor.rs:235:77 [INFO] [stdout] | [INFO] [stdout] 235 | ... p.produce_walker(&*grid_entity.entity).map(|walker| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_walker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/map/cursor.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | Entity::Walker { ref mut state, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `walker` [INFO] [stdout] --> src/map/cursor.rs:235:77 [INFO] [stdout] | [INFO] [stdout] 235 | ... p.produce_walker(&*grid_entity.entity).map(|walker| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_walker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/map/cursor.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | Entity::Walker { ref mut state, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/production/exchange.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let mut entity_map = entry.get_mut(); [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/production/exchange.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | let mut entity_map = entry.get_mut(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/production/exchange.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let mut entity_map = entry.get_mut(); [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/production/exchange.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | let mut entity_map = entry.get_mut(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/setup/grid/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ; [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] --> tests/setup/grid/mod.rs:306:92 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/grid/mod.rs:471:34 [INFO] [stdout] | [INFO] [stdout] 471 | fn clone_boxed(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/grid/mod.rs:507:34 [INFO] [stdout] | [INFO] [stdout] 507 | fn clone_boxed(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/grid/mod.rs:534:34 [INFO] [stdout] | [INFO] [stdout] 534 | fn clone_boxed(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/effects/mod.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn effects_default() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn effects::Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/effects/mod.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | vec![e0 as Rc, e1, e2] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn effects::Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/setup/grid/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ; [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] --> tests/setup/grid/mod.rs:306:92 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/grid/mod.rs:471:34 [INFO] [stdout] | [INFO] [stdout] 471 | fn clone_boxed(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/grid/mod.rs:507:34 [INFO] [stdout] | [INFO] [stdout] 507 | fn clone_boxed(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/grid/mod.rs:534:34 [INFO] [stdout] | [INFO] [stdout] 534 | fn clone_boxed(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Producer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/effects/mod.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn effects_default() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn effects::Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/setup/effects/mod.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | vec![e0 as Rc, e1, e2] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn effects::Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/grid.rs:657:57 [INFO] [stdout] | [INFO] [stdout] 657 | assert_eq!(g.remove_global_effect(&effects[1]), Err((GridError::EffectMissing))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "6f388913ced0da25e1008c71ddf1c80e94a0e01c5e3d4d5ee2aa68f19a5bc849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f388913ced0da25e1008c71ddf1c80e94a0e01c5e3d4d5ee2aa68f19a5bc849", kill_on_drop: false }` [INFO] [stdout] 6f388913ced0da25e1008c71ddf1c80e94a0e01c5e3d4d5ee2aa68f19a5bc849