[INFO] cloning repository https://github.com/CodeChain-io/codechain-agent-hub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodeChain-io/codechain-agent-hub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeChain-io%2Fcodechain-agent-hub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeChain-io%2Fcodechain-agent-hub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa0c25ce6b31d32efe01fe6a1fd39e784b9da29b [INFO] checking CodeChain-io/codechain-agent-hub against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeChain-io%2Fcodechain-agent-hub" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CodeChain-io/codechain-agent-hub on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CodeChain-io/codechain-agent-hub [INFO] finished tweaking git repo https://github.com/CodeChain-io/codechain-agent-hub [INFO] tweaked toml for git repo https://github.com/CodeChain-io/codechain-agent-hub written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/CodeChain-io/codechain-agent-hub already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/paritytech/jsonrpc.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fallible-iterator v0.1.6 [INFO] [stderr] Downloaded postgres-shared v0.4.2 [INFO] [stderr] Downloaded iron v0.6.0 [INFO] [stderr] Downloaded ethereum-types-serialize v0.2.2 [INFO] [stderr] Downloaded fixed-hash v0.2.5 [INFO] [stderr] Downloaded ethereum-types v0.4.2 [INFO] [stderr] Downloaded ethbloom v0.5.3 [INFO] [stderr] Downloaded ws v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6becbc2eb70dc33778241c9e2647c5535bf9510d52388fc3b5d30dbe6a4ee6ca [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" "6becbc2eb70dc33778241c9e2647c5535bf9510d52388fc3b5d30dbe6a4ee6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6becbc2eb70dc33778241c9e2647c5535bf9510d52388fc3b5d30dbe6a4ee6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6becbc2eb70dc33778241c9e2647c5535bf9510d52388fc3b5d30dbe6a4ee6ca", kill_on_drop: false }` [INFO] [stdout] 6becbc2eb70dc33778241c9e2647c5535bf9510d52388fc3b5d30dbe6a4ee6ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236566f69bf6b1e6ec8d5cf126fb1a16239cb69b9e72fda27c565a58b0776369 [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" "236566f69bf6b1e6ec8d5cf126fb1a16239cb69b9e72fda27c565a58b0776369", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking colored v1.7.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking ethereum-types-serialize v0.2.2 [INFO] [stderr] Checking tiny-keccak v1.4.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking regex v1.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking fixed-hash v0.2.5 [INFO] [stderr] Checking uint v0.4.1 [INFO] [stderr] Checking ethbloom v0.5.3 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking ethereum-types v0.4.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking ws v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Checking primitives v0.4.0 (https://github.com/CodeChain-io/rust-codechain-primitives.git#3e4a7c6d) [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking iron v0.6.0 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking jsonrpc-core v8.0.1 (https://github.com/paritytech/jsonrpc.git?branch=parity-1.11#a1b2bb74) [INFO] [stderr] Checking codechain-agent-hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let mut parameters: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | let parameters_ref: Vec<&ToSql> = parameters.iter().map(|param| param.as_ref()).collect(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let query_params: Vec<&ToSql> = parameters.get().iter().map(|param| param.borrow()).collect(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | parameters: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn add(&mut self, param: Rc) -> i32 { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get(&self) -> &Vec> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | event_subscriber: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventSubscriber` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub event_subscriber: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventSubscriber` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:245:99 [INFO] [stdout] | [INFO] [stdout] 245 | fn save_start_option(&mut self, node_name: NodeName, env: &str, args: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:263:104 [INFO] [stdout] | [INFO] [stdout] 263 | fn get_agent_extra(&self, node_name: &str, callback: Sender>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:271:94 [INFO] [stdout] | [INFO] [stdout] 271 | fn get_logs(&self, params: LogQueryParams, callback: Sender>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:277:87 [INFO] [stdout] | [INFO] [stdout] 277 | fn write_logs(&self, node_name: &str, logs: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:282:80 [INFO] [stdout] | [INFO] [stdout] 282 | fn get_log_targets(&self, callback: Sender>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | table: HashMap<&'static str, Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Route` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | let table: HashMap<&'static str, Box>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Route` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_route(&mut self, method: &'static str, route: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Route` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn log_error(context: T, result: Result<(), Box>) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let mut parameters: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | let parameters_ref: Vec<&ToSql> = parameters.iter().map(|param| param.as_ref()).collect(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let query_params: Vec<&ToSql> = parameters.get().iter().map(|param| param.borrow()).collect(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | parameters: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn add(&mut self, param: Rc) -> i32 { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/queries/logs.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get(&self) -> &Vec> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | event_subscriber: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventSubscriber` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub event_subscriber: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventSubscriber` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:245:99 [INFO] [stdout] | [INFO] [stdout] 245 | fn save_start_option(&mut self, node_name: NodeName, env: &str, args: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:263:104 [INFO] [stdout] | [INFO] [stdout] 263 | fn get_agent_extra(&self, node_name: &str, callback: Sender>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:271:94 [INFO] [stdout] | [INFO] [stdout] 271 | fn get_logs(&self, params: LogQueryParams, callback: Sender>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:277:87 [INFO] [stdout] | [INFO] [stdout] 277 | fn write_logs(&self, node_name: &str, logs: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/service.rs:282:80 [INFO] [stdout] | [INFO] [stdout] 282 | fn get_log_targets(&self, callback: Sender>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | table: HashMap<&'static str, Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Route` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | let table: HashMap<&'static str, Box>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Route` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_route(&mut self, method: &'static str, route: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Route` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn log_error(context: T, result: Result<(), Box>) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/service.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | Entry::Occupied(mut before) => before.into_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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/service.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | Entry::Occupied(mut before) => before.into_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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "236566f69bf6b1e6ec8d5cf126fb1a16239cb69b9e72fda27c565a58b0776369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236566f69bf6b1e6ec8d5cf126fb1a16239cb69b9e72fda27c565a58b0776369", kill_on_drop: false }` [INFO] [stdout] 236566f69bf6b1e6ec8d5cf126fb1a16239cb69b9e72fda27c565a58b0776369