[INFO] fetching crate batch 0.1.1... [INFO] building batch-0.1.1 against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] extracting crate batch 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate batch 0.1.1 on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate batch 0.1.1 [INFO] finished tweaking crates.io crate batch 0.1.1 [INFO] tweaked toml for crates.io crate batch 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pbkdf2 v0.3.0 [INFO] [stderr] Downloaded pest v0.3.3 [INFO] [stderr] Downloaded webpki-roots v0.16.0 [INFO] [stderr] Downloaded rustls v0.15.2 [INFO] [stderr] Downloaded batch-codegen v0.1.0 [INFO] [stderr] Downloaded sct v0.5.0 [INFO] [stderr] Downloaded webpki v0.19.1 [INFO] [stderr] Downloaded amq-protocol v0.19.1 [INFO] [stderr] Downloaded amq-protocol-types v0.20.0 [INFO] [stderr] Downloaded tls-api v0.1.22 [INFO] [stderr] Downloaded lapin-futures-rustls v0.10.0 [INFO] [stderr] Downloaded amq-protocol-codegen v0.27.0 [INFO] [stderr] Downloaded tokio-timer v0.1.2 [INFO] [stderr] Downloaded domain v0.2.4 [INFO] [stderr] Downloaded wait-timeout v0.1.5 [INFO] [stderr] Downloaded lapin-futures-tls-api v0.6.0 [INFO] [stderr] Downloaded lapin-futures v0.10.0 [INFO] [stderr] Downloaded handlebars v0.27.0 [INFO] [stderr] Downloaded lapin-async v0.10.0 [INFO] [stderr] Downloaded tokio-tls-api v0.1.22 [INFO] [stderr] Downloaded ring v0.14.6 [INFO] [stderr] Downloaded tls-api-rustls v0.1.22 [INFO] [stderr] Downloaded abstract-ns v0.4.3 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded ns-dns-tokio v0.4.0 [INFO] [stderr] Downloaded sasl v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b91d0e3d5886f177f48d430e2fb65e7abe7fec49345c1b17f36ce84ee36ef5e [INFO] running `Command { std: "docker" "start" "-a" "7b91d0e3d5886f177f48d430e2fb65e7abe7fec49345c1b17f36ce84ee36ef5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b91d0e3d5886f177f48d430e2fb65e7abe7fec49345c1b17f36ce84ee36ef5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b91d0e3d5886f177f48d430e2fb65e7abe7fec49345c1b17f36ce84ee36ef5e", kill_on_drop: false }` [INFO] [stdout] 7b91d0e3d5886f177f48d430e2fb65e7abe7fec49345c1b17f36ce84ee36ef5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f95febcac6be6877a32ddb4d568c9ebf09658abf6b7bf941a1d844814689b6e [INFO] running `Command { std: "docker" "start" "-a" "3f95febcac6be6877a32ddb4d568c9ebf09658abf6b7bf941a1d844814689b6e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tls-api v0.1.22 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wait-timeout v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling abstract-ns v0.4.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sasl v0.4.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-tls-api v0.1.22 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling batch-codegen v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling handlebars v0.27.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling domain v0.2.4 [INFO] [stderr] Compiling webpki v0.19.1 [INFO] [stderr] Compiling sct v0.5.0 [INFO] [stderr] Compiling webpki-roots v0.16.0 [INFO] [stderr] Compiling rustls v0.15.2 [INFO] [stderr] Compiling amq-protocol-types v0.20.0 [INFO] [stderr] Compiling ns-dns-tokio v0.4.0 [INFO] [stderr] Compiling amq-protocol-codegen v0.27.0 [INFO] [stderr] Compiling tls-api-rustls v0.1.22 [INFO] [stderr] Compiling amq-protocol v0.19.1 [INFO] [stderr] Compiling lapin-async v0.10.0 [INFO] [stderr] Compiling lapin-futures v0.10.0 [INFO] [stderr] Compiling lapin-futures-tls-api v0.6.0 [INFO] [stderr] Compiling lapin-futures-rustls v0.10.0 [INFO] [stderr] Compiling batch v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/task.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn perform(&self, Self::Context); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | stream: Box + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - stream: Box + Send>, [INFO] [stdout] 244 + stream: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | type WorkerFn = Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - type WorkerFn = Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] 36 + type WorkerFn = dyn Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn build(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn build(self) -> Box> { [INFO] [stdout] 102 + pub fn build(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:127:49 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] 127 + pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 113 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/job.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] 81 + pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - ) -> Box> [INFO] [stdout] 33 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - ) -> Box> [INFO] [stdout] 69 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - ) -> Box> [INFO] [stdout] 132 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn recv(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - pub fn recv(self) -> Box> { [INFO] [stdout] 175 + pub fn recv(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 - pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] 218 + pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:257:40 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] 257 + pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 - pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] 267 + pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:380:10 [INFO] [stdout] | [INFO] [stdout] 380 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 380 - ) -> Box> { [INFO] [stdout] 380 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn run(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - pub fn run(self) -> Box> { [INFO] [stdout] 296 + pub fn run(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | fn supervise(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 - fn supervise(self) -> Box> { [INFO] [stdout] 303 + fn supervise(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let task: Box, Error = io::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - let task: Box, Error = io::Error>> = [INFO] [stdout] 39 + let task: Box, Error = io::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let task: Box, Error = io::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - let task: Box, Error = io::Error>> = [INFO] [stdout] 75 + let task: Box, Error = io::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let initial: Box + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 - let initial: Box + Send> = [INFO] [stdout] 201 + let initial: Box + Send> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.04s [INFO] running `Command { std: "docker" "inspect" "3f95febcac6be6877a32ddb4d568c9ebf09658abf6b7bf941a1d844814689b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f95febcac6be6877a32ddb4d568c9ebf09658abf6b7bf941a1d844814689b6e", kill_on_drop: false }` [INFO] [stdout] 3f95febcac6be6877a32ddb4d568c9ebf09658abf6b7bf941a1d844814689b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9158712bd8dbb973962b7344449445218b111a9a0779c9bcb4a6bae2a1696bc [INFO] running `Command { std: "docker" "start" "-a" "e9158712bd8dbb973962b7344449445218b111a9a0779c9bcb4a6bae2a1696bc", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/task.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn perform(&self, Self::Context); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | stream: Box + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - stream: Box + Send>, [INFO] [stdout] 244 + stream: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | type WorkerFn = Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - type WorkerFn = Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] 36 + type WorkerFn = dyn Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn build(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn build(self) -> Box> { [INFO] [stdout] 102 + pub fn build(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:127:49 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] 127 + pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 113 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/job.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] 81 + pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - ) -> Box> [INFO] [stdout] 33 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - ) -> Box> [INFO] [stdout] 69 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - ) -> Box> [INFO] [stdout] 132 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn recv(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - pub fn recv(self) -> Box> { [INFO] [stdout] 175 + pub fn recv(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 - pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] 218 + pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:257:40 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] 257 + pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 - pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] 267 + pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:380:10 [INFO] [stdout] | [INFO] [stdout] 380 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 380 - ) -> Box> { [INFO] [stdout] 380 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn run(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - pub fn run(self) -> Box> { [INFO] [stdout] 296 + pub fn run(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | fn supervise(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 - fn supervise(self) -> Box> { [INFO] [stdout] 303 + fn supervise(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let task: Box, Error = io::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - let task: Box, Error = io::Error>> = [INFO] [stdout] 39 + let task: Box, Error = io::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let task: Box, Error = io::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - let task: Box, Error = io::Error>> = [INFO] [stdout] 75 + let task: Box, Error = io::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let initial: Box + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 - let initial: Box + Send> = [INFO] [stdout] 201 + let initial: Box + Send> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling batch v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/task.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn perform(&self, Self::Context); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | stream: Box + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - stream: Box + Send>, [INFO] [stdout] 244 + stream: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | type WorkerFn = Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - type WorkerFn = Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] 36 + type WorkerFn = dyn Fn(&Job, Ctx) -> Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn build(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn build(self) -> Box> { [INFO] [stdout] 102 + pub fn build(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:127:49 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] 127 + pub(crate) fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 113 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/job.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] 81 + pub fn send(self, client: &Client) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - ) -> Box> [INFO] [stdout] 33 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - ) -> Box> [INFO] [stdout] 69 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - ) -> Box> [INFO] [stdout] 132 + ) -> Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn recv(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - pub fn recv(self) -> Box> { [INFO] [stdout] 175 + pub fn recv(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 - pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] 218 + pub fn send(&self, job: &Job) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:257:40 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] 257 + pub fn ack(&self, uid: u64) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 - pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] 267 + pub fn reject(&self, uid: u64) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:380:10 [INFO] [stdout] | [INFO] [stdout] 380 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 380 - ) -> Box> { [INFO] [stdout] 380 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn run(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - pub fn run(self) -> Box> { [INFO] [stdout] 296 + pub fn run(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/worker.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | fn supervise(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 - fn supervise(self) -> Box> { [INFO] [stdout] 303 + fn supervise(self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let task: Box, Error = io::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - let task: Box, Error = io::Error>> = [INFO] [stdout] 39 + let task: Box, Error = io::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let task: Box, Error = io::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - let task: Box, Error = io::Error>> = [INFO] [stdout] 75 + let task: Box, Error = io::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rabbitmq.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let initial: Box + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 - let initial: Box + Send> = [INFO] [stdout] 201 + let initial: Box + Send> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.64s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/batch-8eae3010b076b677) [INFO] running `Command { std: "docker" "inspect" "e9158712bd8dbb973962b7344449445218b111a9a0779c9bcb4a6bae2a1696bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9158712bd8dbb973962b7344449445218b111a9a0779c9bcb4a6bae2a1696bc", kill_on_drop: false }` [INFO] [stdout] e9158712bd8dbb973962b7344449445218b111a9a0779c9bcb4a6bae2a1696bc