[INFO] fetching crate jsonpath_rs 0.0.3... [INFO] checking jsonpath_rs-0.0.3 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate jsonpath_rs 0.0.3 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonpath_rs 0.0.3 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded quote v1.0.17 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded ijson v0.1.3 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e856ffd7f0c22b07874b730545318a95d8368bfa071e1bed35c553ced72362a [INFO] running `Command { std: "docker" "start" "-a" "7e856ffd7f0c22b07874b730545318a95d8368bfa071e1bed35c553ced72362a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e856ffd7f0c22b07874b730545318a95d8368bfa071e1bed35c553ced72362a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e856ffd7f0c22b07874b730545318a95d8368bfa071e1bed35c553ced72362a", kill_on_drop: false }` [INFO] [stdout] 7e856ffd7f0c22b07874b730545318a95d8368bfa071e1bed35c553ced72362a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74fd5be562773a4169711b144235ba607bb4cbd0d939bca5acd47d2198fea20e [INFO] running `Command { std: "docker" "start" "-a" "74fd5be562773a4169711b144235ba607bb4cbd0d939bca5acd47d2198fea20e", 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 libc v0.2.122 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling quote v1.0.17 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PTrackerElement` is never used [INFO] [stdout] --> src/json_path.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum PTrackerElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PTracker` is never constructed [INFO] [stdout] --> src/json_path.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct PTracker { [INFO] [stdout] | ^^^^^^^^ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compile(s: &str) -> Result, QueryCompilationError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PTrackerElement` is never used [INFO] [stdout] --> src/json_path.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum PTrackerElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PTracker` is never constructed [INFO] [stdout] --> src/json_path.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct PTracker { [INFO] [stdout] | ^^^^^^^^ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_path.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn compile(path: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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 16.18s [INFO] running `Command { std: "docker" "inspect" "74fd5be562773a4169711b144235ba607bb4cbd0d939bca5acd47d2198fea20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fd5be562773a4169711b144235ba607bb4cbd0d939bca5acd47d2198fea20e", kill_on_drop: false }` [INFO] [stdout] 74fd5be562773a4169711b144235ba607bb4cbd0d939bca5acd47d2198fea20e