[INFO] cloning repository https://github.com/mahditmx/vrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahditmx/vrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahditmx%2Fvrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahditmx%2Fvrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 079897cd91e898f40d18c0c0892db80f2c649e56 [INFO] checking mahditmx/vrust/079897cd91e898f40d18c0c0892db80f2c649e56 against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahditmx%2Fvrust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mahditmx/vrust [INFO] finished tweaking git repo https://github.com/mahditmx/vrust [INFO] tweaked toml for git repo https://github.com/mahditmx/vrust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahditmx/vrust on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahditmx/vrust 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "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 [INFO] checking mahditmx/vrust/079897cd91e898f40d18c0c0892db80f2c649e56 against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahditmx%2Fvrust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mahditmx/vrust [INFO] finished tweaking git repo https://github.com/mahditmx/vrust [INFO] tweaked toml for git repo https://github.com/mahditmx/vrust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahditmx/vrust on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahditmx/vrust 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ad888d2b0cdfb4294d0e7048a28fd78240f6623723772e7faae094e31ad3636 [INFO] running `Command { std: "docker" "start" "-a" "0ad888d2b0cdfb4294d0e7048a28fd78240f6623723772e7faae094e31ad3636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ad888d2b0cdfb4294d0e7048a28fd78240f6623723772e7faae094e31ad3636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad888d2b0cdfb4294d0e7048a28fd78240f6623723772e7faae094e31ad3636", kill_on_drop: false }` [INFO] [stdout] 0ad888d2b0cdfb4294d0e7048a28fd78240f6623723772e7faae094e31ad3636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8e49d4c140d59a8dc779bf0f889303449fb4211321a804c9e864fd10dc9e916 [INFO] running `Command { std: "docker" "start" "-a" "f8e49d4c140d59a8dc779bf0f889303449fb4211321a804c9e864fd10dc9e916", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rustv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/syntax_hl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [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: `regex::Match` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex::Match; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/syntax_hl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [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: `regex::Match` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex::Match; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `highlight` [INFO] [stdout] --> src/syntax_hl.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_common_program_language(text:String, highlight: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highlight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lvl` [INFO] [stdout] --> src/syntax_hl.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | fn render_rust(text:String, lvl:u8) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lvl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_clone` [INFO] [stdout] --> src/work_whit_file.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let path_clone = path.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `highlight` [INFO] [stdout] --> src/syntax_hl.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_common_program_language(text:String, highlight: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highlight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lvl` [INFO] [stdout] --> src/syntax_hl.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | fn render_rust(text:String, lvl:u8) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lvl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_clone` [INFO] [stdout] --> src/work_whit_file.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let path_clone = path.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_press_time` is never read [INFO] [stdout] --> src/main.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | last_press_time = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fast_scroll` is never read [INFO] [stdout] --> src/main.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let mut fast_scroll = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:612:9 [INFO] [stdout] | [INFO] [stdout] 612 | let mut text = text; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let mut extra_space = " ".repeat(origin.saturating_sub((number_str.len() + 1) as u16) as usize); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lvl` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Highlight{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | lvl: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Highlight` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/work_whit_file.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn remove_file(path: String) { // not tested [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_file` is never used [INFO] [stdout] --> src/work_whit_file.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn append_file(path: String, content: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_press_time` is never read [INFO] [stdout] --> src/main.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | last_press_time = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fast_scroll` is never read [INFO] [stdout] --> src/main.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let mut fast_scroll = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:612:9 [INFO] [stdout] | [INFO] [stdout] 612 | let mut text = text; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let mut extra_space = " ".repeat(origin.saturating_sub((number_str.len() + 1) as u16) as usize); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lvl` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Highlight{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | lvl: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Highlight` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/work_whit_file.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn remove_file(path: String) { // not tested [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_file` is never used [INFO] [stdout] --> src/work_whit_file.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn append_file(path: String, content: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "f8e49d4c140d59a8dc779bf0f889303449fb4211321a804c9e864fd10dc9e916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e49d4c140d59a8dc779bf0f889303449fb4211321a804c9e864fd10dc9e916", kill_on_drop: false }` [INFO] [stdout] f8e49d4c140d59a8dc779bf0f889303449fb4211321a804c9e864fd10dc9e916