[INFO] cloning repository https://github.com/sor4chi/rust-sample-ast
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sor4chi/rust-sample-ast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsor4chi%2Frust-sample-ast", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsor4chi%2Frust-sample-ast'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] efae6105298804ac996bd4714b7e7e28a7503403
[INFO] checking sor4chi/rust-sample-ast against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsor4chi%2Frust-sample-ast" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sor4chi/rust-sample-ast
[INFO] finished tweaking git repo https://github.com/sor4chi/rust-sample-ast
[INFO] tweaked toml for git repo https://github.com/sor4chi/rust-sample-ast written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sor4chi/rust-sample-ast on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sor4chi/rust-sample-ast 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded phf_generator v0.11.1
[INFO] [stderr]   Downloaded phf_shared v0.11.1
[INFO] [stderr]   Downloaded phf_macros v0.11.1
[INFO] [stderr]   Downloaded phf v0.11.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3fc3b9b49cf5092c8f4b58439eb117b741e664db9508192ae66d84efd6eee6a3
[INFO] running `Command { std: "docker" "start" "-a" "3fc3b9b49cf5092c8f4b58439eb117b741e664db9508192ae66d84efd6eee6a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3fc3b9b49cf5092c8f4b58439eb117b741e664db9508192ae66d84efd6eee6a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fc3b9b49cf5092c8f4b58439eb117b741e664db9508192ae66d84efd6eee6a3", kill_on_drop: false }`
[INFO] [stdout] 3fc3b9b49cf5092c8f4b58439eb117b741e664db9508192ae66d84efd6eee6a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 682ef43e3eb68d08a111d29b0908bc55298881c75979d06b8d7c148a40987d87
[INFO] running `Command { std: "docker" "start" "-a" "682ef43e3eb68d08a111d29b0908bc55298881c75979d06b8d7c148a40987d87", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling phf_shared v0.11.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.11.1
[INFO] [stderr]    Compiling phf_macros v0.11.1
[INFO] [stderr]     Checking phf v0.11.1
[INFO] [stderr]     Checking ast v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/parser.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Parser<'a> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next_token`, and `expect_peek` are never used
[INFO] [stdout]   --> src/parser.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(lexer: Lexer<'a>) -> Parser<'a> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn next_token(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn expect_peek(&mut self, kind: &Token) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(input: &str) -> Lexer {
[INFO] [stdout]    |                       ^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided 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: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(input: &str) -> Lexer<'_> {
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lexer` is never constructed
[INFO] [stdout]  --> src/lexer.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Lexer<'a> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/lexer.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a> Lexer<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(input: &str) -> Lexer {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn new_token(kind: TokenKind, literal: &str) -> Token {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn next_token(&mut self) -> Token {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn read_token(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn read_whitespace(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn read_symbol_token(&mut self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn read_literal_token(&mut self, literal_judger: fn(ch: u8) -> bool) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_letter` is never used
[INFO] [stdout]   --> src/lexer.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn is_letter(ch: u8) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_number` is never used
[INFO] [stdout]   --> src/lexer.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn is_number(ch: u8) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenKind` is never used
[INFO] [stdout]  --> src/token.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum TokenKind {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/token.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KEYWORDS` is never used
[INFO] [stdout]   --> src/token.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub static KEYWORDS: phf::Map<&'static str, TokenKind> = phf_map! {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `keyword_or_ident` is never used
[INFO] [stdout]   --> src/token.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn keyword_or_ident(ident: &str) -> TokenKind {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SYMBOLS` is never used
[INFO] [stdout]   --> src/token.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub static SYMBOLS: phf::Map<&'static str, TokenKind> = phf_map! {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `symbol_or_ident` is never used
[INFO] [stdout]   --> src/token.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn symbol_or_ident(symbol: &str) -> TokenKind {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/parser.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Parser<'a> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next_token`, and `expect_peek` are never used
[INFO] [stdout]   --> src/parser.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(lexer: Lexer<'a>) -> Parser<'a> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn next_token(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn expect_peek(&mut self, kind: &Token) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(input: &str) -> Lexer {
[INFO] [stdout]    |                       ^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided 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: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(input: &str) -> Lexer<'_> {
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.74s
[INFO] running `Command { std: "docker" "inspect" "682ef43e3eb68d08a111d29b0908bc55298881c75979d06b8d7c148a40987d87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "682ef43e3eb68d08a111d29b0908bc55298881c75979d06b8d7c148a40987d87", kill_on_drop: false }`
[INFO] [stdout] 682ef43e3eb68d08a111d29b0908bc55298881c75979d06b8d7c148a40987d87
