[INFO] cloning repository https://github.com/rcapraro/json-diff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcapraro/json-diff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcapraro%2Fjson-diff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcapraro%2Fjson-diff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3a1db86f0a549420dea720a3229bb4629e13c4 [INFO] checking rcapraro/json-diff against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcapraro%2Fjson-diff" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rcapraro/json-diff [INFO] finished tweaking git repo https://github.com/rcapraro/json-diff [INFO] tweaked toml for git repo https://github.com/rcapraro/json-diff written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rcapraro/json-diff on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rcapraro/json-diff 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.17 [INFO] [stderr] Downloaded structopt-derive v0.4.10 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8eb45120fcc00340e7e24ab0e65ca3aed21c549cc4e689ba075c53d96c6d38a [INFO] running `Command { std: "docker" "start" "-a" "f8eb45120fcc00340e7e24ab0e65ca3aed21c549cc4e689ba075c53d96c6d38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8eb45120fcc00340e7e24ab0e65ca3aed21c549cc4e689ba075c53d96c6d38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8eb45120fcc00340e7e24ab0e65ca3aed21c549cc4e689ba075c53d96c6d38a", kill_on_drop: false }` [INFO] [stdout] f8eb45120fcc00340e7e24ab0e65ca3aed21c549cc4e689ba075c53d96c6d38a [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 318ef38301512e0889e59b6306d9e3a0101a0be3e09fb9c3bff9eca966fe43a1 [INFO] running `Command { std: "docker" "start" "-a" "318ef38301512e0889e59b6306d9e3a0101a0be3e09fb9c3bff9eca966fe43a1", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking json-diff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value1` [INFO] [stdout] --> src/mismatch.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn match_json(value1: &Value, value2: &Value) -> Mismatch { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_value1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value2` [INFO] [stdout] --> src/mismatch.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn match_json(value1: &Value, value2: &Value) -> Mismatch { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_value2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsonNode` is never used [INFO] [stdout] --> src/mismatch.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum JsonNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mismatch` is never constructed [INFO] [stdout] --> src/mismatch.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Mismatch { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mismatch.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Mismatch { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(l: JsonNode, r: JsonNode, u: JsonNode) -> Mismatch { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_json` is never used [INFO] [stdout] --> src/mismatch.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn match_json(value1: &Value, value2: &Value) -> Mismatch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value1` [INFO] [stdout] --> src/mismatch.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn match_json(value1: &Value, value2: &Value) -> Mismatch { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_value1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value2` [INFO] [stdout] --> src/mismatch.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn match_json(value1: &Value, value2: &Value) -> Mismatch { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_value2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsonNode` is never used [INFO] [stdout] --> src/mismatch.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum JsonNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mismatch` is never constructed [INFO] [stdout] --> src/mismatch.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Mismatch { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mismatch.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Mismatch { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(l: JsonNode, r: JsonNode, u: JsonNode) -> Mismatch { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_json` is never used [INFO] [stdout] --> src/mismatch.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn match_json(value1: &Value, value2: &Value) -> Mismatch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.12s [INFO] running `Command { std: "docker" "inspect" "318ef38301512e0889e59b6306d9e3a0101a0be3e09fb9c3bff9eca966fe43a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318ef38301512e0889e59b6306d9e3a0101a0be3e09fb9c3bff9eca966fe43a1", kill_on_drop: false }` [INFO] [stdout] 318ef38301512e0889e59b6306d9e3a0101a0be3e09fb9c3bff9eca966fe43a1