[INFO] cloning repository https://github.com/matty316/why
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matty316/why" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Fwhy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Fwhy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa29f0607d39461620a43309a1aaaf2237300885
[INFO] checking matty316/why against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Fwhy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/matty316/why
[INFO] finished tweaking git repo https://github.com/matty316/why
[INFO] tweaked toml for git repo https://github.com/matty316/why written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/matty316/why on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/matty316/why 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 60c70fa769ba1be1fc931efe9ea8d312fba05b78e192cd1a35cddb4a97db0421
[INFO] running `Command { std: "docker" "start" "-a" "60c70fa769ba1be1fc931efe9ea8d312fba05b78e192cd1a35cddb4a97db0421", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60c70fa769ba1be1fc931efe9ea8d312fba05b78e192cd1a35cddb4a97db0421", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60c70fa769ba1be1fc931efe9ea8d312fba05b78e192cd1a35cddb4a97db0421", kill_on_drop: false }`
[INFO] [stdout] 60c70fa769ba1be1fc931efe9ea8d312fba05b78e192cd1a35cddb4a97db0421
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd6ae1ca6993d9ca34d62d663a34e3fc2408e7e86bc9c89afe464e828cb9cd13
[INFO] running `Command { std: "docker" "start" "-a" "cd6ae1ca6993d9ca34d62d663a34e3fc2408e7e86bc9c89afe464e828cb9cd13", kill_on_drop: false }`
[INFO] [stderr]     Checking why-lang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Scanner` is never constructed
[INFO] [stdout]  --> src/scanner.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Scanner {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scanner.rs:11:12
[INFO] [stdout]     |
[INFO] [stdout] 10  | impl Scanner {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 11  |     pub fn new(source: String) -> Scanner {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15  |     pub fn scan_token(&mut self) -> Token {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78  |     fn skip_whitespace(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |     fn peek(&self) -> u8 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92  |     fn read(&mut self) -> u8 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn make_token(token_type: TokenType, literal: &str) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn is_alpha(c: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn is_digit(c: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn is_alphanumeric(c: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn read_ident(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn check_keyword(bytes: &[u8]) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn rest(bytes: &[u8], rest: &[u8], token_type: TokenType) -> TokenType {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     fn read_num(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn read_string(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]  --> src/token.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Token {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenType` is never used
[INFO] [stdout]  --> src/token.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum TokenType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/parser.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Parser {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/parser.rs:11:8
[INFO] [stdout]     |
[INFO] [stdout] 10  | impl Parser {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 11  |     fn new(mut scanner: Scanner) -> Parser {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18  |     fn parse(&mut self) -> Program {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29  |     fn parse_stmt(&mut self) -> Stmt {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34  |     fn parse_var(&mut self) -> Stmt {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51  |     fn parse_expr_stmt(&mut self) -> Stmt {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56  |     fn parse_func(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     fn parse_params(&mut self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83  |     fn parse_block(&mut self) -> Vec<Stmt> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93  |     fn parse_expr(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn parse_term(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn parse_factor(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn parse_primary(&self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     fn read(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn expect(&mut self, token: TokenType) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expr` is never used
[INFO] [stdout]  --> src/ast.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Expr {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Stmt` is never used
[INFO] [stdout]   --> src/ast.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Stmt {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Program` is never constructed
[INFO] [stdout]   --> src/ast.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Program {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "cd6ae1ca6993d9ca34d62d663a34e3fc2408e7e86bc9c89afe464e828cb9cd13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd6ae1ca6993d9ca34d62d663a34e3fc2408e7e86bc9c89afe464e828cb9cd13", kill_on_drop: false }`
[INFO] [stdout] cd6ae1ca6993d9ca34d62d663a34e3fc2408e7e86bc9c89afe464e828cb9cd13
