[INFO] fetching crate elastic_query 0.4.4... [INFO] testing elastic_query-0.4.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate elastic_query 0.4.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate elastic_query 0.4.4 [INFO] finished tweaking crates.io crate elastic_query 0.4.4 [INFO] tweaked toml for crates.io crate elastic_query 0.4.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate elastic_query 0.4.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ab9a45f70eb4a5f1f44c55c44d049813c78927927c5c1a006492b935c5f9be2 [INFO] running `Command { std: "docker" "start" "-a" "2ab9a45f70eb4a5f1f44c55c44d049813c78927927c5c1a006492b935c5f9be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ab9a45f70eb4a5f1f44c55c44d049813c78927927c5c1a006492b935c5f9be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab9a45f70eb4a5f1f44c55c44d049813c78927927c5c1a006492b935c5f9be2", kill_on_drop: false }` [INFO] [stdout] 2ab9a45f70eb4a5f1f44c55c44d049813c78927927c5c1a006492b935c5f9be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a416853755b6ee609dc4e161af39cb06287888516f0f9c2629452281d11b870 [INFO] running `Command { std: "docker" "start" "-a" "6a416853755b6ee609dc4e161af39cb06287888516f0f9c2629452281d11b870", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling elastic_query v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated enum `pest::prec_climber::Assoc`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | let climber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | Operator::new(Rule::and_op, Assoc::Left) | Operator::new(Rule::or_op, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `pest::prec_climber::Assoc::Left`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | Operator::new(Rule::and_op, Assoc::Left) | Operator::new(Rule::or_op, Assoc::Left), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | Operator::new(Rule::and_op, Assoc::Left) | Operator::new(Rule::or_op, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `pest::prec_climber::Assoc::Left`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:151:86 [INFO] [stdout] | [INFO] [stdout] 151 | Operator::new(Rule::and_op, Assoc::Left) | Operator::new(Rule::or_op, Assoc::Left), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | fn consume(pair: Pair, climber: &PrecClimber) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::PrecClimber::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | let climber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::Operator::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | Operator::new(Rule::and_op, Assoc::Left) | Operator::new(Rule::or_op, Assoc::Left), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::Operator::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:151:62 [INFO] [stdout] | [INFO] [stdout] 151 | Operator::new(Rule::and_op, Assoc::Left) | Operator::new(Rule::or_op, Assoc::Left), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::prec_climber::PrecClimber::::climb`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/lib.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | climber.climb(pairs, atom, infix) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | .trim_left_matches("(") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 214 - .trim_left_matches("(") [INFO] [stdout] 214 + .trim_start_matches("(") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | .trim_right_matches(")") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 215 - .trim_right_matches(")") [INFO] [stdout] 215 + .trim_end_matches(")") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | .trim_left_matches("(") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 224 - .trim_left_matches("(") [INFO] [stdout] 224 + .trim_start_matches("(") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:225:26 [INFO] [stdout] | [INFO] [stdout] 225 | .trim_right_matches(")") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 225 - .trim_right_matches(")") [INFO] [stdout] 225 + .trim_end_matches(")") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `op` is named the same as one of the variants of the type `Rule` [INFO] [stdout] --> src/lib.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | let (lhs, op, rhs) = ( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elastic_query` (lib) due to 1 previous error; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a416853755b6ee609dc4e161af39cb06287888516f0f9c2629452281d11b870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a416853755b6ee609dc4e161af39cb06287888516f0f9c2629452281d11b870", kill_on_drop: false }` [INFO] [stdout] 6a416853755b6ee609dc4e161af39cb06287888516f0f9c2629452281d11b870