[INFO] fetching crate elastic_responses 0.21.0-pre.4... [INFO] testing elastic_responses-0.21.0-pre.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate elastic_responses 0.21.0-pre.4 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elastic_responses 0.21.0-pre.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--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 19 packages to latest compatible versions [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json_str v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03758cd731be15fd8207bdcf82823f22544089bafe878fa4fb761a41cb3aae73 [INFO] running `Command { std: "docker" "start" "-a" "03758cd731be15fd8207bdcf82823f22544089bafe878fa4fb761a41cb3aae73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03758cd731be15fd8207bdcf82823f22544089bafe878fa4fb761a41cb3aae73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03758cd731be15fd8207bdcf82823f22544089bafe878fa4fb761a41cb3aae73", kill_on_drop: false }` [INFO] [stdout] 03758cd731be15fd8207bdcf82823f22544089bafe878fa4fb761a41cb3aae73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71699db6e6881e2653d435ab5a4563def6ccfcd0a1026e9e523417e9ac977add [INFO] running `Command { std: "docker" "start" "-a" "71699db6e6881e2653d435ab5a4563def6ccfcd0a1026e9e523417e9ac977add", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [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] = 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 `shards` is never read [INFO] [stdout] --> src/bulk.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct OkItem< [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 429 | shards: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/bulk.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 575 | struct ItemDeInner { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DeleteResponse { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/get.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GetResponse { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `tagline` is never read [INFO] [stdout] --> src/ping.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PingResponse { [INFO] [stdout] | ------------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/search.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Hit { [INFO] [stdout] | --- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `current_row_finished` is never read [INFO] [stdout] --> src/search.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct Aggs<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 300 | current_row: Option>, [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/update.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UpdateResponse { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bulk.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn iter(&self) -> ResultIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | pub fn iter(&self) -> ResultIter<'_, TIndex, TType, TId> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bulk.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn iter(&self) -> ErrorIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn iter(&self) -> ErrorIter<'_, TIndex, TType, TId> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn hits(&self) -> Hits { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn hits(&self) -> Hits<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn documents(&self) -> Documents { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn documents(&self) -> Documents<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn aggs(&self) -> Aggs { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn aggs(&self) -> Aggs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "71699db6e6881e2653d435ab5a4563def6ccfcd0a1026e9e523417e9ac977add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71699db6e6881e2653d435ab5a4563def6ccfcd0a1026e9e523417e9ac977add", kill_on_drop: false }` [INFO] [stdout] 71699db6e6881e2653d435ab5a4563def6ccfcd0a1026e9e523417e9ac977add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 477bfdb6fd318b2574f083dde08e549654ab558130cf473b232d77f4b9f94cc8 [INFO] running `Command { std: "docker" "start" "-a" "477bfdb6fd318b2574f083dde08e549654ab558130cf473b232d77f4b9f94cc8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 `shards` is never read [INFO] [stdout] --> src/bulk.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct OkItem< [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 429 | shards: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/bulk.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 575 | struct ItemDeInner { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DeleteResponse { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/get.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GetResponse { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `tagline` is never read [INFO] [stdout] --> src/ping.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PingResponse { [INFO] [stdout] | ------------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/search.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Hit { [INFO] [stdout] | --- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `current_row_finished` is never read [INFO] [stdout] --> src/search.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct Aggs<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 300 | current_row: Option>, [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/update.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UpdateResponse { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bulk.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn iter(&self) -> ResultIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | pub fn iter(&self) -> ResultIter<'_, TIndex, TType, TId> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bulk.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn iter(&self) -> ErrorIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn iter(&self) -> ErrorIter<'_, TIndex, TType, TId> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn hits(&self) -> Hits { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn hits(&self) -> Hits<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn documents(&self) -> Documents { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn documents(&self) -> Documents<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn aggs(&self) -> Aggs { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn aggs(&self) -> Aggs<'_> { [INFO] [stdout] | ++++ [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] = 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 `shards` is never read [INFO] [stdout] --> src/bulk.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct OkItem< [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 429 | shards: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/bulk.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 575 | struct ItemDeInner { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DeleteResponse { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/get.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GetResponse { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `tagline` is never read [INFO] [stdout] --> src/ping.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PingResponse { [INFO] [stdout] | ------------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/search.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Hit { [INFO] [stdout] | --- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `current_row_finished` is never read [INFO] [stdout] --> src/search.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct Aggs<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 300 | current_row: Option>, [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] [INFO] [stdout] [INFO] [stdout] warning: field `routing` is never read [INFO] [stdout] --> src/update.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UpdateResponse { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bulk.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn iter(&self) -> ResultIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | pub fn iter(&self) -> ResultIter<'_, TIndex, TType, TId> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bulk.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn iter(&self) -> ErrorIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn iter(&self) -> ErrorIter<'_, TIndex, TType, TId> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn hits(&self) -> Hits { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn hits(&self) -> Hits<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn documents(&self) -> Documents { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn documents(&self) -> Documents<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/search.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn aggs(&self) -> Aggs { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn aggs(&self) -> Aggs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "477bfdb6fd318b2574f083dde08e549654ab558130cf473b232d77f4b9f94cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477bfdb6fd318b2574f083dde08e549654ab558130cf473b232d77f4b9f94cc8", kill_on_drop: false }` [INFO] [stdout] 477bfdb6fd318b2574f083dde08e549654ab558130cf473b232d77f4b9f94cc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32a443fda785def9e59ea1ee7e652b0fc679fc410ecfab6c79c3fa94a8238ca3 [INFO] running `Command { std: "docker" "start" "-a" "32a443fda785def9e59ea1ee7e652b0fc679fc410ecfab6c79c3fa94a8238ca3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:60:16 [INFO] [stderr] | [INFO] [stderr] 60 | inner: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 60 | inner: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:42:36 [INFO] [stderr] | [INFO] [stderr] 42 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bulk.rs:545:32 [INFO] [stderr] | [INFO] [stderr] 545 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 545 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | (&self.0 as &fmt::Debug).fmt(f) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 | (&self.0 as &dyn fmt::Debug).fmt(f) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | self.inner.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `shards` is never read [INFO] [stderr] --> src/bulk.rs:429:5 [INFO] [stderr] | [INFO] [stderr] 419 | pub struct OkItem< [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 429 | shards: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> src/bulk.rs:587:5 [INFO] [stderr] | [INFO] [stderr] 575 | struct ItemDeInner { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 587 | status: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ItemDeInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `routing` is never read [INFO] [stderr] --> src/delete.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct DeleteResponse { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 29 | routing: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeleteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `routing` is never read [INFO] [stderr] --> src/get.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct GetResponse { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | routing: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `tagline` is never read [INFO] [stderr] --> src/ping.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct PingResponse { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | tagline: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PingResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `routing` is never read [INFO] [stderr] --> src/search.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 237 | pub struct Hit { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 251 | routing: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `current_row_finished` is never read [INFO] [stderr] --> src/search.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 299 | pub struct Aggs<'a> { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 300 | current_row: Option>, [INFO] [stderr] 301 | current_row_finished: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Aggs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `routing` is never read [INFO] [stderr] --> src/update.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct UpdateResponse { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | routing: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bulk.rs:218:17 [INFO] [stderr] | [INFO] [stderr] 218 | pub fn iter(&self) -> ResultIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 218 | pub fn iter(&self) -> ResultIter<'_, TIndex, TType, TId> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bulk.rs:407:17 [INFO] [stderr] | [INFO] [stderr] 407 | pub fn iter(&self) -> ErrorIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 407 | pub fn iter(&self) -> ErrorIter<'_, TIndex, TType, TId> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/search.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn hits(&self) -> Hits { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 109 | pub fn hits(&self) -> Hits<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/search.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn documents(&self) -> Documents { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 123 | pub fn documents(&self) -> Documents<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/search.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn aggs(&self) -> Aggs { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 137 | pub fn aggs(&self) -> Aggs<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `elastic_responses` (lib) generated 19 warnings (run `cargo fix --lib -p elastic_responses` to apply 10 suggestions) [INFO] [stderr] warning: `elastic_responses` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elastic_responses-ba54f63f7779970d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-1a4ecd48a5a1c949) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test bulk::error_parse_action_request_validation ... ok [INFO] [stdout] test bulk::success_parse_index_ops ... ok [INFO] [stdout] test bulk::error_parse_action_request_validation_errors_only ... ok [INFO] [stdout] test get::success_parse_found_doc_response ... ok [INFO] [stdout] test index::error_parse_index_already_exists ... ok [INFO] [stdout] test get::error_parse_index_not_found ... ok [INFO] [stdout] test bulk::success_parse_with_errors ... ok [INFO] [stdout] test bulk::success_parse_multi_ops ... ok [INFO] [stdout] test bulk::success_parse_with_errors_errors_only ... ok [INFO] [stdout] test command::success_parse_command_response ... ok [INFO] [stdout] test get::success_into_document ... ok [INFO] [stdout] test get::success_parse_not_found_doc_response ... ok [INFO] [stdout] test index::success_parse_response ... ok [INFO] [stdout] test bulk::success_parse_multi_ops_errors_only ... ok [INFO] [stdout] test indices_exists::success_parse_response_exists ... ok [INFO] [stdout] test indices_exists::success_parse_response_not_exists ... ok [INFO] [stdout] test ping::success_parse_ping_response ... ok [INFO] [stdout] test search::error_parse_index_not_found ... ok [INFO] [stdout] test bulk::success_parse_index_ops_errors_only ... ok [INFO] [stdout] test search::success_parse_simple_aggs ... ok [INFO] [stdout] test search::success_parse_empty ... ok [INFO] [stdout] test search::success_parse_simple_aggs_no_empty_first_record ... ok [INFO] [stdout] test search::success_parse_hits_no_score ... ok [INFO] [stdout] test search::success_parse_hits_simple ... ok [INFO] [stdout] test search::success_parse_hits_simple_of_t ... ok [INFO] [stdout] test search::success_aggs_when_not_present ... ok [INFO] [stdout] test search::success_parse_hits_bank_sample ... ok [INFO] [stdout] test search::success_parse_hits_simple_as_value ... ok [INFO] [stdout] test search::success_parse_simple_nested_aggs ... ok [INFO] [stdout] test search::success_parse_3level_aggs ... ok [INFO] [stdout] test search::success_parse_3level_multistats_aggs ... ok [INFO] [stdout] test search::success_parse_3level_multichild_aggs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Doc-tests elastic_responses [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/bulk.rs - bulk::BulkErrorsResponse (line 264) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkErrorsResponse (line 284) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 87) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkResponse (line 102) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkErrorsResponse::iter (line 391) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkResponse::iter (line 194) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkResponse (line 71) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 28) - compile ... ok [INFO] [stdout] test src/search.rs - search::SearchResponse (line 34) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkResponse (line 41) - compile ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkResponse (line 138) ... ok [INFO] [stdout] test src/bulk.rs - bulk::BulkErrorsResponse (line 307) ... ok [INFO] [stdout] test src/lib.rs - (line 61) - compile ... ok [INFO] [stdout] test src/parsing.rs - parsing::IsOk (line 260) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "32a443fda785def9e59ea1ee7e652b0fc679fc410ecfab6c79c3fa94a8238ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a443fda785def9e59ea1ee7e652b0fc679fc410ecfab6c79c3fa94a8238ca3", kill_on_drop: false }` [INFO] [stdout] 32a443fda785def9e59ea1ee7e652b0fc679fc410ecfab6c79c3fa94a8238ca3