[INFO] cloning repository https://github.com/endrebjorgo/json-parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/endrebjorgo/json-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendrebjorgo%2Fjson-parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendrebjorgo%2Fjson-parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 472db7e341275b06cbc2e9021ed006e67811f34d
[INFO] checking endrebjorgo/json-parser against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendrebjorgo%2Fjson-parser" "/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/endrebjorgo/json-parser 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/endrebjorgo/json-parser
[INFO] finished tweaking git repo https://github.com/endrebjorgo/json-parser
[INFO] tweaked toml for git repo https://github.com/endrebjorgo/json-parser written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/endrebjorgo/json-parser 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] 26ef94fb92d70e5ca6199e7dfc2d3fc30099eb1a8b17c7a4ac0f7e54cc776105
[INFO] running `Command { std: "docker" "start" "-a" "26ef94fb92d70e5ca6199e7dfc2d3fc30099eb1a8b17c7a4ac0f7e54cc776105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26ef94fb92d70e5ca6199e7dfc2d3fc30099eb1a8b17c7a4ac0f7e54cc776105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26ef94fb92d70e5ca6199e7dfc2d3fc30099eb1a8b17c7a4ac0f7e54cc776105", kill_on_drop: false }`
[INFO] [stdout] 26ef94fb92d70e5ca6199e7dfc2d3fc30099eb1a8b17c7a4ac0f7e54cc776105
[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] 4dadd5bda6c702340a02ba6232cce178ee4c83ccda74e33f2abf0331f6ed7901
[INFO] running `Command { std: "docker" "start" "-a" "4dadd5bda6c702340a02ba6232cce178ee4c83ccda74e33f2abf0331f6ed7901", kill_on_drop: false }`
[INFO] [stderr]     Checking json-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             JSONValue::Obj(hm) => {
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 81 |             JSONValue::Arr(v) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             JSONValue::Str(s) => write!(f, "\"{}\"", s.replace("\\", "\\\\")),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 89 |             JSONValue::Num(n) => write!(f, "{}", n),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 92 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             JSONValue::Obj(hm) => {
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 81 |             JSONValue::Arr(v) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             JSONValue::Str(s) => write!(f, "\"{}\"", s.replace("\\", "\\\\")),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 89 |             JSONValue::Num(n) => write!(f, "{}", n),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 92 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 let mut key = parse_string(&tokens, &cursor);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |             y => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_obj`, `get_arr`, `get_str`, `get_num`, `get_bool`, and `get_null` are never used
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl JSONValue {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 22 |     fn get_obj(self) -> Result<HashMap<String, JSONValue>, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn get_arr(self) -> Result<Vec<JSONValue>, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn get_str(self) -> Result<String, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn get_num(self) -> Result<f64, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn get_bool(self) -> Result<bool, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn get_null(self) -> Result<String, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 write!(f, "{}", "{\n");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     write!(f, "    {}: {},\n", key, value);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 write!(f, "[\n");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     write!(f, "    {},\n", x);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 let mut key = parse_string(&tokens, &cursor);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |             y => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_obj`, `get_arr`, `get_str`, `get_num`, `get_bool`, and `get_null` are never used
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl JSONValue {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 22 |     fn get_obj(self) -> Result<HashMap<String, JSONValue>, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn get_arr(self) -> Result<Vec<JSONValue>, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn get_str(self) -> Result<String, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn get_num(self) -> Result<f64, &'static str> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn get_bool(self) -> Result<bool, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn get_null(self) -> Result<String, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 write!(f, "{}", "{\n");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     write!(f, "    {}: {},\n", key, value);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 write!(f, "[\n");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     write!(f, "    {},\n", x);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] running `Command { std: "docker" "inspect" "4dadd5bda6c702340a02ba6232cce178ee4c83ccda74e33f2abf0331f6ed7901", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4dadd5bda6c702340a02ba6232cce178ee4c83ccda74e33f2abf0331f6ed7901", kill_on_drop: false }`
[INFO] [stdout] 4dadd5bda6c702340a02ba6232cce178ee4c83ccda74e33f2abf0331f6ed7901
