[INFO] cloning repository https://github.com/mjhd-devlion/json-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjhd-devlion/json-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhd-devlion%2Fjson-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhd-devlion%2Fjson-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 028b266bd3e146b81f1b31cc99962fe976255f07 [INFO] checking mjhd-devlion/json-in-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhd-devlion%2Fjson-in-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjhd-devlion/json-in-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mjhd-devlion/json-in-rust [INFO] finished tweaking git repo https://github.com/mjhd-devlion/json-in-rust [INFO] tweaked toml for git repo https://github.com/mjhd-devlion/json-in-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mjhd-devlion/json-in-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d208e9f5cf2451791db4dad858c56872cc15394d2604d2b787b1c4710c31a5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d208e9f5cf2451791db4dad858c56872cc15394d2604d2b787b1c4710c31a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d208e9f5cf2451791db4dad858c56872cc15394d2604d2b787b1c4710c31a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d208e9f5cf2451791db4dad858c56872cc15394d2604d2b787b1c4710c31a5c", kill_on_drop: false }` [INFO] [stdout] 1d208e9f5cf2451791db4dad858c56872cc15394d2604d2b787b1c4710c31a5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 915044dd1ef7135c37280e8e38caeca0a2967dacc143d0f403a4e11ea5acdd6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "915044dd1ef7135c37280e8e38caeca0a2967dacc143d0f403a4e11ea5acdd6b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking json-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:557:27 [INFO] [stdout] | [INFO] [stdout] 557 | fn value_start(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:566:28 [INFO] [stdout] | [INFO] [stdout] 566 | fn member_start(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:666:25 [INFO] [stdout] | [INFO] [stdout] 666 | fn value_end(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | fn json_end(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:557:27 [INFO] [stdout] | [INFO] [stdout] 557 | fn value_start(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:566:28 [INFO] [stdout] | [INFO] [stdout] 566 | fn member_start(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:666:25 [INFO] [stdout] | [INFO] [stdout] 666 | fn value_end(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | fn json_end(&self, ctx: &mut ParserContext) -> Result<(), String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*ctx` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 629 | if let Some(Value::ArrayValue(array)) = ctx.peek() { [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 630 | ctx.push(Value::ArrayValue(vec![ [INFO] [stdout] | ^^^ mutable borrow occurs here [INFO] [stdout] 631 | array.clone(), [INFO] [stdout] | ----- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayValue` [INFO] [stdout] --> src/main.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | ArrayValue(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parserCtx` should have a snake case name [INFO] [stdout] --> src/main.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 708 | let mut parserCtx = ParserContext::new(&tokens); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parser_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*ctx` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 629 | if let Some(Value::ArrayValue(array)) = ctx.peek() { [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 630 | ctx.push(Value::ArrayValue(vec![ [INFO] [stdout] | ^^^ mutable borrow occurs here [INFO] [stdout] 631 | array.clone(), [INFO] [stdout] | ----- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayValue` [INFO] [stdout] --> src/main.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | ArrayValue(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parserCtx` should have a snake case name [INFO] [stdout] --> src/main.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 708 | let mut parserCtx = ParserContext::new(&tokens); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parser_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.23s [INFO] running `Command { std: "docker" "inspect" "915044dd1ef7135c37280e8e38caeca0a2967dacc143d0f403a4e11ea5acdd6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915044dd1ef7135c37280e8e38caeca0a2967dacc143d0f403a4e11ea5acdd6b", kill_on_drop: false }` [INFO] [stdout] 915044dd1ef7135c37280e8e38caeca0a2967dacc143d0f403a4e11ea5acdd6b