[INFO] cloning repository https://github.com/sandeshbhusal/JSONParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandeshbhusal/JSONParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandeshbhusal%2FJSONParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandeshbhusal%2FJSONParser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c40480fcfdf944295072c426ad1b5ad85c006c16 [INFO] checking sandeshbhusal/JSONParser against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandeshbhusal%2FJSONParser" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandeshbhusal/JSONParser on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandeshbhusal/JSONParser [INFO] finished tweaking git repo https://github.com/sandeshbhusal/JSONParser [INFO] tweaked toml for git repo https://github.com/sandeshbhusal/JSONParser written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sandeshbhusal/JSONParser 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 179b037d21636b7c82117566915c9036f398cc65ad4ffdc4d1c1e18d8c87078f [INFO] running `Command { std: "docker" "start" "-a" "179b037d21636b7c82117566915c9036f398cc65ad4ffdc4d1c1e18d8c87078f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "179b037d21636b7c82117566915c9036f398cc65ad4ffdc4d1c1e18d8c87078f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179b037d21636b7c82117566915c9036f398cc65ad4ffdc4d1c1e18d8c87078f", kill_on_drop: false }` [INFO] [stdout] 179b037d21636b7c82117566915c9036f398cc65ad4ffdc4d1c1e18d8c87078f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed7ee33e9d4cef78c6ed8556e9ea660f72e4f9283a1a609d5d362d888d99fda [INFO] running `Command { std: "docker" "start" "-a" "eed7ee33e9d4cef78c6ed8556e9ea660f72e4f9283a1a609d5d362d888d99fda", kill_on_drop: false }` [INFO] [stderr] Checking datamod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::lexer::Lexer` [INFO] [stdout] --> src/lexer/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `linum` is assigned to, but never used [INFO] [stdout] --> src/lexer/lexer.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut linum = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_linum` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `offset` is assigned to, but never used [INFO] [stdout] --> src/lexer/lexer.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut offset = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `linum` is assigned to, but never used [INFO] [stdout] --> src/lexer/lexer.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut linum = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_linum` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `offset` is assigned to, but never used [INFO] [stdout] --> src/lexer/lexer.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut offset = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let tokens = lexer.parse(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/parser.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - String(String), [INFO] [stdout] 12 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/parser.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Boolean(bool), [INFO] [stdout] 13 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/parser.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Float(f64), [INFO] [stdout] 14 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/parser.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Integer(i64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Integer(i64), [INFO] [stdout] 15 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/parser.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Array(Vec), [INFO] [stdout] 16 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/parser.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Object(Vec<(String, JsonType)>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Object(Vec<(String, JsonType)>), [INFO] [stdout] 17 + Object(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let tokens = lexer.parse(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/lexer/parser.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` 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: enum `JsonType` is never used [INFO] [stdout] --> src/lexer/parser.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum JsonType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonType` 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`, `parse_value`, `parse_object`, `parse_array`, and `ast` are never used [INFO] [stdout] --> src/lexer/parser.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 22 | fn new(tokens: &'a [Token]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn parse_value(&mut self) -> JsonType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn parse_object(&mut self) -> JsonType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn parse_array(&mut self) -> JsonType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn ast(&mut self) -> JsonType { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "eed7ee33e9d4cef78c6ed8556e9ea660f72e4f9283a1a609d5d362d888d99fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed7ee33e9d4cef78c6ed8556e9ea660f72e4f9283a1a609d5d362d888d99fda", kill_on_drop: false }` [INFO] [stdout] eed7ee33e9d4cef78c6ed8556e9ea660f72e4f9283a1a609d5d362d888d99fda