[INFO] fetching crate sidekiq-rs 0.7.0...
[INFO] testing sidekiq-rs-0.7.0 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate sidekiq-rs 0.7.0 into /workspace/builds/worker-1-tc1/source
[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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sidekiq-rs 0.7.0 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 85 packages to latest compatible versions
[INFO] [stderr]       Adding chan-signal v0.2.0 (available: v0.3.3)
[INFO] [stderr]       Adding chrono v0.3.0 (available: v0.4.44)
[INFO] [stderr]       Adding env_logger v0.4.3 (available: v0.11.10)
[INFO] [stderr]       Adding error-chain v0.10.0 (available: v0.12.4)
[INFO] [stderr]       Adding futures v0.1.31 (available: v0.3.32)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.29)
[INFO] [stderr]       Adding r2d2 v0.7.4 (available: v0.8.10)
[INFO] [stderr]       Adding r2d2_redis v0.6.0 (available: v0.14.0)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.1)
[INFO] [stderr]       Adding redis v0.8.0 (available: v1.2.1)
[INFO] [stderr]       Adding serde v0.9.15 (available: v1.0.228)
[INFO] [stderr]       Adding serde_json v0.9.10 (available: v1.0.149)
[INFO] [stderr]       Adding structopt v0.0.3 (available: v0.3.26)
[INFO] [stderr]       Adding structopt-derive v0.0.3 (available: v0.4.18)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itoa v0.3.4
[INFO] [stderr]   Downloaded serde v0.9.15
[INFO] [stderr]   Downloaded sha1 v0.2.0
[INFO] [stderr]   Downloaded serde_json v0.9.10
[INFO] [stderr]   Downloaded error-chain v0.10.0
[INFO] [stderr]   Downloaded num v0.1.43
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.1.0
[INFO] [stderr]   Downloaded antidote v1.0.0
[INFO] [stderr]   Downloaded chan-signal v0.2.0
[INFO] [stderr]   Downloaded r2d2 v0.7.4
[INFO] [stderr]   Downloaded env_logger v0.4.3
[INFO] [stderr]   Downloaded random_choice v0.3.2
[INFO] [stderr]   Downloaded rand v0.3.23
[INFO] [stderr]   Downloaded bit-set v0.4.0
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded r2d2_redis v0.6.0
[INFO] [stderr]   Downloaded bit-vec v0.4.4
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded chan v0.1.23
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded redis v0.8.0
[INFO] [stderr]   Downloaded chrono v0.3.0
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded structopt-derive v0.0.3
[INFO] [stderr]   Downloaded structopt v0.0.3
[INFO] [stderr]   Downloaded hado v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 23d05b00d782b78716945f3d0fe076f6aea8273c7915dd05c1812b5c06359653
[INFO] running `Command { std: "docker" "start" "-a" "23d05b00d782b78716945f3d0fe076f6aea8273c7915dd05c1812b5c06359653", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23d05b00d782b78716945f3d0fe076f6aea8273c7915dd05c1812b5c06359653", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23d05b00d782b78716945f3d0fe076f6aea8273c7915dd05c1812b5c06359653", kill_on_drop: false }`
[INFO] [stdout] 23d05b00d782b78716945f3d0fe076f6aea8273c7915dd05c1812b5c06359653
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd855fddd24ce6e0cd8f8f485966c621ed6467af71a25e602d9357a756baa7dc
[INFO] running `Command { std: "docker" "start" "-a" "bd855fddd24ce6e0cd8f8f485966c621ed6467af71a25e602d9357a756baa7dc", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling antidote v1.0.0
[INFO] [stderr]    Compiling redis v0.8.0
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling sha1 v0.2.0
[INFO] [stderr]    Compiling bit-vec v0.4.4
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling scheduled-thread-pool v0.1.0
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling hado v0.1.1
[INFO] [stderr]    Compiling r2d2 v0.7.4
[INFO] [stderr]    Compiling bit-set v0.4.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling chan v0.1.23
[INFO] [stderr]    Compiling random_choice v0.3.2
[INFO] [stderr]    Compiling error-chain v0.10.0
[INFO] [stderr]    Compiling chan-signal v0.2.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling r2d2_redis v0.6.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num v0.1.43
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling chrono v0.3.0
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling env_logger v0.4.3
[INFO] [stderr]    Compiling sidekiq-rs v0.7.0 (/opt/rustwide/workdir)
[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: 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: 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: use of deprecated method `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] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (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<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     job_handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stdout]    |                                        +++
[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<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[INFO] [stdout]    |                          +++
[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<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |          JobHandlerError(e: Box<dyn StdError+Send>) {
[INFO] [stdout]    |                                 +++
[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<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |          MiddleWareError(e: Box<dyn StdError+Send>) {
[INFO] [stdout]    |                                 +++
[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<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stdout]    |                                    +++
[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<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[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]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type NextFunc<'a> = &'a mut (dyn FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a);
[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<MiddleWare + 'a>],
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 165 |                                                        chain: &mut [Box<dyn MiddleWare + 'a>],
[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<JobHandler>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn cloned(&mut self) -> Box<dyn JobHandler>;
[INFO] [stdout]    |                                 +++
[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<MiddleWare>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn cloned(&mut self) -> Box<dyn MiddleWare>;
[INFO] [stdout]    |                                 +++
[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<JobHandler> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn cloned(&mut self) -> Box<dyn JobHandler> {
[INFO] [stdout]    |                                 +++
[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<String, Box<JobHandler>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |                handlers: BTreeMap<String, Box<dyn JobHandler>>,
[INFO] [stdout]    |                                               +++
[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<Box<MiddleWare>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |                middlewares: Vec<Box<dyn MiddleWare>>,
[INFO] [stdout]    |                                     +++
[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<MiddleWare> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn cloned(&mut self) -> Box<dyn MiddleWare> {
[INFO] [stdout]    |                                 +++
[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 method `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] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bd855fddd24ce6e0cd8f8f485966c621ed6467af71a25e602d9357a756baa7dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd855fddd24ce6e0cd8f8f485966c621ed6467af71a25e602d9357a756baa7dc", kill_on_drop: false }`
[INFO] [stdout] bd855fddd24ce6e0cd8f8f485966c621ed6467af71a25e602d9357a756baa7dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6fa4f97008059960040329bd7d27b186e0b80b84f4ad387b2e5372ec222b824a
[INFO] running `Command { std: "docker" "start" "-a" "6fa4f97008059960040329bd7d27b186e0b80b84f4ad387b2e5372ec222b824a", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling quote v0.3.15
[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: 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: 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: use of deprecated method `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] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (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<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     job_handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stdout]    |                                        +++
[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<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[INFO] [stdout]    |                          +++
[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<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |          JobHandlerError(e: Box<dyn StdError+Send>) {
[INFO] [stdout]    |                                 +++
[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<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |          MiddleWareError(e: Box<dyn StdError+Send>) {
[INFO] [stdout]    |                                 +++
[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<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stdout]    |                                    +++
[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<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[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]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type NextFunc<'a> = &'a mut (dyn FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a);
[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<MiddleWare + 'a>],
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 165 |                                                        chain: &mut [Box<dyn MiddleWare + 'a>],
[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<JobHandler>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn cloned(&mut self) -> Box<dyn JobHandler>;
[INFO] [stdout]    |                                 +++
[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<MiddleWare>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn cloned(&mut self) -> Box<dyn MiddleWare>;
[INFO] [stdout]    |                                 +++
[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<JobHandler> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn cloned(&mut self) -> Box<dyn JobHandler> {
[INFO] [stdout]    |                                 +++
[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<String, Box<JobHandler>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |                handlers: BTreeMap<String, Box<dyn JobHandler>>,
[INFO] [stdout]    |                                               +++
[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<Box<MiddleWare>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |                middlewares: Vec<Box<dyn MiddleWare>>,
[INFO] [stdout]    |                                     +++
[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<MiddleWare> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn cloned(&mut self) -> Box<dyn MiddleWare> {
[INFO] [stdout]    |                                 +++
[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 method `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] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (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)]` (part of `#[warn(unused)]`) 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] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling structopt-derive v0.0.3
[INFO] [stderr]    Compiling structopt v0.0.3
[INFO] [stderr]    Compiling sidekiq-rs v0.7.0 (/opt/rustwide/workdir)
[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: 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: 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: use of deprecated method `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] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (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<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     job_handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stdout]    |                                        +++
[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<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[INFO] [stdout]    |                          +++
[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<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |          JobHandlerError(e: Box<dyn StdError+Send>) {
[INFO] [stdout]    |                                 +++
[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<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |          MiddleWareError(e: Box<dyn StdError+Send>) {
[INFO] [stdout]    |                                 +++
[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<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stdout]    |                                    +++
[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<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[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]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type NextFunc<'a> = &'a mut (dyn FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a);
[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<MiddleWare + 'a>],
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 165 |                                                        chain: &mut [Box<dyn MiddleWare + 'a>],
[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<JobHandler>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn cloned(&mut self) -> Box<dyn JobHandler>;
[INFO] [stdout]    |                                 +++
[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<MiddleWare>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn cloned(&mut self) -> Box<dyn MiddleWare>;
[INFO] [stdout]    |                                 +++
[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<JobHandler> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn cloned(&mut self) -> Box<dyn JobHandler> {
[INFO] [stdout]    |                                 +++
[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<String, Box<JobHandler>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 |                handlers: BTreeMap<String, Box<dyn JobHandler>>,
[INFO] [stdout]    |                                               +++
[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<Box<MiddleWare>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |                middlewares: Vec<Box<dyn MiddleWare>>,
[INFO] [stdout]    |                                     +++
[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<MiddleWare> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn cloned(&mut self) -> Box<dyn MiddleWare> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> examples/main.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(StructOpt, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Params` is not local
[INFO] [stdout]    |          `StructOpt` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Params`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `StructOpt` (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 method `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] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "6fa4f97008059960040329bd7d27b186e0b80b84f4ad387b2e5372ec222b824a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fa4f97008059960040329bd7d27b186e0b80b84f4ad387b2e5372ec222b824a", kill_on_drop: false }`
[INFO] [stdout] 6fa4f97008059960040329bd7d27b186e0b80b84f4ad387b2e5372ec222b824a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 228ab9a00ff230caea6ebe1af3cb300ae553c0696b660509f23dbaf3858599a4
[INFO] running `Command { std: "docker" "start" "-a" "228ab9a00ff230caea6ebe1af3cb300ae553c0696b660509f23dbaf3858599a4", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/server.rs:66:23
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let manager = try!(RedisConnectionManager::new(redis));
[INFO] [stderr]    |                       ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/server.rs:67:20
[INFO] [stderr]    |
[INFO] [stderr] 67 |         let pool = try!(Pool::new(config, manager));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/server.rs:244:25
[INFO] [stderr]     |
[INFO] [stderr] 244 |                 let _ = try!(self.report_processed(n));
[INFO] [stderr]     |                         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/server.rs:248:25
[INFO] [stderr]     |
[INFO] [stderr] 248 |                 let _ = try!(self.report_failed(n));
[INFO] [stderr]     |                         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/server.rs:285:9
[INFO] [stderr]     |
[INFO] [stderr] 285 |         try!(Pipeline::new()
[INFO] [stderr]     |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/server.rs:284:20
[INFO] [stderr]     |
[INFO] [stderr] 284 |         let conn = try!(self.redispool.get());
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/server.rs:297:26
[INFO] [stderr]     |
[INFO] [stderr] 297 |         let connection = try!(self.redispool.get());
[INFO] [stderr]     |                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/server.rs:309:26
[INFO] [stderr]     |
[INFO] [stderr] 309 |         let connection = try!(self.redispool.get());
[INFO] [stderr]     |                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/worker.rs:156:25
[INFO] [stderr]     |
[INFO] [stderr] 156 |             Ok(r) => Ok(try!(r)),
[INFO] [stderr]     |                         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/worker.rs:201:20
[INFO] [stderr]     |
[INFO] [stderr] 201 |         let conn = try!(self.pool.get());
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/errors.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr]  2 | / error_chain!{
[INFO] [stderr]  3 | |     foreign_links {
[INFO] [stderr]  4 | |          RedisError(::redis::RedisError) ;
[INFO] [stderr]  5 | |          JsonError(::serde_json::Error);
[INFO] [stderr] ...  |
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/server.rs:44:40
[INFO] [stderr]    |
[INFO] [stderr] 44 |     job_handlers: BTreeMap<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 44 |     job_handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stderr]    |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/server.rs:45:26
[INFO] [stderr]    |
[INFO] [stderr] 45 |     middlewares: Vec<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 45 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[INFO] [stderr]    |                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/errors.rs:14:33
[INFO] [stderr]    |
[INFO] [stderr] 14 |          JobHandlerError(e: Box<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 14 |          JobHandlerError(e: Box<dyn StdError+Send>) {
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/errors.rs:18:33
[INFO] [stderr]    |
[INFO] [stderr] 18 |          MiddleWareError(e: Box<StdError+Send>) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 18 |          MiddleWareError(e: Box<dyn StdError+Send>) {
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/worker.rs:35:36
[INFO] [stderr]    |
[INFO] [stderr] 35 |     handlers: BTreeMap<String, Box<JobHandler + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 35 |     handlers: BTreeMap<String, Box<dyn JobHandler + 'a>>,
[INFO] [stderr]    |                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/worker.rs:36:26
[INFO] [stderr]    |
[INFO] [stderr] 36 |     middlewares: Vec<Box<MiddleWare + 'a>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 36 |     middlewares: Vec<Box<dyn MiddleWare + 'a>>,
[INFO] [stderr]    |                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/middleware.rs:10:34
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub type NextFunc<'a> = &'a mut (FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a);
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub type NextFunc<'a> = &'a mut (dyn FnMut(&mut Job, RedisPool) -> MiddleWareResult + 'a);
[INFO] [stderr]    |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/worker.rs:165:73
[INFO] [stderr]     |
[INFO] [stderr] 165 | ...                   chain: &mut [Box<MiddleWare + 'a>],
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 165 |                                                        chain: &mut [Box<dyn MiddleWare + 'a>],
[INFO] [stderr]     |                                                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/job_handler.rs:10:33
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn cloned(&mut self) -> Box<JobHandler>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn cloned(&mut self) -> Box<dyn JobHandler>;
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/middleware.rs:14:33
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn cloned(&mut self) -> Box<MiddleWare>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn cloned(&mut self) -> Box<dyn MiddleWare>;
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/job_handler.rs:19:33
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn cloned(&mut self) -> Box<JobHandler> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn cloned(&mut self) -> Box<dyn JobHandler> {
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/worker.rs:50:47
[INFO] [stderr]    |
[INFO] [stderr] 50 |                handlers: BTreeMap<String, Box<JobHandler>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 50 |                handlers: BTreeMap<String, Box<dyn JobHandler>>,
[INFO] [stderr]    |                                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/worker.rs:51:37
[INFO] [stderr]    |
[INFO] [stderr] 51 |                middlewares: Vec<Box<MiddleWare>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 51 |                middlewares: Vec<Box<dyn MiddleWare>>,
[INFO] [stderr]    |                                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/middleware.rs:23:33
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn cloned(&mut self) -> Box<MiddleWare> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn cloned(&mut self) -> Box<dyn MiddleWare> {
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `threadpool::ThreadPool::new_with_name`: use ThreadPool::with_name
[INFO] [stderr]   --> src/server.rs:70:37
[INFO] [stderr]    |
[INFO] [stderr] 70 |             threadpool: ThreadPool::new_with_name("worker".into(), concurrency),
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> src/errors.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr]  2 | / error_chain!{
[INFO] [stderr]  3 | |     foreign_links {
[INFO] [stderr]  4 | |          RedisError(::redis::RedisError) ;
[INFO] [stderr]  5 | |          JsonError(::serde_json::Error);
[INFO] [stderr] ...  |
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/middleware.rs:28:57
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn peek_middleware(job: &mut Job, redis: RedisPool, mut next: NextFunc) -> MiddleWareResult {
[INFO] [stderr]    |                                                         ----^^^^
[INFO] [stderr]    |                                                         |
[INFO] [stderr]    |                                                         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/middleware.rs:35:58
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn retry_middleware(job: &mut Job, redis: RedisPool, mut next: NextFunc) -> MiddleWareResult {
[INFO] [stderr]    |                                                          ----^^^^
[INFO] [stderr]    |                                                          |
[INFO] [stderr]    |                                                          help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/middleware.rs:71:31
[INFO] [stderr]    |
[INFO] [stderr] 71 | ...                   mut next: NextFunc)
[INFO] [stderr]    |                       ----^^^^
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `sidekiq-rs` (lib) generated 30 warnings (run `cargo fix --lib -p sidekiq-rs` to apply 17 suggestions)
[INFO] [stderr] warning: `sidekiq-rs` (lib test) generated 30 warnings (30 duplicates)
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> examples/main.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(StructOpt, Debug, Clone)]
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Params` is not local
[INFO] [stderr]    |          `StructOpt` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Params`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `sidekiq-rs` (example "main") generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sidekiq-953464df4ada29b6)
[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]    Doc-tests sidekiq
[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" "228ab9a00ff230caea6ebe1af3cb300ae553c0696b660509f23dbaf3858599a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "228ab9a00ff230caea6ebe1af3cb300ae553c0696b660509f23dbaf3858599a4", kill_on_drop: false }`
[INFO] [stdout] 228ab9a00ff230caea6ebe1af3cb300ae553c0696b660509f23dbaf3858599a4
