[INFO] cloning repository https://github.com/overtrue-xyz/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/overtrue-xyz/json-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fovertrue-xyz%2Fjson-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fovertrue-xyz%2Fjson-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64f1d8324694e4df30fa2e126f4ff93cd4c9003f [INFO] checking overtrue-xyz/json-parser against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fovertrue-xyz%2Fjson-parser" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overtrue-xyz/json-parser on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/overtrue-xyz/json-parser [INFO] finished tweaking git repo https://github.com/overtrue-xyz/json-parser [INFO] tweaked toml for git repo https://github.com/overtrue-xyz/json-parser written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/overtrue-xyz/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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13fbdbcde23f56a63ef41abeec89da1f3ff1176f03beaf3cb8aecdcfec0439bd [INFO] running `Command { std: "docker" "start" "-a" "13fbdbcde23f56a63ef41abeec89da1f3ff1176f03beaf3cb8aecdcfec0439bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13fbdbcde23f56a63ef41abeec89da1f3ff1176f03beaf3cb8aecdcfec0439bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13fbdbcde23f56a63ef41abeec89da1f3ff1176f03beaf3cb8aecdcfec0439bd", kill_on_drop: false }` [INFO] [stdout] 13fbdbcde23f56a63ef41abeec89da1f3ff1176f03beaf3cb8aecdcfec0439bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fd8e5f54d4b582cf9d32d7c802e10cff75a13fc0d13137336bac2913ca4e6e1 [INFO] running `Command { std: "docker" "start" "-a" "7fd8e5f54d4b582cf9d32d7c802e10cff75a13fc0d13137336bac2913ca4e6e1", kill_on_drop: false }` [INFO] [stderr] Checking json-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tokenize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | /// `{` [INFO] [stdout] 6 | LeftBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | /// `}` [INFO] [stdout] 8 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | /// `[` [INFO] [stdout] 10 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | /// `]` [INFO] [stdout] 12 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | /// `:` [INFO] [stdout] 14 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | /// `,` [INFO] [stdout] 16 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// `null` [INFO] [stdout] 18 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// `false` [INFO] [stdout] 20 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | /// `true` [INFO] [stdout] 22 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// Any number literal [INFO] [stdout] 24 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | /// Key of the key/value pair or a string value [INFO] [stdout] 26 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: variants `UnfinishedLiteralValue`, `UnclosedQuotes`, `UnexpectedEof`, `CharNotRecognized`, and `ParseNumberError` are never constructed [INFO] [stdout] --> src/tokenize.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum TokenizeError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 31 | UnfinishedLiteralValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | UnclosedQuotes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | UnexpectedEof, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | CharNotRecognized(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | ParseNumberError(ParseFloatError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/tokenize.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn tokenize(input: String) -> Result, TokenizeError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_token` is never used [INFO] [stdout] --> src/tokenize.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn make_token(chars: &Vec, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize_float` is never used [INFO] [stdout] --> src/tokenize.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn tokenize_float(chars: &Vec, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize_literal` is never used [INFO] [stdout] --> src/tokenize.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn tokenize_literal(str: String, chars: &Vec, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize_string` is never used [INFO] [stdout] --> src/tokenize.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn tokenize_string(chars: &Vec, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parse.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse(input: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TokenParseError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 33 | /// An escape sequence was started without 4 hexadecimal digits afterward [INFO] [stdout] 34 | UnfinishedEscape, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | /// A character in an escape sequence was not valid hexadecimal [INFO] [stdout] 36 | InvalidHexValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | /// Invalid unicode value [INFO] [stdout] 38 | InvalidCodePointValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | ExpectedComma, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | ExpectedProperty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | ExpectedColon, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | ExpectedValue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/parse.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | type ParseResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tokens` is never used [INFO] [stdout] --> src/parse.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn parse_tokens(tokens: &Vec, index: &mut usize) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string` is never used [INFO] [stdout] --> src/parse.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_string(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_array` is never used [INFO] [stdout] --> src/parse.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_array(tokens: &Vec, index: &mut usize) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_object` is never used [INFO] [stdout] --> src/parse.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn parse_object(tokens: &Vec, index: &mut usize) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "7fd8e5f54d4b582cf9d32d7c802e10cff75a13fc0d13137336bac2913ca4e6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd8e5f54d4b582cf9d32d7c802e10cff75a13fc0d13137336bac2913ca4e6e1", kill_on_drop: false }` [INFO] [stdout] 7fd8e5f54d4b582cf9d32d7c802e10cff75a13fc0d13137336bac2913ca4e6e1