[INFO] fetching crate elastic_lens 0.7.0... [INFO] testing elastic_lens-0.7.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate elastic_lens 0.7.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate elastic_lens 0.7.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate elastic_lens 0.7.0 [INFO] tweaked toml for crates.io crate elastic_lens 0.7.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elastic_lens 0.7.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elastic_lens 0.7.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded elastic_lens_offical_es8 v8.5.0 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded elastic_lens_offical_es7 v7.14.0 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded arraystring v0.3.0 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded tokio-util v0.7.14 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded async-compression v0.4.21 [INFO] [stderr] Downloaded elasticsearch v8.5.0-alpha.1 [INFO] [stderr] Downloaded elasticsearch v7.14.0-alpha.1 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92ab0286774dc1dd87efe872e4d26d743db38e36cd50af75434088588d8d67ba [INFO] running `Command { std: "docker" "start" "-a" "92ab0286774dc1dd87efe872e4d26d743db38e36cd50af75434088588d8d67ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92ab0286774dc1dd87efe872e4d26d743db38e36cd50af75434088588d8d67ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ab0286774dc1dd87efe872e4d26d743db38e36cd50af75434088588d8d67ba", kill_on_drop: false }` [INFO] [stdout] 92ab0286774dc1dd87efe872e4d26d743db38e36cd50af75434088588d8d67ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c66232cfec74cb6761de58e5d87d53257db530470a6319ebc1b1458dcf5e0bc [INFO] running `Command { std: "docker" "start" "-a" "9c66232cfec74cb6761de58e5d87d53257db530470a6319ebc1b1458dcf5e0bc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling arraystring v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling elastic_lens v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/request/search/criterion/term_filter.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 65 | / fn serialize(&self, serializer: S) -> Result [INFO] [stdout] 66 | | where [INFO] [stdout] 67 | | S: serde::Serializer, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this method `serialize` [INFO] [stdout] ... [INFO] [stdout] 71 | impl Serialize for ValueType { [INFO] [stdout] | ^^^^^---------^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | `ValueType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/response/search_results.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 217 | / fn deserialize(deserializer: D) -> Result [INFO] [stdout] 218 | | where [INFO] [stdout] 219 | | D: Deserializer<'de>, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 225 | impl<'de> Deserialize<'de> for ResultCount { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | `ResultCount` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.74s [INFO] running `Command { std: "docker" "inspect" "9c66232cfec74cb6761de58e5d87d53257db530470a6319ebc1b1458dcf5e0bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c66232cfec74cb6761de58e5d87d53257db530470a6319ebc1b1458dcf5e0bc", kill_on_drop: false }` [INFO] [stdout] 9c66232cfec74cb6761de58e5d87d53257db530470a6319ebc1b1458dcf5e0bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caba729df47088aa252d53796a468e34b7bb18c09c8a2daf921064b5d07af7b4 [INFO] running `Command { std: "docker" "start" "-a" "caba729df47088aa252d53796a468e34b7bb18c09c8a2daf921064b5d07af7b4", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/request/search/criterion/term_filter.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 65 | / fn serialize(&self, serializer: S) -> Result [INFO] [stdout] 66 | | where [INFO] [stdout] 67 | | S: serde::Serializer, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this method `serialize` [INFO] [stdout] ... [INFO] [stdout] 71 | impl Serialize for ValueType { [INFO] [stdout] | ^^^^^---------^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | `ValueType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/response/search_results.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 217 | / fn deserialize(deserializer: D) -> Result [INFO] [stdout] 218 | | where [INFO] [stdout] 219 | | D: Deserializer<'de>, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this associated function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 225 | impl<'de> Deserialize<'de> for ResultCount { [INFO] [stdout] | ^^^^^^^^^^-----------^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | `ResultCount` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling elastic_lens v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `elastic_lens::client::DefaultAdapter` [INFO] [stdout] --> examples/sample_code.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | client::{Client, DefaultAdapter}, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `DefaultAdapter` in `client` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "official_client")] [INFO] [stdout] | --------------------------- the item is gated behind the `official_client` feature [INFO] [stdout] 29 | pub type DefaultAdapter = official_adapter::ElasticsearchAdapter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sample_code.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut results = client.search::(&search).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | Ok(results.aggs_mut().take("categories")?) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let mut results: /* Type */ = client.search::(&search).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sample_code.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut results = client.search::(&search).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | Ok(results.aggs_mut().take("price-stats")?) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | let mut results: /* Type */ = client.search::(&search).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sample_code.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut results = client.search::<()>(&search).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | Ok(results.aggs_mut().take::("under-twenty")?) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 141 | let mut results: /* Type */ = client.search::<()>(&search).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default_builder` found for struct `elastic_lens::client::Client` in the current scope [INFO] [stdout] --> examples/sample_code.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_lens` (example "sample_code") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "caba729df47088aa252d53796a468e34b7bb18c09c8a2daf921064b5d07af7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caba729df47088aa252d53796a468e34b7bb18c09c8a2daf921064b5d07af7b4", kill_on_drop: false }` [INFO] [stdout] caba729df47088aa252d53796a468e34b7bb18c09c8a2daf921064b5d07af7b4