[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#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [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] validating manifest of git repo https://github.com/hariangr/ApaLang on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking hariangr/ApaLang against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [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] validating manifest of git repo https://github.com/hariangr/ApaLang on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34334e222707781f9983aed9b1b7625bd43ac74c6092d0df2c1b77492876a861 [INFO] running `Command { std: "docker" "start" "-a" "34334e222707781f9983aed9b1b7625bd43ac74c6092d0df2c1b77492876a861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34334e222707781f9983aed9b1b7625bd43ac74c6092d0df2c1b77492876a861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34334e222707781f9983aed9b1b7625bd43ac74c6092d0df2c1b77492876a861", kill_on_drop: false }` [INFO] [stdout] 34334e222707781f9983aed9b1b7625bd43ac74c6092d0df2c1b77492876a861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc9137121896e7b29fff101729ffb34e6b2928984bcd0f8d35ffe9cb38367666 [INFO] running `Command { std: "docker" "start" "-a" "dc9137121896e7b29fff101729ffb34e6b2928984bcd0f8d35ffe9cb38367666", 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)]` 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)]` 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] = note: `TokenKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 { [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) -> Vec { [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) -> 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)]` 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)]` 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] = note: `TokenKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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.21s [INFO] running `Command { std: "docker" "inspect" "dc9137121896e7b29fff101729ffb34e6b2928984bcd0f8d35ffe9cb38367666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc9137121896e7b29fff101729ffb34e6b2928984bcd0f8d35ffe9cb38367666", kill_on_drop: false }` [INFO] [stdout] dc9137121896e7b29fff101729ffb34e6b2928984bcd0f8d35ffe9cb38367666