[INFO] cloning repository https://github.com/jmountain-hmrc/json-investigator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmountain-hmrc/json-investigator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmountain-hmrc%2Fjson-investigator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmountain-hmrc%2Fjson-investigator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c81808fda2db29c2a29d4c54adc8d5f3d94b896 [INFO] checking jmountain-hmrc/json-investigator against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmountain-hmrc%2Fjson-investigator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmountain-hmrc/json-investigator [INFO] finished tweaking git repo https://github.com/jmountain-hmrc/json-investigator [INFO] tweaked toml for git repo https://github.com/jmountain-hmrc/json-investigator written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmountain-hmrc/json-investigator on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmountain-hmrc/json-investigator 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded serde_json v1.0.39 [INFO] [stderr] Downloaded serde_derive v1.0.91 [INFO] [stderr] Downloaded syn v0.15.34 [INFO] [stderr] Downloaded serde v1.0.91 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5e11b41ec59915411bd493be569d002efea07535baeed814e3e7afdab8c75b [INFO] running `Command { std: "docker" "start" "-a" "0b5e11b41ec59915411bd493be569d002efea07535baeed814e3e7afdab8c75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5e11b41ec59915411bd493be569d002efea07535baeed814e3e7afdab8c75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5e11b41ec59915411bd493be569d002efea07535baeed814e3e7afdab8c75b", kill_on_drop: false }` [INFO] [stdout] 0b5e11b41ec59915411bd493be569d002efea07535baeed814e3e7afdab8c75b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d498a7a72cbc743074d111c48e2d638bc725d9c921405aeae39f4783cca03ae [INFO] running `Command { std: "docker" "start" "-a" "4d498a7a72cbc743074d111c48e2d638bc725d9c921405aeae39f4783cca03ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking json_scientist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Error`, and `Write` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Write, BufReader, BufRead, Error}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | println!("Median of key: {} - {}", key, num_tb[(num_tb.len() / 2)]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - println!("Median of key: {} - {}", key, num_tb[(num_tb.len() / 2)]) [INFO] [stdout] 72 + println!("Median of key: {} - {}", key, num_tb[num_tb.len() / 2]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Error`, and `Write` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Write, BufReader, BufRead, Error}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | println!("Median of key: {} - {}", key, num_tb[(num_tb.len() / 2)]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - println!("Median of key: {} - {}", key, num_tb[(num_tb.len() / 2)]) [INFO] [stdout] 72 + println!("Median of key: {} - {}", key, num_tb[num_tb.len() / 2]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findAveragesOfNumberIntersections` should have a snake case name [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn findAveragesOfNumberIntersections(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_averages_of_number_intersections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findMedianOfNumberIntersections` should have a snake case name [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn findMedianOfNumberIntersections(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_median_of_number_intersections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findUniqueKeys` should have a snake case name [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn findUniqueKeys(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_unique_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findKeyWithAllSame` should have a snake case name [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn findKeyWithAllSame(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_key_with_all_same` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findAveragesOfNumberIntersections` should have a snake case name [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn findAveragesOfNumberIntersections(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_averages_of_number_intersections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findMedianOfNumberIntersections` should have a snake case name [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn findMedianOfNumberIntersections(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_median_of_number_intersections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findUniqueKeys` should have a snake case name [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn findUniqueKeys(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_unique_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findKeyWithAllSame` should have a snake case name [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn findKeyWithAllSame(key: &String, vals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_key_with_all_same` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.92s [INFO] running `Command { std: "docker" "inspect" "4d498a7a72cbc743074d111c48e2d638bc725d9c921405aeae39f4783cca03ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d498a7a72cbc743074d111c48e2d638bc725d9c921405aeae39f4783cca03ae", kill_on_drop: false }` [INFO] [stdout] 4d498a7a72cbc743074d111c48e2d638bc725d9c921405aeae39f4783cca03ae