[INFO] cloning repository https://github.com/not-damien/cruz-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/not-damien/cruz-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-damien%2Fcruz-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-damien%2Fcruz-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a83dd6d5ee04f7c1fc5ef9540ede40cf056b131 [INFO] checking not-damien/cruz-compiler against master#0c1fb2a1e65a57073dc62dd502319a00cf753371 for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-damien%2Fcruz-compiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/not-damien/cruz-compiler on toolchain 0c1fb2a1e65a57073dc62dd502319a00cf753371 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/not-damien/cruz-compiler [INFO] finished tweaking git repo https://github.com/not-damien/cruz-compiler [INFO] tweaked toml for git repo https://github.com/not-damien/cruz-compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/not-damien/cruz-compiler 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" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking not-damien/cruz-compiler against try#1d06cad56a6e74d21cdf272bd6d9479160000fba for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-damien%2Fcruz-compiler" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/not-damien/cruz-compiler on toolchain 1d06cad56a6e74d21cdf272bd6d9479160000fba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/not-damien/cruz-compiler [INFO] finished tweaking git repo https://github.com/not-damien/cruz-compiler [INFO] tweaked toml for git repo https://github.com/not-damien/cruz-compiler written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/not-damien/cruz-compiler 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" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23befcb0e9189c0b0c5116a7c48756ddb53e3a131faad1431b8e15689cec38fa [INFO] running `Command { std: "docker" "start" "-a" "23befcb0e9189c0b0c5116a7c48756ddb53e3a131faad1431b8e15689cec38fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23befcb0e9189c0b0c5116a7c48756ddb53e3a131faad1431b8e15689cec38fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23befcb0e9189c0b0c5116a7c48756ddb53e3a131faad1431b8e15689cec38fa", kill_on_drop: false }` [INFO] [stdout] 23befcb0e9189c0b0c5116a7c48756ddb53e3a131faad1431b8e15689cec38fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b30d23e39e91e1b0509919cf0021ba76a2de863260b2af96668eb4e85af290 [INFO] running `Command { std: "docker" "start" "-a" "c0b30d23e39e91e1b0509919cf0021ba76a2de863260b2af96668eb4e85af290", kill_on_drop: false }` [INFO] [stderr] Checking cruz-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read`, `option` [INFO] [stdout] --> src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::{File, self}, io::{Read, Write}, option}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | if((i == 0 && !c.is_alphabetic() )|| !c.is_alphanumeric()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - if((i == 0 && !c.is_alphabetic() )|| !c.is_alphanumeric()) { [INFO] [stdout] 176 + if (i == 0 && !c.is_alphabetic() )|| !c.is_alphanumeric() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `option` [INFO] [stdout] --> src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::{File, self}, io::{Read, Write}, option}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ex` [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | Some(Ex) => panic!("two expr in a row"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_Ex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut output = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | if((i == 0 && !c.is_alphabetic() )|| !c.is_alphanumeric()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - if((i == 0 && !c.is_alphabetic() )|| !c.is_alphanumeric()) { [INFO] [stdout] 176 + if (i == 0 && !c.is_alphabetic() )|| !c.is_alphanumeric() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buils_asm` is never used [INFO] [stdout] --> src/main.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn buils_asm(str: &mut String, tokens: Vec){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buildstr` is never used [INFO] [stdout] --> src/main.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn buildstr (str: &mut String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bi` should have a snake case name [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | Expr::Bin(Bi) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buildTree` should have a snake case name [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn buildTree(tokens:Vec) -> Option{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `build_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ex` should have a snake case name [INFO] [stdout] --> src/main.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | Some(Ex) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Te` should have a snake case name [INFO] [stdout] --> src/main.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | Some(Te) => match Te { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `te` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ex` should have a snake case name [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | Some(Ex) => panic!("two expr in a row"), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ex` [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | Some(Ex) => panic!("two expr in a row"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_Ex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut output = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buils_asm` is never used [INFO] [stdout] --> src/main.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn buils_asm(str: &mut String, tokens: Vec){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buildstr` is never used [INFO] [stdout] --> src/main.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn buildstr (str: &mut String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bi` should have a snake case name [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | Expr::Bin(Bi) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buildTree` should have a snake case name [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn buildTree(tokens:Vec) -> Option{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `build_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ex` should have a snake case name [INFO] [stdout] --> src/main.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | Some(Ex) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Te` should have a snake case name [INFO] [stdout] --> src/main.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | Some(Te) => match Te { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `te` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ex` should have a snake case name [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | Some(Ex) => panic!("two expr in a row"), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "c0b30d23e39e91e1b0509919cf0021ba76a2de863260b2af96668eb4e85af290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b30d23e39e91e1b0509919cf0021ba76a2de863260b2af96668eb4e85af290", kill_on_drop: false }` [INFO] [stdout] c0b30d23e39e91e1b0509919cf0021ba76a2de863260b2af96668eb4e85af290