[INFO] cloning repository https://github.com/deepsarkar2003/cpp-compiler-in-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deepsarkar2003/cpp-compiler-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsarkar2003%2Fcpp-compiler-in-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsarkar2003%2Fcpp-compiler-in-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49c8b3fa297317fead5bdb54e38fa74092caab01
[INFO] checking deepsarkar2003/cpp-compiler-in-rust against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsarkar2003%2Fcpp-compiler-in-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust
[INFO] finished tweaking git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust
[INFO] tweaked toml for git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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 deepsarkar2003/cpp-compiler-in-rust against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepsarkar2003%2Fcpp-compiler-in-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust
[INFO] finished tweaking git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust
[INFO] tweaked toml for git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deepsarkar2003/cpp-compiler-in-rust 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tiny_http v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc
[INFO] running `Command { std: "docker" "start" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc", 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" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc", 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" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking chunked_transfer v1.5.0
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking tiny_http v0.11.0
[INFO] [stderr]     Checking cpp_compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ir`
[INFO] [stdout]  --> src/codegen.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn generate(ir: &IR) -> Vec<u8> {
[INFO] [stdout]   |                     ^^ help: if this is intentional, prefix it with an underscore: `_ir`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ir`
[INFO] [stdout]  --> src/codegen.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn generate(ir: &IR) -> Vec<u8> {
[INFO] [stdout]   |                     ^^ help: if this is intentional, prefix it with an underscore: `_ir`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast`
[INFO] [stdout]  --> src/ir.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn generate(ast: &AST) -> IR {
[INFO] [stdout]   |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast`
[INFO] [stdout]  --> src/ir.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn generate(ast: &AST) -> IR {
[INFO] [stdout]   |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/semantic.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |                 ASTNode::Expression => {
[INFO] [stdout]    |                 ------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 14 |                 _ => return Err("Semantic error".to_string()),
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/semantic.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |                 ASTNode::Expression => {
[INFO] [stdout]    |                 ------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 14 |                 _ => return Err("Semantic error".to_string()),
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lexer.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     Identifier(String),
[INFO] [stdout]    |     ---------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 82 -     Identifier(String),
[INFO] [stdout] 82 +     Identifier(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lexer.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     Number(String),
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 83 -     Number(String),
[INFO] [stdout] 83 +     Number(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]  --> src/server.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn start_server(port: u16, root_dir: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lexer.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     Identifier(String),
[INFO] [stdout]    |     ---------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 82 -     Identifier(String),
[INFO] [stdout] 82 +     Identifier(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lexer.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     Number(String),
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 83 -     Number(String),
[INFO] [stdout] 83 +     Number(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]  --> src/server.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn start_server(port: u16, root_dir: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.54s
[INFO] running `Command { std: "docker" "inspect" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc", kill_on_drop: false }`
[INFO] [stdout] 8dc4985f9ef8fec208a8561ef424c9546aaa93bee2b82226b19eadfc343796dc
