[INFO] fetching crate elastic_responses 0.21.0-pre.4... [INFO] building elastic_responses-0.21.0-pre.4 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate elastic_responses 0.21.0-pre.4 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate elastic_responses 0.21.0-pre.4 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elastic_responses 0.21.0-pre.4 [INFO] finished tweaking crates.io crate elastic_responses 0.21.0-pre.4 [INFO] tweaked toml for crates.io crate elastic_responses 0.21.0-pre.4 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 968c5a630a54f3391fb599026c12acbf8985309a09b0fd2062cd92a57f75e524 [INFO] running `Command { std: "docker" "start" "-a" "968c5a630a54f3391fb599026c12acbf8985309a09b0fd2062cd92a57f75e524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "968c5a630a54f3391fb599026c12acbf8985309a09b0fd2062cd92a57f75e524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968c5a630a54f3391fb599026c12acbf8985309a09b0fd2062cd92a57f75e524", kill_on_drop: false }` [INFO] [stdout] 968c5a630a54f3391fb599026c12acbf8985309a09b0fd2062cd92a57f75e524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af9ec0304df5b804d391438d371e60fa55b7b388665076c990cf8691ab6798c7 [INFO] running `Command { std: "docker" "start" "-a" "af9ec0304df5b804d391438d371e60fa55b7b388665076c990cf8691ab6798c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling elastic_responses v0.21.0-pre.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | inner: Box, [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] 60 - inner: Box, [INFO] [stdout] 60 + inner: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&StdError> { [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] 97 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 97 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&StdError> { [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] 42 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 42 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bulk.rs:545:32 [INFO] [stdout] | [INFO] [stdout] 545 | fn cause(&self) -> Option<&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] 545 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 545 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | (&self.0 as &fmt::Debug).fmt(f) [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 - (&self.0 as &fmt::Debug).fmt(f) [INFO] [stdout] 33 + (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | self.inner.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shards` [INFO] [stdout] --> src/bulk.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | shards: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bulk.rs:418:10 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/bulk.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | status: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemDeInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bulk.rs:574:23 [INFO] [stdout] | [INFO] [stdout] 574 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DeleteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/delete.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/get.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/get.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tagline` [INFO] [stdout] --> src/ping.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tagline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PingResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/search.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/search.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_row_finished` [INFO] [stdout] --> src/search.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | current_row_finished: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Aggs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/search.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/update.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UpdateResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/update.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.87s [INFO] running `Command { std: "docker" "inspect" "af9ec0304df5b804d391438d371e60fa55b7b388665076c990cf8691ab6798c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9ec0304df5b804d391438d371e60fa55b7b388665076c990cf8691ab6798c7", kill_on_drop: false }` [INFO] [stdout] af9ec0304df5b804d391438d371e60fa55b7b388665076c990cf8691ab6798c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4760823bf94c4fdedd0ccf0ed99df1d8f9fa235bd34ded0c799be85caeed4fb0 [INFO] running `Command { std: "docker" "start" "-a" "4760823bf94c4fdedd0ccf0ed99df1d8f9fa235bd34ded0c799be85caeed4fb0", kill_on_drop: false }` [INFO] [stderr] Compiling json_str v0.5.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | inner: Box, [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] 60 - inner: Box, [INFO] [stdout] 60 + inner: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&StdError> { [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] 97 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 97 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&StdError> { [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] 42 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 42 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bulk.rs:545:32 [INFO] [stdout] | [INFO] [stdout] 545 | fn cause(&self) -> Option<&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] 545 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 545 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | (&self.0 as &fmt::Debug).fmt(f) [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 - (&self.0 as &fmt::Debug).fmt(f) [INFO] [stdout] 33 + (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | self.inner.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shards` [INFO] [stdout] --> src/bulk.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | shards: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bulk.rs:418:10 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/bulk.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | status: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemDeInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bulk.rs:574:23 [INFO] [stdout] | [INFO] [stdout] 574 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DeleteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/delete.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/get.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/get.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tagline` [INFO] [stdout] --> src/ping.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tagline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PingResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/search.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/search.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_row_finished` [INFO] [stdout] --> src/search.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | current_row_finished: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Aggs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/search.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/update.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UpdateResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/update.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling elastic_responses v0.21.0-pre.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | inner: Box, [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] 60 - inner: Box, [INFO] [stdout] 60 + inner: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&StdError> { [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] 97 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 97 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&StdError> { [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] 42 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 42 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bulk.rs:545:32 [INFO] [stdout] | [INFO] [stdout] 545 | fn cause(&self) -> Option<&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] 545 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 545 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | (&self.0 as &fmt::Debug).fmt(f) [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 - (&self.0 as &fmt::Debug).fmt(f) [INFO] [stdout] 33 + (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | self.inner.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shards` [INFO] [stdout] --> src/bulk.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | shards: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bulk.rs:418:10 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/bulk.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | status: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemDeInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bulk.rs:574:23 [INFO] [stdout] | [INFO] [stdout] 574 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DeleteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/delete.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/get.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/get.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tagline` [INFO] [stdout] --> src/ping.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tagline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PingResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/search.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/search.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_row_finished` [INFO] [stdout] --> src/search.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | current_row_finished: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Aggs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/search.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `routing` [INFO] [stdout] --> src/update.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | routing: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UpdateResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/update.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.52s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/elastic_responses-6e358c3121f40828) [INFO] [stderr] Executable tests/mod.rs (/opt/rustwide/target/debug/deps/mod-fbb18ca6109d7b08) [INFO] running `Command { std: "docker" "inspect" "4760823bf94c4fdedd0ccf0ed99df1d8f9fa235bd34ded0c799be85caeed4fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4760823bf94c4fdedd0ccf0ed99df1d8f9fa235bd34ded0c799be85caeed4fb0", kill_on_drop: false }` [INFO] [stdout] 4760823bf94c4fdedd0ccf0ed99df1d8f9fa235bd34ded0c799be85caeed4fb0