[INFO] cloning repository https://github.com/hariangr/ApaLang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hariangr/ApaLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhariangr%2FApaLang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhariangr%2FApaLang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21e34c182d0224709fddc45f65bd3db54118e580
[INFO] checking hariangr/ApaLang against try#b152f5575a2ac7126ae0019e4e679abe9399213e for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhariangr%2FApaLang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hariangr/ApaLang
[INFO] finished tweaking git repo https://github.com/hariangr/ApaLang
[INFO] tweaked toml for git repo https://github.com/hariangr/ApaLang written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hariangr/ApaLang on toolchain b152f5575a2ac7126ae0019e4e679abe9399213e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hariangr/ApaLang 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" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188
[INFO] running `Command { std: "docker" "start" "30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188", 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" "30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188", 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" "30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking apalang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::lexer::SimplifyTokens`
[INFO] [stdout]  --> src/parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::lexer::SimplifyTokens;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPERATOR` is never used
[INFO] [stdout]  --> src/lexer.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const OPERATOR: &str = "*/+-()";
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITESPACE` is never used
[INFO] [stdout]  --> src/lexer.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const WHITESPACE: &str = " \n";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenKind` is never used
[INFO] [stdout]  --> src/lexer.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum TokenKind {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/lexer.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SimplifyTokens` is never used
[INFO] [stdout]   --> src/lexer.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait SimplifyTokens {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lexer` is never constructed
[INFO] [stdout]   --> src/lexer.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Lexer {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_string` is never used
[INFO] [stdout]   --> src/lexer.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Lexer {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 52 |     pub fn parse_string(text: &str) -> Lexer {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Precedence` is never constructed
[INFO] [stdout]  --> src/parser.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Precedence(&'static str, i32);
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRECEDENCE` is never used
[INFO] [stdout]  --> src/parser.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const PRECEDENCE: [Precedence; 5] = [
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `priority_by_symbol` is never used
[INFO] [stdout]   --> src/parser.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Precedence {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 16 |     fn priority_by_symbol(symbol: &str) -> Option<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_precedence` is never used
[INFO] [stdout]   --> src/parser.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Token {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 27 |     fn get_precedence(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]   --> src/parser.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Parser {}
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]   --> src/parser.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Parser {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 34 |     /// Using shunting algorithm
[INFO] [stdout] 35 |     pub fn parse(tokens: Vec<Token>) -> Vec<Token> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Executor` is never constructed
[INFO] [stdout]  --> src/executor.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Executor {}
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `calculate` is never used
[INFO] [stdout]  --> src/executor.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Executor {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     fn calculate(postfix: Vec<Token>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/parser.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let r = Parser::parse(parsed);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPERATOR` is never used
[INFO] [stdout]  --> src/lexer.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const OPERATOR: &str = "*/+-()";
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITESPACE` is never used
[INFO] [stdout]  --> src/lexer.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const WHITESPACE: &str = " \n";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenKind` is never used
[INFO] [stdout]  --> src/lexer.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum TokenKind {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/lexer.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SimplifyTokens` is never used
[INFO] [stdout]   --> src/lexer.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait SimplifyTokens {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lexer` is never constructed
[INFO] [stdout]   --> src/lexer.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Lexer {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_string` is never used
[INFO] [stdout]   --> src/lexer.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Lexer {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 52 |     pub fn parse_string(text: &str) -> Lexer {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188", kill_on_drop: false }`
[INFO] [stdout] 30603ae3a14daa7860b8aea701b138a2e4840b8e46ab69a4c67641cd1bb1c188
