[INFO] cloning repository https://github.com/haryoiro/toyjson
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haryoiro/toyjson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharyoiro%2Ftoyjson", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharyoiro%2Ftoyjson'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 45378d96ebbf13d4c6fe7979ea25cec97791b065
[INFO] checking haryoiro/toyjson against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharyoiro%2Ftoyjson" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/haryoiro/toyjson
[INFO] finished tweaking git repo https://github.com/haryoiro/toyjson
[INFO] tweaked toml for git repo https://github.com/haryoiro/toyjson written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/haryoiro/toyjson on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/haryoiro/toyjson 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f41465a08cc444ef525c0af75637b605c6364e9708ae42411fdd4be7e5405690
[INFO] running `Command { std: "docker" "start" "-a" "f41465a08cc444ef525c0af75637b605c6364e9708ae42411fdd4be7e5405690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f41465a08cc444ef525c0af75637b605c6364e9708ae42411fdd4be7e5405690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f41465a08cc444ef525c0af75637b605c6364e9708ae42411fdd4be7e5405690", kill_on_drop: false }`
[INFO] [stdout] f41465a08cc444ef525c0af75637b605c6364e9708ae42411fdd4be7e5405690
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c43f855f2adb1bcd623f1e3ba4ee3e3adcd3cc9605f471ea47b2982012e17c1
[INFO] running `Command { std: "docker" "start" "-a" "2c43f855f2adb1bcd623f1e3ba4ee3e3adcd3cc9605f471ea47b2982012e17c1", kill_on_drop: false }`
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking toyjson v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `TokenType` and `parser::Parser`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     parser::Parser,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     token::{Location, Token, TokenType},
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bytes` and `string::ParseError`
[INFO] [stdout]  --> src/lexer.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     str::{Bytes, Chars},
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 3 |     string::ParseError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::JSONError` and `lookup_ident`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     error::JSONError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     token::{lookup_ident, Location, Token, TokenType},
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `error::Error`
[INFO] [stdout]  --> src/parser.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, str::Chars};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     lexer::{self, Lexer},
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/token.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{write, Display, Error, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/value.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `parser::Parser`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     parser::Parser,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     token::{Location, Token, TokenType},
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bytes` and `string::ParseError`
[INFO] [stdout]  --> src/lexer.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     str::{Bytes, Chars},
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 3 |     string::ParseError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::JSONError` and `lookup_ident`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     error::JSONError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     token::{lookup_ident, Location, Token, TokenType},
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `error::Error`
[INFO] [stdout]  --> src/parser.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, str::Chars};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     lexer::{self, Lexer},
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/token.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{write, Display, Error, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/value.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `error` is never used
[INFO] [stdout]    --> src/lexer.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout]  18 | / impl<T> Lexer<T>
[INFO] [stdout]  19 | | where
[INFO] [stdout]  20 | |     T: Iterator<Item = char> + Clone,
[INFO] [stdout]     | |_____________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |       fn error(&self) -> Token {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:22:46
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new<'a>(source: &'a str) -> Lexer<Chars> {
[INFO] [stdout]    |                             --               ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new<'a>(source: &'a str) -> Lexer<Chars<'a>> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/lexer.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 274 |             let token = lex.next_token();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lexer.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |         for (i, e) in expected.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `error` is never used
[INFO] [stdout]    --> src/lexer.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout]  18 | / impl<T> Lexer<T>
[INFO] [stdout]  19 | | where
[INFO] [stdout]  20 | |     T: Iterator<Item = char> + Clone,
[INFO] [stdout]     | |_____________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |       fn error(&self) -> Token {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:22:46
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new<'a>(source: &'a str) -> Lexer<Chars> {
[INFO] [stdout]    |                             --               ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new<'a>(source: &'a str) -> Lexer<Chars<'a>> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.01s
[INFO] running `Command { std: "docker" "inspect" "2c43f855f2adb1bcd623f1e3ba4ee3e3adcd3cc9605f471ea47b2982012e17c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c43f855f2adb1bcd623f1e3ba4ee3e3adcd3cc9605f471ea47b2982012e17c1", kill_on_drop: false }`
[INFO] [stdout] 2c43f855f2adb1bcd623f1e3ba4ee3e3adcd3cc9605f471ea47b2982012e17c1
