[INFO] cloning repository https://github.com/afiore/rmqfwd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afiore/rmqfwd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafiore%2Frmqfwd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafiore%2Frmqfwd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7008709e0fdce48901bbf3c99283401c59a13bd [INFO] checking afiore/rmqfwd against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafiore%2Frmqfwd" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afiore/rmqfwd on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/afiore/rmqfwd [INFO] finished tweaking git repo https://github.com/afiore/rmqfwd [INFO] tweaked toml for git repo https://github.com/afiore/rmqfwd written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/afiore/rmqfwd already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package [INFO] [stderr] Updating rmqfwd v0.3.1 (/workspace/builds/worker-1-tc1/source) -> v0.3.2 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matches v0.1.7 [INFO] [stderr] Downloaded tokio-fs v0.1.3 [INFO] [stderr] Downloaded tokio-executor v0.1.3 [INFO] [stderr] Downloaded tokio-threadpool v0.1.5 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded futures v0.1.23 [INFO] [stderr] Downloaded serde v1.0.72 [INFO] [stderr] Downloaded hyper v0.12.11 [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded termcolor v1.0.3 [INFO] [stderr] Downloaded http v0.1.13 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded env_logger v0.6.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded string v0.1.1 [INFO] [stderr] Downloaded h2 v0.1.12 [INFO] [stderr] Downloaded httparse v1.3.2 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded pest_meta v2.1.0 [INFO] [stderr] Downloaded pest_generator v2.1.0 [INFO] [stderr] Downloaded amq-protocol-codegen v1.1.0 [INFO] [stderr] Downloaded amq-protocol-types v1.1.0 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded cc v1.0.20 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded sasl v0.4.2 [INFO] [stderr] Downloaded lapin-async v0.15.0 [INFO] [stderr] Downloaded ctor v0.1.9 [INFO] [stderr] Downloaded tokio-tcp v0.1.1 [INFO] [stderr] Downloaded mio v0.6.15 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded log v0.4.4 [INFO] [stderr] Downloaded pest v2.1.0 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded generic-array v0.9.0 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded amq-protocol v1.1.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded nom v4.0.0 [INFO] [stderr] Downloaded lapin-futures v0.15.0 [INFO] [stderr] Downloaded serde_derive v1.0.72 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded ryu v0.2.4 [INFO] [stderr] Downloaded structopt-derive v0.2.14 [INFO] [stderr] Downloaded structopt v0.2.14 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded tokio-timer v0.2.5 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded tokio-reactor v0.1.3 [INFO] [stderr] Downloaded byteorder v1.2.4 [INFO] [stderr] Downloaded bytes v0.4.9 [INFO] [stderr] Downloaded toml v0.5.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf847fa8181c8df6122e5d188c56166487809813572ab1be84f23b818de776d [INFO] running `Command { std: "docker" "start" "-a" "ecf847fa8181c8df6122e5d188c56166487809813572ab1be84f23b818de776d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf847fa8181c8df6122e5d188c56166487809813572ab1be84f23b818de776d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf847fa8181c8df6122e5d188c56166487809813572ab1be84f23b818de776d", kill_on_drop: false }` [INFO] [stdout] ecf847fa8181c8df6122e5d188c56166487809813572ab1be84f23b818de776d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7d89d3d2714cec0ae88b712e8f2ef02033f51d9713fe741923e9eb5454f08b5 [INFO] running `Command { std: "docker" "start" "-a" "a7d89d3d2714cec0ae88b712e8f2ef02033f51d9713fe741923e9eb5454f08b5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling serde v1.0.72 [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling cc v1.0.20 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking matches v0.1.7 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking tokio-executor v0.1.3 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking base64 v0.9.2 [INFO] [stderr] Checking tokio-timer v0.2.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking sasl v0.4.2 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking termcolor v1.0.3 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking toml v0.5.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.72 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking hyper v0.12.11 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Compiling amq-protocol-types v1.1.0 [INFO] [stderr] Checking amq-protocol-codegen v1.1.0 [INFO] [stderr] Compiling amq-protocol v1.1.0 [INFO] [stderr] Checking lapin-async v0.15.0 [INFO] [stderr] Checking lapin-futures v0.15.0 [INFO] [stderr] Checking rmqfwd v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `Message` is already imported here [INFO] [stdout] 358 | use crate::lapin::types::AMQPValue; [INFO] [stdout] 359 | use crate::rmq::{Message, Properties}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `future` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 362 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 363 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Client` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `Client` is already imported here [INFO] [stdout] ... [INFO] [stdout] 364 | use hyper::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StoredMessage` is imported redundantly [INFO] [stdout] --> src/fs.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use crate::es::StoredMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | use crate::fs::*; [INFO] [stdout] | ------------ the item `StoredMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/fs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::fs::*; [INFO] [stdout] | ------------ the item `Error` is already imported here [INFO] [stdout] 137 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/fs.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::fs::*; [INFO] [stdout] | ------------ the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 140 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/http.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Send` is imported redundantly [INFO] [stdout] --> src/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Send` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rmq.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/rmq.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/fs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/http.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Send` is imported redundantly [INFO] [stdout] --> src/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Send` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rmq.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/rmq.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 440 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 440 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | Future, Error = failure::Error> + Send + 'static, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 | dyn Future, Error = failure::Error> + Send + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | Future, Error = failure::Error> + Send + 'static, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 | dyn Future, Error = failure::Error> + Send + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_url` is never used [INFO] [stdout] --> src/es/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 127 | trait EsEndpoints { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 133 | fn flush_url(&self) -> Url; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/es/http.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn head(url: &Url) -> Request { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/es/http.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn delete(url: &Url) -> Request { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fs.rs:241:40 [INFO] [stdout] | [INFO] [stdout] 241 | let mut bytes = TOML.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fs.rs:253:39 [INFO] [stdout] | [INFO] [stdout] 253 | file.write_all(TOML.as_bytes().clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a7d89d3d2714cec0ae88b712e8f2ef02033f51d9713fe741923e9eb5454f08b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d89d3d2714cec0ae88b712e8f2ef02033f51d9713fe741923e9eb5454f08b5", kill_on_drop: false }` [INFO] [stdout] a7d89d3d2714cec0ae88b712e8f2ef02033f51d9713fe741923e9eb5454f08b5 [INFO] checking afiore/rmqfwd against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafiore%2Frmqfwd" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afiore/rmqfwd on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/afiore/rmqfwd [INFO] finished tweaking git repo https://github.com/afiore/rmqfwd [INFO] tweaked toml for git repo https://github.com/afiore/rmqfwd written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/afiore/rmqfwd already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67494815d1a9c87019a6b771220a3cbaf925f4b1caa2e14daedc8f1cc6648385 [INFO] running `Command { std: "docker" "start" "-a" "67494815d1a9c87019a6b771220a3cbaf925f4b1caa2e14daedc8f1cc6648385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67494815d1a9c87019a6b771220a3cbaf925f4b1caa2e14daedc8f1cc6648385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67494815d1a9c87019a6b771220a3cbaf925f4b1caa2e14daedc8f1cc6648385", kill_on_drop: false }` [INFO] [stdout] 67494815d1a9c87019a6b771220a3cbaf925f4b1caa2e14daedc8f1cc6648385 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3bf2fb2296d3390c4b511e136491346b57cae17da867c8d1c9b8c84c47aef98 [INFO] running `Command { std: "docker" "start" "-a" "f3bf2fb2296d3390c4b511e136491346b57cae17da867c8d1c9b8c84c47aef98", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling serde v1.0.72 [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling cc v1.0.20 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking matches v0.1.7 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking tokio-executor v0.1.3 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.3 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking tokio-timer v0.2.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking base64 v0.9.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking sasl v0.4.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking termcolor v1.0.3 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking toml v0.5.0 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.72 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking hyper v0.12.11 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Compiling amq-protocol-types v1.1.0 [INFO] [stderr] Checking amq-protocol-codegen v1.1.0 [INFO] [stderr] Compiling amq-protocol v1.1.0 [INFO] [stderr] Checking lapin-async v0.15.0 [INFO] [stderr] Checking lapin-futures v0.15.0 [INFO] [stderr] Checking rmqfwd v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/fs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/http.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Send` is imported redundantly [INFO] [stdout] --> src/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Send` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rmq.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/rmq.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/es/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `Message` is already imported here [INFO] [stdout] 358 | use crate::lapin::types::AMQPValue; [INFO] [stdout] 359 | use crate::rmq::{Message, Properties}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `future` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 362 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 363 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Client` is imported redundantly [INFO] [stdout] --> src/es/mod.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::es::*; [INFO] [stdout] | ------------ the item `Client` is already imported here [INFO] [stdout] ... [INFO] [stdout] 364 | use hyper::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/fs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StoredMessage` is imported redundantly [INFO] [stdout] --> src/fs.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use crate::es::StoredMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | use crate::fs::*; [INFO] [stdout] | ------------ the item `StoredMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/fs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::fs::*; [INFO] [stdout] | ------------ the item `Error` is already imported here [INFO] [stdout] 137 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/fs.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::fs::*; [INFO] [stdout] | ------------ the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 140 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/http.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Send` is imported redundantly [INFO] [stdout] --> src/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Send` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rmq.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/rmq.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type Task = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub type IoFuture = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 440 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | ) -> Box + Send + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/es/http.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | type FutureResponse = Box, Error = Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Box, Error = Error> + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 | ) -> Box, Error = failure::Error> + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 440 | ) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | Future, Error = failure::Error> + Send + 'static, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 | dyn Future, Error = failure::Error> + Send + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rmq.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | Future, Error = failure::Error> + Send + 'static, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 | dyn Future, Error = failure::Error> + Send + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_url` is never used [INFO] [stdout] --> src/es/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 127 | trait EsEndpoints { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 133 | fn flush_url(&self) -> Url; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/es/http.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn head(url: &Url) -> Request { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/es/http.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn delete(url: &Url) -> Request { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fs.rs:241:40 [INFO] [stdout] | [INFO] [stdout] 241 | let mut bytes = TOML.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fs.rs:253:39 [INFO] [stdout] | [INFO] [stdout] 253 | file.write_all(TOML.as_bytes().clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0, syn v0.14.9 [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" "f3bf2fb2296d3390c4b511e136491346b57cae17da867c8d1c9b8c84c47aef98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3bf2fb2296d3390c4b511e136491346b57cae17da867c8d1c9b8c84c47aef98", kill_on_drop: false }` [INFO] [stdout] f3bf2fb2296d3390c4b511e136491346b57cae17da867c8d1c9b8c84c47aef98