[INFO] cloning repository https://github.com/KermitPurple/parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KermitPurple/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermitPurple%2Fparser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermitPurple%2Fparser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b4b7ccd30ae86aeca551332f6bd2207ff513a59
[INFO] checking KermitPurple/parser against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermitPurple%2Fparser" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KermitPurple/parser
[INFO] finished tweaking git repo https://github.com/KermitPurple/parser
[INFO] tweaked toml for git repo https://github.com/KermitPurple/parser written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KermitPurple/parser on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KermitPurple/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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa
[INFO] running `Command { std: "docker" "start" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OpType`
[INFO] [stdout]  --> src/lexer/mod.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use token::{OpType, Token, TokenError};
[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 import: `OpType`
[INFO] [stdout]  --> src/lexer/mod.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use token::{OpType, Token, TokenError};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]  --> src/lexer/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn parse(string: &str) -> Result<Vec<Token>, TokenError> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Token` is never used
[INFO] [stdout]  --> src/lexer/token.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Token {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]   --> src/lexer/token.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Token {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn parse(string: &str) -> Result<Self, TokenError> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OpType` is never used
[INFO] [stdout]   --> src/lexer/token.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum OpType {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `parse` and `is_op` are never used
[INFO] [stdout]   --> src/lexer/token.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl OpType {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 34 |     pub fn parse(string: &str) -> Result<Self, TokenError> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn is_op(string: &str) -> bool {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenError` is never constructed
[INFO] [stdout]   --> src/lexer/token.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct TokenError;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Tree` is never used
[INFO] [stdout]  --> src/parser/tree.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Tree {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `eval` is never used
[INFO] [stdout]   --> src/parser/tree.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Tree {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     fn eval(&self) -> i64 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Sub`, `Div`, and `Rem` are never constructed
[INFO] [stdout]  --> src/parser/tree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Tree {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 4 |     Sub(Box<Tree>, Box<Tree>),
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     Mul(Box<Tree>, Box<Tree>),
[INFO] [stdout] 6 |     Div(Box<Tree>, Box<Tree>),
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     Rem(Box<Tree>, Box<Tree>),
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa", kill_on_drop: false }`
[INFO] [stdout] ec77b676415a2104108d61fb9270023ff2c6dac09a70681c1357fef70e93c7aa
