[INFO] fetching crate elastic_lens 0.7.0... [INFO] checking elastic_lens-0.7.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate elastic_lens 0.7.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate elastic_lens 0.7.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a6ec7cb17f8de61ee3cd3549d404234154f3a4c52318b490764dc99bd7dc069 [INFO] running `Command { std: "docker" "start" "-a" "1a6ec7cb17f8de61ee3cd3549d404234154f3a4c52318b490764dc99bd7dc069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a6ec7cb17f8de61ee3cd3549d404234154f3a4c52318b490764dc99bd7dc069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6ec7cb17f8de61ee3cd3549d404234154f3a4c52318b490764dc99bd7dc069", kill_on_drop: false }` [INFO] [stdout] 1a6ec7cb17f8de61ee3cd3549d404234154f3a4c52318b490764dc99bd7dc069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b41e5ac7a181e5ef2830f945dd823d8ddd12af7bbdeb37e7506be3601096012c [INFO] running `Command { std: "docker" "start" "-a" "b41e5ac7a181e5ef2830f945dd823d8ddd12af7bbdeb37e7506be3601096012c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking arraystring v0.3.0 [INFO] [stderr] Checking mio v1.0.3 [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 tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking 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] [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] [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/script_score.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [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/nested_filter.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [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/multi_search.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [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/filter_aggs.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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/script_sort.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_lens` (example "script_score") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `elastic_lens` (example "nested_filter") due to 1 previous error [INFO] [stderr] error: could not compile `elastic_lens` (example "multi_search") due to 1 previous error [INFO] [stderr] error: could not compile `elastic_lens` (example "filter_aggs") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_lens` (example "script_sort") due to 1 previous error [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/simple_sort.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [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/collapse_by.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_lens` (example "simple_sort") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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/scroll_search.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let client = Client::default_builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `elastic_lens::client::Client<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_lens` (example "collapse_by") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_lens` (example "scroll_search") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b41e5ac7a181e5ef2830f945dd823d8ddd12af7bbdeb37e7506be3601096012c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41e5ac7a181e5ef2830f945dd823d8ddd12af7bbdeb37e7506be3601096012c", kill_on_drop: false }` [INFO] [stdout] b41e5ac7a181e5ef2830f945dd823d8ddd12af7bbdeb37e7506be3601096012c