[INFO] cloning repository https://github.com/lusamreth/my_first_cli_app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lusamreth/my_first_cli_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Fmy_first_cli_app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Fmy_first_cli_app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78a9f4020321cbb6af27b9a70c6c3ac4c09e887a [INFO] testing lusamreth/my_first_cli_app against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Fmy_first_cli_app" "/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/lusamreth/my_first_cli_app [INFO] finished tweaking git repo https://github.com/lusamreth/my_first_cli_app [INFO] tweaked toml for git repo https://github.com/lusamreth/my_first_cli_app written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lusamreth/my_first_cli_app on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lusamreth/my_first_cli_app 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42d6afcd48bbfc999c8bacb917bd4930823e3afb6520f30640c513b9f83447aa [INFO] running `Command { std: "docker" "start" "-a" "42d6afcd48bbfc999c8bacb917bd4930823e3afb6520f30640c513b9f83447aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42d6afcd48bbfc999c8bacb917bd4930823e3afb6520f30640c513b9f83447aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d6afcd48bbfc999c8bacb917bd4930823e3afb6520f30640c513b9f83447aa", kill_on_drop: false }` [INFO] [stdout] 42d6afcd48bbfc999c8bacb917bd4930823e3afb6520f30640c513b9f83447aa [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1156d88cc47094c43b6595c9645f7a3ec9c6b1537e1e5840861dde3815fca947 [INFO] running `Command { std: "docker" "start" "-a" "1156d88cc47094c43b6595c9645f7a3ec9c6b1537e1e5840861dde3815fca947", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling cpx2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `imply` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod imply; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `imply`, create file "src/imply.rs" or "src/imply/mod.rs" [INFO] [stdout] = note: if there is a `mod imply` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `io` [INFO] [stdout] --> src/cli_handler/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub use std::{fmt, io}; [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: `Color` [INFO] [stdout] --> src/cli_handler/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use console::{self, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/cli_handler/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `self` [INFO] [stdout] --> src/interface/text_processing.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::hash_map::{self, HashMap}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `template` should have an upper camel case name [INFO] [stdout] --> src/interface/components.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type template = Vec; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Template` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `template` should have an upper camel case name [INFO] [stdout] --> src/interface/mod.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | type template = Vec; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utility/ErrorHandler.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut set_color = |typa: &ErrorType, tag: &mut Vec<&str>| { [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: unused variable: `error_tage` [INFO] [stdout] --> src/utility/ErrorHandler.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let error_tage = console::Style::new() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_tage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli_handler/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut mx: u16 = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli_handler/mod.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut print_ln = pstr.gen_println(None); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli_handler/mod.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/cli_handler/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let dot = utility::Dot::new(50, "+"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mx` [INFO] [stdout] --> src/cli_handler/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut mx: u16 = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print` [INFO] [stdout] --> src/cli_handler/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let print = pstr.gen_print(None); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print_ln` [INFO] [stdout] --> src/cli_handler/mod.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut print_ln = pstr.gen_println(None); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feedback_int` [INFO] [stdout] --> src/cli_handler/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let feedback_int = feedback.parse::().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feedback_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `z` is never read [INFO] [stdout] --> src/interface/template_engine.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | .map(|mut z| { [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: variable does not need to be mutable [INFO] [stdout] --> src/interface/template_engine.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | fn chain(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/printer.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut handle = io::BufWriter::new(std_out); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/interface/mod.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | fn recto(x: i32, y: i32, mut content: template) -> template { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longest_len` [INFO] [stdout] --> src/interface/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let longest_len = long_str(&render_temp) as i32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print` [INFO] [stdout] --> src/file/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let print = init_ptr.gen_print(Some(console::Color::Blue)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/file/mod.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let mut count: i64 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/file/mod.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | count += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpx2` (lib) due to 1 previous error; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1156d88cc47094c43b6595c9645f7a3ec9c6b1537e1e5840861dde3815fca947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1156d88cc47094c43b6595c9645f7a3ec9c6b1537e1e5840861dde3815fca947", kill_on_drop: false }` [INFO] [stdout] 1156d88cc47094c43b6595c9645f7a3ec9c6b1537e1e5840861dde3815fca947