[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] testing sndnv/rowe against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsndnv%2Frowe" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sndnv/rowe on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-26/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" "+beta-2022-04-10" "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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74b8578b95c7f8d3f7e938891b82a1074d5140affcba7558b69c0a047643d819 [INFO] running `Command { std: "docker" "start" "-a" "74b8578b95c7f8d3f7e938891b82a1074d5140affcba7558b69c0a047643d819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74b8578b95c7f8d3f7e938891b82a1074d5140affcba7558b69c0a047643d819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b8578b95c7f8d3f7e938891b82a1074d5140affcba7558b69c0a047643d819", kill_on_drop: false }` [INFO] [stdout] 74b8578b95c7f8d3f7e938891b82a1074d5140affcba7558b69c0a047643d819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb4a87164c95b4deae445345bde6c40a62206b21d06bc88b2ded02d284e62899 [INFO] running `Command { std: "docker" "start" "-a" "bb4a87164c95b4deae445345bde6c40a62206b21d06bc88b2ded02d284e62899", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Compiling either v1.2.0 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling ndarray v0.10.10 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling fixedbitset v0.1.8 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling pathfinding v0.2.2 [INFO] [stderr] Compiling owe v0.1.0 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stdout] 63 + let x = if x1 < x2 { x2 - x1 } else { x1 - x2 }; [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stdout] 64 + let y = if y1 < y2 { y2 - y1 } else { y1 - y2 }; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - active_effects: Vec>, [INFO] [stdout] 77 + active_effects: Vec>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - active_effects: Vec>, [INFO] [stdout] 33 + active_effects: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - producer: Option>, [INFO] [stdout] 37 + producer: Option>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - producer: Option>, [INFO] [stdout] 43 + producer: Option>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - impl Clone for Box { [INFO] [stdout] 28 + impl Clone for Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - impl PartialEq for Producer { [INFO] [stdout] 34 + impl PartialEq for dyn Producer { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - impl fmt::Debug for Box { [INFO] [stdout] 40 + impl fmt::Debug for Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn clone_boxed(&self) -> Box; [INFO] [stdout] 25 + fn clone_boxed(&self) -> Box; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn clone(&self) -> Box { [INFO] [stdout] 29 + fn clone(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn eq(&self, _: &Producer) -> bool { [INFO] [stdout] 35 + fn eq(&self, _: &dyn Producer) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] 24 + pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] 145 + pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] 162 + pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] 197 + pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] 206 + pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 369 - pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] 369 + pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] 387 + pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] | [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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.96s [INFO] running `Command { std: "docker" "inspect" "bb4a87164c95b4deae445345bde6c40a62206b21d06bc88b2ded02d284e62899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4a87164c95b4deae445345bde6c40a62206b21d06bc88b2ded02d284e62899", kill_on_drop: false }` [INFO] [stdout] bb4a87164c95b4deae445345bde6c40a62206b21d06bc88b2ded02d284e62899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 766448d705b5b556c068d17291ef3a27137c2d4dd78c966c03d113eac231c8bd [INFO] running `Command { std: "docker" "start" "-a" "766448d705b5b556c068d17291ef3a27137c2d4dd78c966c03d113eac231c8bd", kill_on_drop: false }` [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stdout] 63 + let x = if x1 < x2 { x2 - x1 } else { x1 - x2 }; [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stdout] 64 + let y = if y1 < y2 { y2 - y1 } else { y1 - y2 }; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - active_effects: Vec>, [INFO] [stdout] 77 + active_effects: Vec>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - active_effects: Vec>, [INFO] [stdout] 33 + active_effects: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - producer: Option>, [INFO] [stdout] 37 + producer: Option>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - producer: Option>, [INFO] [stdout] 43 + producer: Option>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - impl Clone for Box { [INFO] [stdout] 28 + impl Clone for Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - impl PartialEq for Producer { [INFO] [stdout] 34 + impl PartialEq for dyn Producer { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - impl fmt::Debug for Box { [INFO] [stdout] 40 + impl fmt::Debug for Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn clone_boxed(&self) -> Box; [INFO] [stdout] 25 + fn clone_boxed(&self) -> Box; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn clone(&self) -> Box { [INFO] [stdout] 29 + fn clone(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn eq(&self, _: &Producer) -> bool { [INFO] [stdout] 35 + fn eq(&self, _: &dyn Producer) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] 24 + pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] 145 + pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] 162 + pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] 197 + pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] 206 + pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 369 - pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] 369 + pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] 387 + pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] | [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] [stderr] Compiling owe v0.1.0 (/opt/rustwide/workdir) [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stdout] 63 + let x = if x1 < x2 { x2 - x1 } else { x1 - x2 }; [INFO] [stdout] | [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stdout] 64 + let y = if y1 < y2 { y2 - y1 } else { y1 - y2 }; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - active_effects: Vec>, [INFO] [stdout] 77 + active_effects: Vec>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - active_effects: Vec>, [INFO] [stdout] 33 + active_effects: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - producer: Option>, [INFO] [stdout] 37 + producer: Option>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - producer: Option>, [INFO] [stdout] 43 + producer: Option>, [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - impl Clone for Box { [INFO] [stdout] 28 + impl Clone for Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - impl PartialEq for Producer { [INFO] [stdout] 34 + impl PartialEq for dyn Producer { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - impl fmt::Debug for Box { [INFO] [stdout] 40 + impl fmt::Debug for Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn clone_boxed(&self) -> Box; [INFO] [stdout] 25 + fn clone_boxed(&self) -> Box; [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn clone(&self) -> Box { [INFO] [stdout] 29 + fn clone(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn eq(&self, _: &Producer) -> bool { [INFO] [stdout] 35 + fn eq(&self, _: &dyn Producer) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] 24 + pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] 145 + pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] 162 + pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] 197 + pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] 206 + pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 369 - pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] 369 + pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 387 - pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] 387 + pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stdout] 306 + pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 471 - fn clone_boxed(&self) -> Box { [INFO] [stdout] 471 + fn clone_boxed(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 507 - fn clone_boxed(&self) -> Box { [INFO] [stdout] 507 + fn clone_boxed(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 534 - fn clone_boxed(&self) -> Box { [INFO] [stdout] 534 + fn clone_boxed(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - pub fn effects_default() -> Vec> { [INFO] [stdout] 65 + pub fn effects_default() -> Vec> { [INFO] [stdout] | [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 657 - assert_eq!(g.remove_global_effect(&effects[1]), Err((GridError::EffectMissing))); [INFO] [stdout] 657 + assert_eq!(g.remove_global_effect(&effects[1]), Err(GridError::EffectMissing)); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - vec![e0 as Rc, e1, e2] [INFO] [stdout] 70 + vec![e0 as Rc, e1, e2] [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stdout] 306 + pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stdout] | [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: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 471 - fn clone_boxed(&self) -> Box { [INFO] [stdout] 471 + fn clone_boxed(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 507 - fn clone_boxed(&self) -> Box { [INFO] [stdout] 507 + fn clone_boxed(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 534 - fn clone_boxed(&self) -> Box { [INFO] [stdout] 534 + fn clone_boxed(&self) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - pub fn effects_default() -> Vec> { [INFO] [stdout] 65 + pub fn effects_default() -> Vec> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - vec![e0 as Rc, e1, e2] [INFO] [stdout] 70 + vec![e0 as Rc, e1, e2] [INFO] [stdout] | [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.86s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/owe-dca64d9cdb42093c) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/owebin-46ab7b98130629ec) [INFO] [stderr] Executable tests/grid.rs (/opt/rustwide/target/debug/deps/grid-a2ac68bfe6f572d6) [INFO] [stderr] Executable tests/production.rs (/opt/rustwide/target/debug/deps/production-af2376d1586c1ae3) [INFO] running `Command { std: "docker" "inspect" "766448d705b5b556c068d17291ef3a27137c2d4dd78c966c03d113eac231c8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766448d705b5b556c068d17291ef3a27137c2d4dd78c966c03d113eac231c8bd", kill_on_drop: false }` [INFO] [stdout] 766448d705b5b556c068d17291ef3a27137c2d4dd78c966c03d113eac231c8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 599e25adb806442b8d9945ce17a6e026f60d6f703fcd2d4cf8ac54c1d8b5cc1f [INFO] running `Command { std: "docker" "start" "-a" "599e25adb806442b8d9945ce17a6e026f60d6f703fcd2d4cf8ac54c1d8b5cc1f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/map/grid.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 63 - let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stderr] 63 + let x = if x1 < x2 { x2 - x1 } else { x1 - x2 }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/map/grid.rs:64:30 [INFO] [stderr] | [INFO] [stderr] 64 | let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 64 - let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stderr] 64 + let y = if y1 < y2 { y2 - y1 } else { y1 - y2 }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/mod.rs:77:28 [INFO] [stderr] | [INFO] [stderr] 77 | active_effects: Vec>, [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - active_effects: Vec>, [INFO] [stderr] 77 + active_effects: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/mod.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | active_effects: Vec>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - active_effects: Vec>, [INFO] [stderr] 33 + active_effects: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entities/mod.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | producer: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 - producer: Option>, [INFO] [stderr] 37 + producer: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entities/mod.rs:43:30 [INFO] [stderr] | [INFO] [stderr] 43 | producer: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - producer: Option>, [INFO] [stderr] 43 + producer: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/production/mod.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | impl Clone for Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 - impl Clone for Box { [INFO] [stderr] 28 + impl Clone for Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/production/mod.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | impl PartialEq for Producer { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - impl PartialEq for Producer { [INFO] [stderr] 34 + impl PartialEq for dyn Producer { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/production/mod.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | impl fmt::Debug for Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - impl fmt::Debug for Box { [INFO] [stderr] 40 + impl fmt::Debug for Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/production/mod.rs:25:34 [INFO] [stderr] | [INFO] [stderr] 25 | fn clone_boxed(&self) -> Box; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - fn clone_boxed(&self) -> Box; [INFO] [stderr] 25 + fn clone_boxed(&self) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/production/mod.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | fn clone(&self) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn clone(&self) -> Box { [INFO] [stderr] 29 + fn clone(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/production/mod.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | fn eq(&self, _: &Producer) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - fn eq(&self, _: &Producer) -> bool { [INFO] [stderr] 35 + fn eq(&self, _: &dyn Producer) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:24:61 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stderr] 24 + pub fn with_global_effects(size: usize, effects: Vec>) -> Grid { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:145:70 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 145 - pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stderr] 145 + pub fn add_cell_effect(&mut self, at: (usize, usize), effect: Rc) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:162:74 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 162 - pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stderr] 162 + pub fn remove_cell_effect(&mut self, at: (usize, usize), effect: &Rc) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:197:52 [INFO] [stderr] | [INFO] [stderr] 197 | pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 197 - pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stderr] 197 + pub fn add_global_effect(&mut self, effect: Rc) -> Result<(), GridError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:206:56 [INFO] [stderr] | [INFO] [stderr] 206 | pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 206 - pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stderr] 206 + pub fn remove_global_effect(&mut self, effect: &Rc) -> Result<(), GridError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:369:71 [INFO] [stderr] | [INFO] [stderr] 369 | pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 369 - pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stderr] 369 + pub fn is_effect_in_cell(&self, cell: (usize, usize), effect: &Rc) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map/grid.rs:387:48 [INFO] [stderr] | [INFO] [stderr] 387 | pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 387 - pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stderr] 387 + pub fn is_effect_global(&self, effect: &Rc) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `walker` [INFO] [stderr] --> src/map/cursor.rs:235:77 [INFO] [stderr] | [INFO] [stderr] 235 | ... p.produce_walker(&*grid_entity.entity).map(|walker| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_walker` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/map/cursor.rs:246:38 [INFO] [stderr] | [INFO] [stderr] 246 | Entity::Walker { ref mut state, .. } => { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `state: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/production/exchange.rs:141:29 [INFO] [stderr] | [INFO] [stderr] 141 | let mut entity_map = entry.get_mut(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/production/exchange.rs:188:29 [INFO] [stderr] | [INFO] [stderr] 188 | let mut entity_map = entry.get_mut(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `owe` (lib) generated 23 warnings [INFO] [stderr] warning: `owe` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/setup/grid/mod.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> tests/grid.rs:657:57 [INFO] [stderr] | [INFO] [stderr] 657 | assert_eq!(g.remove_global_effect(&effects[1]), Err((GridError::EffectMissing))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 657 - assert_eq!(g.remove_global_effect(&effects[1]), Err((GridError::EffectMissing))); [INFO] [stderr] 657 + assert_eq!(g.remove_global_effect(&effects[1]), Err(GridError::EffectMissing)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/setup/grid/mod.rs:306:92 [INFO] [stderr] | [INFO] [stderr] 306 | pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 306 - pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stderr] 306 + pub fn grid_with_effects() -> (map::Grid, map::Cursor, exchange::CommodityExchange, Vec>, HashMap<(usize, usize), Uuid>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/setup/grid/mod.rs:471:34 [INFO] [stderr] | [INFO] [stderr] 471 | fn clone_boxed(&self) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 471 - fn clone_boxed(&self) -> Box { [INFO] [stderr] 471 + fn clone_boxed(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/setup/grid/mod.rs:507:34 [INFO] [stderr] | [INFO] [stderr] 507 | fn clone_boxed(&self) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 507 - fn clone_boxed(&self) -> Box { [INFO] [stderr] 507 + fn clone_boxed(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/setup/grid/mod.rs:534:34 [INFO] [stderr] | [INFO] [stderr] 534 | fn clone_boxed(&self) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 534 - fn clone_boxed(&self) -> Box { [INFO] [stderr] 534 + fn clone_boxed(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/setup/effects/mod.rs:65:36 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn effects_default() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 - pub fn effects_default() -> Vec> { [INFO] [stderr] 65 + pub fn effects_default() -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/setup/effects/mod.rs:70:19 [INFO] [stderr] | [INFO] [stderr] 70 | vec![e0 as Rc, e1, e2] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 - vec![e0 as Rc, e1, e2] [INFO] [stderr] 70 + vec![e0 as Rc, e1, e2] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `owe` (test "grid") generated 8 warnings [INFO] [stderr] warning: `owe` (test "production") generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/owe-dca64d9cdb42093c) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/owebin-46ab7b98130629ec) [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] [stderr] Running tests/grid.rs (/opt/rustwide/target/debug/deps/grid-a2ac68bfe6f572d6) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test cursor_should_move_down ... ok [INFO] [stdout] test cursor_should_process_enqueued_actions ... ok [INFO] [stdout] test cursor_should_process_walker_production ... ok [INFO] [stdout] test cursor_should_process_effects ... ok [INFO] [stdout] test cursor_should_move_up ... ok [INFO] [stdout] test cursor_should_move_right ... ok [INFO] [stdout] test grid_should_add_entities_to_cell ... ok [INFO] [stdout] test grid_should_add_effects_to_cell ... ok [INFO] [stdout] test grid_should_add_global_effects ... ok [INFO] [stdout] test cursor_should_move_left ... ok [INFO] [stdout] test cursor_should_process_resource_production ... ok [INFO] [stdout] test grid_should_clear_global_effects ... ok [INFO] [stdout] test grid_should_clear_effects_from_cell ... ok [INFO] [stdout] test grid_should_find_closest_named_entity ... ok [INFO] [stdout] test grid_should_not_add_entities_outside_of_bounds ... ok [INFO] [stdout] test grid_should_find_named_entities ... ok [INFO] [stdout] test grid_should_not_add_effects_outside_of_bounds ... ok [INFO] [stdout] test grid_should_not_add_overlapping_entities ... ok [INFO] [stdout] test grid_should_not_allow_duplicate_global_effects ... ok [INFO] [stdout] test grid_should_not_allow_duplicate_effects_for_cell ... ok [INFO] [stdout] test grid_should_not_remove_effects_outside_of_bounds ... ok [INFO] [stdout] test grid_should_not_remove_effects_not_in_cell ... ok [INFO] [stdout] test grid_should_not_remove_entities_not_in_cell ... ok [INFO] [stdout] test grid_should_not_remove_entities_outside_of_bounds ... ok [INFO] [stdout] test grid_should_not_remove_entities_when_invalid_id_supplied ... ok [INFO] [stdout] test grid_should_not_remove_nonexistent_global_effects ... ok [INFO] [stdout] test grid_should_remove_entities_from_all_cells_they_use ... ok [INFO] [stdout] test grid_should_find_first_adjacent_road ... ok [INFO] [stdout] test grid_should_remove_effects_from_cell ... ok [INFO] [stdout] test grid_should_remove_entities_from_cell ... ok [INFO] [stdout] test grid_with_entities_should_report_correct_cell_neighbors ... ok [INFO] [stdout] test grid_without_entities_should_report_correct_cell_neighbors ... ok [INFO] [stdout] test grid_without_entities_should_calculate_paths_between_cells ... ok [INFO] [stdout] test grid_should_remove_global_effects ... ok [INFO] [stdout] test grid_with_entities_should_calculate_paths_between_cells ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/production.rs (/opt/rustwide/target/debug/deps/production-af2376d1586c1ae3) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test exchange_should_add_and_remove_consumers ... ok [INFO] [stdout] test exchange_should_not_add_doodad_as_consumer ... ok [INFO] [stdout] test exchange_should_not_add_doodad_as_producer ... ok [INFO] [stdout] test exchange_should_add_and_remove_producers ... ok [INFO] [stdout] test exchange_should_not_add_resource_as_consumer ... ok [INFO] [stdout] test exchange_should_not_add_duplicate_producers ... ok [INFO] [stdout] test exchange_should_not_add_duplicate_consumers ... ok [INFO] [stdout] test exchange_should_not_add_roadblock_as_producer ... ok [INFO] [stdout] test exchange_should_not_add_road_as_consumer ... ok [INFO] [stdout] test exchange_should_not_add_road_as_producer ... ok [INFO] [stdout] test exchange_should_not_add_roadblock_as_consumer ... ok [INFO] [stdout] test exchange_should_not_add_walker_as_consumer ... ok [INFO] [stdout] test exchange_should_not_update_state_for_doodad_entity ... ok [INFO] [stdout] test exchange_should_not_add_walker_as_producer ... ok [INFO] [stdout] test exchange_should_not_update_state_for_roadblock_entity ... ok [INFO] [stdout] test exchange_should_not_update_state_for_road_entity ... ok [INFO] [stdout] test exchange_should_update_structures_state ... ok [INFO] [stdout] test exchange_should_update_walkers_state ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests owe [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/map/grid.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 63 - let x = if x1 < x2 { (x2 - x1) } else { x1 - x2 }; [INFO] [stderr] 63 + let x = if x1 < x2 { x2 - x1 } else { x1 - x2 }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/map/grid.rs:64:30 [INFO] [stderr] | [INFO] [stderr] 64 | let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 64 - let y = if y1 < y2 { (y2 - y1) } else { y1 - y2 }; [INFO] [stderr] 64 + let y = if y1 < y2 { y2 - y1 } else { y1 - y2 }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [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" "599e25adb806442b8d9945ce17a6e026f60d6f703fcd2d4cf8ac54c1d8b5cc1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599e25adb806442b8d9945ce17a6e026f60d6f703fcd2d4cf8ac54c1d8b5cc1f", kill_on_drop: false }` [INFO] [stdout] 599e25adb806442b8d9945ce17a6e026f60d6f703fcd2d4cf8ac54c1d8b5cc1f