[INFO] cloning repository https://github.com/dinowernli/marvin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dinowernli/marvin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinowernli%2Fmarvin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinowernli%2Fmarvin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23542259fb7998ddf26a6c45d7c05debb18f204b [INFO] checking dinowernli/marvin against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinowernli%2Fmarvin" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dinowernli/marvin 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/dinowernli/marvin [INFO] finished tweaking git repo https://github.com/dinowernli/marvin [INFO] tweaked toml for git repo https://github.com/dinowernli/marvin written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/dinowernli/marvin 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a941caa82a2b52a8fd10ab9083d31ec69f5463e1b7d662f5a66b5a5358c3c1f [INFO] running `Command { std: "docker" "start" "-a" "6a941caa82a2b52a8fd10ab9083d31ec69f5463e1b7d662f5a66b5a5358c3c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a941caa82a2b52a8fd10ab9083d31ec69f5463e1b7d662f5a66b5a5358c3c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a941caa82a2b52a8fd10ab9083d31ec69f5463e1b7d662f5a66b5a5358c3c1f", kill_on_drop: false }` [INFO] [stdout] 6a941caa82a2b52a8fd10ab9083d31ec69f5463e1b7d662f5a66b5a5358c3c1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cceedc20de985b290638a08851572d223fd641b4f380eef2de1d0d7e0b4d909b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cceedc20de985b290638a08851572d223fd641b4f380eef2de1d0d7e0b4d909b", kill_on_drop: false }` [INFO] [stderr] Checking log v0.3.2 [INFO] [stderr] Checking advapi32-sys v0.1.2 [INFO] [stderr] Checking rand v0.3.11 [INFO] [stderr] Checking ai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/agent.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | predictor: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/agent.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | explorer_factory: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExplorerFactory` [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/agent.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | predictor: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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 `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/agent.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | predictor: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/agent.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | explorer_factory: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExplorerFactory` [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/agent.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | predictor: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/agent.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | explorer_factory: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExplorerFactory` [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/environment/environment.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | random: &'a mut Random, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/environment/environment.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(random: &'a mut Random) -> CoinFlip<'a> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/explorer/explorer_factory.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | &self, predictor: &'a mut Predictor) -> Box; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/explorer_factory.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | &self, predictor: &'a mut Predictor) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Explorer + 'a` [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/explorer/explorer_factory.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | &self) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Explorer` [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/explorer/explorer_factory.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | &self, predictor: &'a mut Predictor) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/explorer_factory.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | &self, predictor: &'a mut Predictor) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Explorer + 'a` [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/explorer/explorer_factory.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_random_explorer(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Explorer` [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/explorer/monte_carlo_explorer.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | predictor: &'a mut Predictor, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/monte_carlo_explorer.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(predictor: &mut Predictor) -> MonteCarloExplorer { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/random_explorer.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | random: Box [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/explorer/random_explorer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(random: Box) -> RandomExplorer { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/agent.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | explorer_factory: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExplorerFactory` [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/environment/environment.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | random: &'a mut Random, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/environment/environment.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(random: &'a mut Random) -> CoinFlip<'a> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/explorer/explorer_factory.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | &self, predictor: &'a mut Predictor) -> Box; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/explorer_factory.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | &self, predictor: &'a mut Predictor) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Explorer + 'a` [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/explorer/explorer_factory.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | &self) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Explorer` [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/explorer/explorer_factory.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | &self, predictor: &'a mut Predictor) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/explorer_factory.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | &self, predictor: &'a mut Predictor) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Explorer + 'a` [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/explorer/explorer_factory.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_random_explorer(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Explorer` [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/explorer/monte_carlo_explorer.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | predictor: &'a mut Predictor, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/monte_carlo_explorer.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(predictor: &mut Predictor) -> MonteCarloExplorer { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/explorer/random_explorer.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | random: Box [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/explorer/random_explorer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(random: Box) -> RandomExplorer { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/agent_test.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | &self, predictor: &mut Predictor) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Predictor` [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/agent_test.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | &self, predictor: &mut Predictor) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Explorer` [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/agent_test.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | fn create_random_explorer(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Explorer` [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: field is never read: `predictor` [INFO] [stdout] --> src/explorer/monte_carlo_explorer.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | predictor: &'a mut Predictor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `predictor` [INFO] [stdout] --> src/explorer/monte_carlo_explorer.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | predictor: &'a mut Predictor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/predictor/context_tree_test.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(-tol < diff && diff < tol, message); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 123 | assert!(-tol < diff && diff < tol, "{}", message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "cceedc20de985b290638a08851572d223fd641b4f380eef2de1d0d7e0b4d909b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cceedc20de985b290638a08851572d223fd641b4f380eef2de1d0d7e0b4d909b", kill_on_drop: false }` [INFO] [stdout] cceedc20de985b290638a08851572d223fd641b4f380eef2de1d0d7e0b4d909b