[INFO] cloning repository https://github.com/iglunix/imake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iglunix/imake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figlunix%2Fimake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figlunix%2Fimake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7650a1f608fc7517394e04cacf67da002600568f [INFO] checking iglunix/imake against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figlunix%2Fimake" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iglunix/imake on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iglunix/imake [INFO] finished tweaking git repo https://github.com/iglunix/imake [INFO] tweaked toml for git repo https://github.com/iglunix/imake written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iglunix/imake 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 444c5b41ed1d2daa5fbd1d4fa690b875479cf14017a7ee12d1bd0d3a8a0b095e [INFO] running `Command { std: "docker" "start" "-a" "444c5b41ed1d2daa5fbd1d4fa690b875479cf14017a7ee12d1bd0d3a8a0b095e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "444c5b41ed1d2daa5fbd1d4fa690b875479cf14017a7ee12d1bd0d3a8a0b095e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444c5b41ed1d2daa5fbd1d4fa690b875479cf14017a7ee12d1bd0d3a8a0b095e", kill_on_drop: false }` [INFO] [stdout] 444c5b41ed1d2daa5fbd1d4fa690b875479cf14017a7ee12d1bd0d3a8a0b095e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 247ed926c8e07e74139b669346df83e3a22cc19aa1ad4e0ce454c2e731849ab7 [INFO] running `Command { std: "docker" "start" "-a" "247ed926c8e07e74139b669346df83e3a22cc19aa1ad4e0ce454c2e731849ab7", kill_on_drop: false }` [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking imake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `iter::Peekable` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | iter::Peekable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_from_fn` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(array_from_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Peekable` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | iter::Peekable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_from_fn` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(array_from_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:2674:9 [INFO] [stdout] | [INFO] [stdout] 2674 | super::parse_line(&mut state, &Location::default(), "test=1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------- argument #2 of type `&mut std::collections::HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn parse_line(state: &mut State, vars: &mut HashMap, location: &Location, src: &str) { [INFO] [stdout] | ^^^^^^^^^^ ------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2674 | super::parse_line(&mut state, /* &mut std::collections::HashMap */, &Location::default(), "test=1"); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:2675:9 [INFO] [stdout] | [INFO] [stdout] 2675 | super::parse_line(&mut state, &Location::default(), "test+=1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------- argument #2 of type `&mut std::collections::HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn parse_line(state: &mut State, vars: &mut HashMap, location: &Location, src: &str) { [INFO] [stdout] | ^^^^^^^^^^ ------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2675 | super::parse_line(&mut state, /* &mut std::collections::HashMap */, &Location::default(), "test+=1"); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:2676:9 [INFO] [stdout] | [INFO] [stdout] 2676 | super::parse_line(&mut state, &Location::default(), "x: test+=1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------- argument #2 of type `&mut std::collections::HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn parse_line(state: &mut State, vars: &mut HashMap, location: &Location, src: &str) { [INFO] [stdout] | ^^^^^^^^^^ ------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2676 | super::parse_line(&mut state, /* &mut std::collections::HashMap */, &Location::default(), "x: test+=1"); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:2677:9 [INFO] [stdout] | [INFO] [stdout] 2677 | super::parse_line(&mut state, &Location::default(), "x: a b"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------- argument #2 of type `&mut std::collections::HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn parse_line(state: &mut State, vars: &mut HashMap, location: &Location, src: &str) { [INFO] [stdout] | ^^^^^^^^^^ ------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2677 | super::parse_line(&mut state, /* &mut std::collections::HashMap */, &Location::default(), "x: a b"); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/main.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_all_args(loc: &Location, func: &str, src: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/main.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_all_args(loc: &Location, func: &str, src: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discard` [INFO] [stdout] --> src/main.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let mut discard = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discard` [INFO] [stdout] --> src/main.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let mut discard = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | let mut discard = false; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | let mut discard = false; [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: unreachable pattern [INFO] [stdout] --> src/main.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1060 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1007 | Rule { targets, data: RuleData::Prereq(double_colon, prereq), .. } => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1037 | Rule { targets, data: RuleData::Recipie(recipie), .. } => { [INFO] [stdout] | ------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1060 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/main.rs:1050:49 [INFO] [stdout] | [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/main.rs:1050:54 [INFO] [stdout] | [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/main.rs:1050:58 [INFO] [stdout] | [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:1053:30 [INFO] [stdout] | [INFO] [stdout] 1053 | Some(target) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/main.rs:980:35 [INFO] [stdout] | [INFO] [stdout] 980 | fn build_graph(state: &mut State, vars: &HashMap) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1060 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1007 | Rule { targets, data: RuleData::Prereq(double_colon, prereq), .. } => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1037 | Rule { targets, data: RuleData::Recipie(recipie), .. } => { [INFO] [stdout] | ------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1060 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/main.rs:1050:49 [INFO] [stdout] | [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/main.rs:1050:54 [INFO] [stdout] | [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:2182:17 [INFO] [stdout] | [INFO] [stdout] 2182 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:2182:17 [INFO] [stdout] | [INFO] [stdout] 1569 | SubType::Var => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1577 | SubType::Shell => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1638 | SubType::Info => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1643 | SubType::Subst => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2182 | _ => todo!(), [INFO] [stdout] | ^ ...and 26 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/main.rs:1050:58 [INFO] [stdout] | [INFO] [stdout] 1050 | Rule { targets, data: RuleData::Var(lhs, op, rhs), .. } => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:1053:30 [INFO] [stdout] | [INFO] [stdout] 1053 | Some(target) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/main.rs:980:35 [INFO] [stdout] | [INFO] [stdout] 980 | fn build_graph(state: &mut State, vars: &HashMap) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_name` [INFO] [stdout] --> src/main.rs:1581:25 [INFO] [stdout] | [INFO] [stdout] 1581 | let cmd_name = cmd.split_whitespace().next().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rev` [INFO] [stdout] --> src/main.rs:2030:25 [INFO] [stdout] | [INFO] [stdout] 2030 | let rev = n > e; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:2182:17 [INFO] [stdout] | [INFO] [stdout] 2182 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:2182:17 [INFO] [stdout] | [INFO] [stdout] 1569 | SubType::Var => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1577 | SubType::Shell => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1638 | SubType::Info => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1643 | SubType::Subst => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2182 | _ => todo!(), [INFO] [stdout] | ^ ...and 26 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_name` [INFO] [stdout] --> src/main.rs:1581:25 [INFO] [stdout] | [INFO] [stdout] 1581 | let cmd_name = cmd.split_whitespace().next().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rev` [INFO] [stdout] --> src/main.rs:2030:25 [INFO] [stdout] | [INFO] [stdout] 2030 | let rev = n > e; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2007:25 [INFO] [stdout] | [INFO] [stdout] 2007 | let mut n = args[0].trim().parse::().unwrap_or_else(|_| { [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/main.rs:2014:25 [INFO] [stdout] | [INFO] [stdout] 2014 | let mut e = args[1].trim().parse::().unwrap_or_else(|_| { [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/main.rs:2007:25 [INFO] [stdout] | [INFO] [stdout] 2007 | let mut n = args[0].trim().parse::().unwrap_or_else(|_| { [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/main.rs:2014:25 [INFO] [stdout] | [INFO] [stdout] 2014 | let mut e = args[1].trim().parse::().unwrap_or_else(|_| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: struct `ShellState` is never constructed [INFO] [stdout] --> src/main.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | struct ShellState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellState` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imake` (bin "imake" test) due to 4 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `VarOp` is never used [INFO] [stdout] --> src/main.rs:677:10 [INFO] [stdout] | [INFO] [stdout] 677 | enum VarOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Context` is never used [INFO] [stdout] --> src/main.rs:683:10 [INFO] [stdout] | [INFO] [stdout] 683 | enum Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuleType` is never used [INFO] [stdout] --> src/main.rs:981:10 [INFO] [stdout] | [INFO] [stdout] 981 | enum RuleType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rule_name`, `phony`, and `vars` are never read [INFO] [stdout] --> src/main.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 991 | struct GraphEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 992 | rule_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 996 | phony: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 997 | recipies: Vec, [INFO] [stdout] 998 | vars: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphEntry` has derived impls for the traits `Default`, `Clone`, and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTable` is never constructed [INFO] [stdout] --> src/main.rs:1339:8 [INFO] [stdout] | [INFO] [stdout] 1339 | struct SymbolTable {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `set`, and `get` are never used [INFO] [stdout] --> src/main.rs:1342:12 [INFO] [stdout] | [INFO] [stdout] 1341 | impl SymbolTable { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 1342 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1346 | pub fn set(name: &str, value: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1350 | pub fn get(name: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/main.rs:2246:8 [INFO] [stdout] | [INFO] [stdout] 2246 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dashC` should have a snake case name [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut dashC = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dash_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "247ed926c8e07e74139b669346df83e3a22cc19aa1ad4e0ce454c2e731849ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247ed926c8e07e74139b669346df83e3a22cc19aa1ad4e0ce454c2e731849ab7", kill_on_drop: false }` [INFO] [stdout] 247ed926c8e07e74139b669346df83e3a22cc19aa1ad4e0ce454c2e731849ab7