[INFO] fetching crate jsonpath_rs 0.0.3... [INFO] checking jsonpath_rs-0.0.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate jsonpath_rs 0.0.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate jsonpath_rs 0.0.3 [INFO] finished tweaking crates.io crate jsonpath_rs 0.0.3 [INFO] tweaked toml for crates.io crate jsonpath_rs 0.0.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonpath_rs 0.0.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonpath_rs 0.0.3 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ijson v0.1.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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14aeb319df5bb0d7d2f862764a705c08c4030646beaed2becf8202981716a4cc [INFO] running `Command { std: "docker" "start" "-a" "14aeb319df5bb0d7d2f862764a705c08c4030646beaed2becf8202981716a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14aeb319df5bb0d7d2f862764a705c08c4030646beaed2becf8202981716a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14aeb319df5bb0d7d2f862764a705c08c4030646beaed2becf8202981716a4cc", kill_on_drop: false }` [INFO] [stdout] 14aeb319df5bb0d7d2f862764a705c08c4030646beaed2becf8202981716a4cc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c467a7c86fb1393115cc00620cae467c802591380a290fbf6ff79c89e586e60 [INFO] running `Command { std: "docker" "start" "-a" "3c467a7c86fb1393115cc00620cae467c802591380a290fbf6ff79c89e586e60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking ijson v0.1.3 [INFO] [stderr] Checking jsonpath_rs v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Value` instead of cloning the inner type [INFO] [stdout] --> tests/common.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|v| v.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string_path` is never used [INFO] [stdout] --> src/json_path.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub trait UserPathTracker { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 117 | fn to_string_path(self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PTrackerGenerator` is never constructed [INFO] [stdout] --> src/json_path.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct PTrackerGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_with_generator` and `calc_paths` are never used [INFO] [stdout] --> src/json_path.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 360 | impl<'i, UPTG: UserPathTrackerGenerator> PathCalculator<'i, UPTG> { [INFO] [stdout] | ----------------------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn create_with_generator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 920 | pub fn calc_paths<'j: 'i, S: SelectValue>(&self, json: &'j S) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_key`, `keys`, `is_array`, and `get_str` are never used [INFO] [stdout] --> src/select_value.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait SelectValue: Debug + Eq + PartialEq + Default + Clone + Serialize { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 16 | fn get_type(&self) -> SelectValueType; [INFO] [stdout] 17 | fn contains_key(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn values<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] 19 | fn keys<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn is_array(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | fn get_str(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string_path` is never used [INFO] [stdout] --> src/json_path.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub trait UserPathTracker { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 117 | fn to_string_path(self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PTrackerGenerator` is never constructed [INFO] [stdout] --> src/json_path.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct PTrackerGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_with_generator` and `calc_paths` are never used [INFO] [stdout] --> src/json_path.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 360 | impl<'i, UPTG: UserPathTrackerGenerator> PathCalculator<'i, UPTG> { [INFO] [stdout] | ----------------------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn create_with_generator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 920 | pub fn calc_paths<'j: 'i, S: SelectValue>(&self, json: &'j S) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_key`, `keys`, `is_array`, and `get_str` are never used [INFO] [stdout] --> src/select_value.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait SelectValue: Debug + Eq + PartialEq + Default + Clone + Serialize { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 16 | fn get_type(&self) -> SelectValueType; [INFO] [stdout] 17 | fn contains_key(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn values<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] 19 | fn keys<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn is_array(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | fn get_str(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.51s [INFO] running `Command { std: "docker" "inspect" "3c467a7c86fb1393115cc00620cae467c802591380a290fbf6ff79c89e586e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c467a7c86fb1393115cc00620cae467c802591380a290fbf6ff79c89e586e60", kill_on_drop: false }` [INFO] [stdout] 3c467a7c86fb1393115cc00620cae467c802591380a290fbf6ff79c89e586e60