[INFO] cloning repository https://github.com/Lorenzgrauf/rust-jsonpath [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lorenzgrauf/rust-jsonpath" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzgrauf%2Frust-jsonpath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzgrauf%2Frust-jsonpath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2504ca2f5fafc209e030a4247f37d74b333c6e8e [INFO] checking Lorenzgrauf/rust-jsonpath against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzgrauf%2Frust-jsonpath" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lorenzgrauf/rust-jsonpath on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lorenzgrauf/rust-jsonpath [INFO] finished tweaking git repo https://github.com/Lorenzgrauf/rust-jsonpath [INFO] tweaked toml for git repo https://github.com/Lorenzgrauf/rust-jsonpath written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lorenzgrauf/rust-jsonpath 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e6b2d5abf2907702c19a5dc2126ded9001db35d383d897a8c1644169cf034f7 [INFO] running `Command { std: "docker" "start" "-a" "7e6b2d5abf2907702c19a5dc2126ded9001db35d383d897a8c1644169cf034f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e6b2d5abf2907702c19a5dc2126ded9001db35d383d897a8c1644169cf034f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6b2d5abf2907702c19a5dc2126ded9001db35d383d897a8c1644169cf034f7", kill_on_drop: false }` [INFO] [stdout] 7e6b2d5abf2907702c19a5dc2126ded9001db35d383d897a8c1644169cf034f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54cb8f632dcae9278a1e7d5c420c29549c31a8b9ec12ab12f387a44882651256 [INFO] running `Command { std: "docker" "start" "-a" "54cb8f632dcae9278a1e7d5c420c29549c31a8b9ec12ab12f387a44882651256", kill_on_drop: false }` [INFO] [stderr] Checking smart-jsonpath v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `jsonPath` [INFO] [stdout] --> src/json_path.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn find(&self, jsonPath: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jsonPath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JSON_TEST` is never used [INFO] [stdout] --> src/json_path.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const JSON_TEST: &str = r#" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/json_path.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct JsonPath { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 36 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `find` are never used [INFO] [stdout] --> src/json_path.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl JsonPath { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(payload: String) -> JsonPath { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn find(&self, jsonPath: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonPath` should have a snake case name [INFO] [stdout] --> src/json_path.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn find(&self, jsonPath: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `json_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jsonPath` [INFO] [stdout] --> src/json_path.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn find(&self, jsonPath: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jsonPath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/json_path.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct JsonPath { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 36 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonPath` should have a snake case name [INFO] [stdout] --> src/json_path.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn find(&self, jsonPath: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `json_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "54cb8f632dcae9278a1e7d5c420c29549c31a8b9ec12ab12f387a44882651256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54cb8f632dcae9278a1e7d5c420c29549c31a8b9ec12ab12f387a44882651256", kill_on_drop: false }` [INFO] [stdout] 54cb8f632dcae9278a1e7d5c420c29549c31a8b9ec12ab12f387a44882651256