[INFO] fetching crate elastic_query 0.4.4... [INFO] testing elastic_query-0.4.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate elastic_query 0.4.4 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate elastic_query 0.4.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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 26 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eefa5f11d81180e3a5a4eceadf4de3b601bd61dc132c64e2dc12247974a624a2 [INFO] running `Command { std: "docker" "start" "-a" "eefa5f11d81180e3a5a4eceadf4de3b601bd61dc132c64e2dc12247974a624a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eefa5f11d81180e3a5a4eceadf4de3b601bd61dc132c64e2dc12247974a624a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eefa5f11d81180e3a5a4eceadf4de3b601bd61dc132c64e2dc12247974a624a2", kill_on_drop: false }` [INFO] [stdout] eefa5f11d81180e3a5a4eceadf4de3b601bd61dc132c64e2dc12247974a624a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad11f7252a76e554d2539558a34fbc7fcd74eb49e40285a4c03d714d7e7ea14a [INFO] running `Command { std: "docker" "start" "-a" "ad11f7252a76e554d2539558a34fbc7fcd74eb49e40285a4c03d714d7e7ea14a", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling pest_derive v2.8.3 [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" "ad11f7252a76e554d2539558a34fbc7fcd74eb49e40285a4c03d714d7e7ea14a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad11f7252a76e554d2539558a34fbc7fcd74eb49e40285a4c03d714d7e7ea14a", kill_on_drop: false }` [INFO] [stdout] ad11f7252a76e554d2539558a34fbc7fcd74eb49e40285a4c03d714d7e7ea14a