[INFO] fetching crate sidekiq-rs 0.7.0... [INFO] checking sidekiq-rs-0.7.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate sidekiq-rs 0.7.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate sidekiq-rs 0.7.0 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 crates.io crate sidekiq-rs 0.7.0 [INFO] finished tweaking crates.io crate sidekiq-rs 0.7.0 [INFO] tweaked toml for crates.io crate sidekiq-rs 0.7.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 197563cd7e4cd97bc3b984263fb7d99f4f195dff635ef5d28666cb2941e39e23 [INFO] running `Command { std: "docker" "start" "-a" "197563cd7e4cd97bc3b984263fb7d99f4f195dff635ef5d28666cb2941e39e23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "197563cd7e4cd97bc3b984263fb7d99f4f195dff635ef5d28666cb2941e39e23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197563cd7e4cd97bc3b984263fb7d99f4f195dff635ef5d28666cb2941e39e23", kill_on_drop: false }` [INFO] [stdout] 197563cd7e4cd97bc3b984263fb7d99f4f195dff635ef5d28666cb2941e39e23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 8ab7d2bd6ef1b34d2ec6b2098903550ae1fe333153f2086a430ad7a116808558 [INFO] running `Command { std: "docker" "start" "-a" "8ab7d2bd6ef1b34d2ec6b2098903550ae1fe333153f2086a430ad7a116808558", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking hado v0.1.1 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking scheduled-thread-pool v0.1.0 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking r2d2 v0.7.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chan v0.1.23 [INFO] [stderr] Checking random_choice v0.3.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking chan-signal v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.0.3 [INFO] [stderr] Checking r2d2_redis v0.6.0 [INFO] [stderr] Checking structopt v0.0.3 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking backtrace v0.3.61 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking sidekiq-rs v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | job_handlers: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn JobHandler + 'a` [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/server.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare + '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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let manager = try!(RedisConnectionManager::new(redis)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let pool = try!(Pool::new(config, manager)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | let _ = try!(self.report_processed(n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | let _ = try!(self.report_failed(n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | try!(Pipeline::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let conn = try!(self.redispool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | let connection = try!(self.redispool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | let connection = try!(self.redispool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/job_handler.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn cloned(&mut self) -> Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn JobHandler` [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/job_handler.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | fn cloned(&mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn JobHandler` [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/errors.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | JobHandlerError(e: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError+Send` [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/errors.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | MiddleWareError(e: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError+Send` [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/worker.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | handlers: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn JobHandler + '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/worker.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare + '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/worker.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | handlers: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn JobHandler` [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/worker.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/worker.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(r) => Ok(try!(r)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:165:73 [INFO] [stdout] | [INFO] [stdout] 165 | ... chain: &mut [Box], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare + '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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/worker.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let conn = try!(self.pool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub type NextFunc<'a> = &'a mut (FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Job, RedisPool) -> MiddleWareResult + '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/middleware.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | fn cloned(&mut self) -> Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare` [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/middleware.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | fn cloned(&mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare` [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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain!{ [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | RedisError(::redis::RedisError) ; [INFO] [stdout] 5 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | job_handlers: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn JobHandler + 'a` [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/server.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare + '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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let manager = try!(RedisConnectionManager::new(redis)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let pool = try!(Pool::new(config, manager)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | let _ = try!(self.report_processed(n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | let _ = try!(self.report_failed(n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | try!(Pipeline::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let conn = try!(self.redispool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | let connection = try!(self.redispool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | let connection = try!(self.redispool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/job_handler.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn cloned(&mut self) -> Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn JobHandler` [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/job_handler.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | fn cloned(&mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn JobHandler` [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/errors.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | JobHandlerError(e: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError+Send` [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/errors.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | MiddleWareError(e: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError+Send` [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/worker.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | handlers: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn JobHandler + '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/worker.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare + '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/worker.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | handlers: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn JobHandler` [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/worker.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/worker.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(r) => Ok(try!(r)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:165:73 [INFO] [stdout] | [INFO] [stdout] 165 | ... chain: &mut [Box], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare + '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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/worker.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let conn = try!(self.pool.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub type NextFunc<'a> = &'a mut (FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Job, RedisPool) -> MiddleWareResult + '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/middleware.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | fn cloned(&mut self) -> Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare` [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/middleware.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | fn cloned(&mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MiddleWare` [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: use of deprecated associated function `threadpool::ThreadPool::new_with_name`: use ThreadPool::with_name [INFO] [stdout] --> src/server.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | threadpool: ThreadPool::new_with_name("worker".into(), concurrency), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain!{ [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | RedisError(::redis::RedisError) ; [INFO] [stdout] 5 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `threadpool::ThreadPool::new_with_name`: use ThreadPool::with_name [INFO] [stdout] --> src/server.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | threadpool: ThreadPool::new_with_name("worker".into(), concurrency), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain!{ [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | RedisError(::redis::RedisError) ; [INFO] [stdout] 5 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain!{ [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | RedisError(::redis::RedisError) ; [INFO] [stdout] 5 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn peek_middleware(job: &mut Job, redis: RedisPool, mut next: NextFunc) -> MiddleWareResult { [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/middleware.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn retry_middleware(job: &mut Job, redis: RedisPool, mut next: NextFunc) -> MiddleWareResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | ... mut next: NextFunc) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn peek_middleware(job: &mut Job, redis: RedisPool, mut next: NextFunc) -> MiddleWareResult { [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/middleware.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn retry_middleware(job: &mut Job, redis: RedisPool, mut next: NextFunc) -> MiddleWareResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | ... mut next: NextFunc) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.56s [INFO] running `Command { std: "docker" "inspect" "8ab7d2bd6ef1b34d2ec6b2098903550ae1fe333153f2086a430ad7a116808558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab7d2bd6ef1b34d2ec6b2098903550ae1fe333153f2086a430ad7a116808558", kill_on_drop: false }` [INFO] [stdout] 8ab7d2bd6ef1b34d2ec6b2098903550ae1fe333153f2086a430ad7a116808558