[INFO] cloning repository https://github.com/wgoodall01/monch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wgoodall01/monch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwgoodall01%2Fmonch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwgoodall01%2Fmonch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e40a16e25a883746978107d442109bf2ee924d41 [INFO] linting wgoodall01/monch against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwgoodall01%2Fmonch" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/wgoodall01/monch [INFO] finished tweaking git repo https://github.com/wgoodall01/monch [INFO] tweaked toml for git repo https://github.com/wgoodall01/monch written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wgoodall01/monch on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wgoodall01/monch 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v4.2.0 [INFO] [stderr] Downloaded fd-lock v3.0.0 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded clipboard-win v4.2.2 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.5 [INFO] [stderr] Downloaded owo-colors v3.1.0 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded similar v1.3.0 [INFO] [stderr] Downloaded anyhow v1.0.47 [INFO] [stderr] Downloaded rustyline v9.0.0 [INFO] [stderr] Downloaded clap v3.0.0-beta.5 [INFO] [stderr] Downloaded nix v0.22.2 [INFO] [stderr] Downloaded insta v1.8.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f6a73ead10e15d1f642bf58258abc83b245c2eb184482bd19c2774f6d5b364a [INFO] running `Command { std: "docker" "start" "-a" "3f6a73ead10e15d1f642bf58258abc83b245c2eb184482bd19c2774f6d5b364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f6a73ead10e15d1f642bf58258abc83b245c2eb184482bd19c2774f6d5b364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6a73ead10e15d1f642bf58258abc83b245c2eb184482bd19c2774f6d5b364a", kill_on_drop: false }` [INFO] [stdout] 3f6a73ead10e15d1f642bf58258abc83b245c2eb184482bd19c2774f6d5b364a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48d9a8be78a5d974973b3ac232eabf6cab35a4fa927cc5dc1b22f39f3ed977a6 [INFO] running `Command { std: "docker" "start" "-a" "48d9a8be78a5d974973b3ac232eabf6cab35a4fa927cc5dc1b22f39f3ed977a6", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking owo-colors v3.1.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking fd-lock v3.0.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking which v4.2.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking rustyline v9.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking monch_syntax v0.1.0 (/opt/rustwide/workdir/monch_syntax) [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_rule<'s>(&self, input: &'s str, rule: Rule) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_command(&self, cmd: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_script(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|p| self.p_command(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn p_command(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | ) -> Result<( [INFO] [stdout] | __________^ [INFO] [stdout] 115 | | ast::Invocation, [INFO] [stdout] 116 | | Option, [INFO] [stdout] 117 | | Option, [INFO] [stdout] 118 | | )> { [INFO] [stdout] | |______^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | fn p_read_redirect(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:194:52 [INFO] [stdout] | [INFO] [stdout] 194 | fn p_r_redir_file(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | fn p_write_redirect(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | fn p_w_redir_truncate_file(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | fn p_w_redir_append_file(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:233:44 [INFO] [stdout] | [INFO] [stdout] 233 | fn p_term(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:248:49 [INFO] [stdout] | [INFO] [stdout] 248 | fn p_bare_term(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:252:68 [INFO] [stdout] | [INFO] [stdout] 252 | fn p_single_quoted_string_literal(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:258:68 [INFO] [stdout] | [INFO] [stdout] 258 | fn p_double_quoted_string_literal(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking monch_io v0.1.0 (/opt/rustwide/workdir/monch_io) [INFO] [stderr] Checking insta v1.8.0 [INFO] [stdout] warning: redundant guard [INFO] [stdout] --> monch_io/src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(buf) if buf.is_empty() => return None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards [INFO] [stdout] = note: `#[warn(clippy::redundant_guards)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 125 - Ok(buf) if buf.is_empty() => return None, [INFO] [stdout] 125 + Ok([]) => return None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant guard [INFO] [stdout] --> monch_io/src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(buf) if buf.is_empty() => return None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards [INFO] [stdout] = note: `#[warn(clippy::redundant_guards)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 125 - Ok(buf) if buf.is_empty() => return None, [INFO] [stdout] 125 + Ok([]) => return None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking monch_shell v0.1.0 (/opt/rustwide/workdir/monch_shell) [INFO] [stderr] Checking monch_util_sed v0.1.0 (/opt/rustwide/workdir/monch_util_sed) [INFO] [stderr] Checking monch_util_get v0.1.0 (/opt/rustwide/workdir/monch_util_get) [INFO] [stderr] Checking monch_util_ls v0.1.0 (/opt/rustwide/workdir/monch_util_ls) [INFO] [stderr] Checking monch_util_grep v0.1.0 (/opt/rustwide/workdir/monch_util_grep) [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> monch_shell/src/builtin.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | use monch_io; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> monch_shell/src/builtin.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | use monch_io; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DirEntry` is never constructed [INFO] [stdout] --> monch_util_ls/src/bin/ls.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct DirEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> monch_shell/src/interpreter.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | if final_type == Ty::Cbor && !cmd.stdout_redirect.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmd.stdout_redirect.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to one [INFO] [stdout] --> monch_shell/src/interpreter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if cmd.pipeline.len() < 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `cmd.pipeline.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> monch_shell/src/cbor_display.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn format_cbor<'w>(out: &mut impl io::Write, val: &Value) -> io::Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DirEntry` is never constructed [INFO] [stdout] --> monch_util_ls/src/bin/ls.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct DirEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> monch_shell/src/interpreter.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | if final_type == Ty::Cbor && !cmd.stdout_redirect.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmd.stdout_redirect.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to one [INFO] [stdout] --> monch_shell/src/interpreter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if cmd.pipeline.len() < 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `cmd.pipeline.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> monch_shell/src/cbor_display.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn format_cbor<'w>(out: &mut impl io::Write, val: &Value) -> io::Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_rule<'s>(&self, input: &'s str, rule: Rule) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_command(&self, cmd: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_script(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|p| self.p_command(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn p_command(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | ) -> Result<( [INFO] [stdout] | __________^ [INFO] [stdout] 115 | | ast::Invocation, [INFO] [stdout] 116 | | Option, [INFO] [stdout] 117 | | Option, [INFO] [stdout] 118 | | )> { [INFO] [stdout] | |______^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | fn p_read_redirect(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:194:52 [INFO] [stdout] | [INFO] [stdout] 194 | fn p_r_redir_file(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | fn p_write_redirect(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | fn p_w_redir_truncate_file(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | fn p_w_redir_append_file(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:233:44 [INFO] [stdout] | [INFO] [stdout] 233 | fn p_term(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:248:49 [INFO] [stdout] | [INFO] [stdout] 248 | fn p_bare_term(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:252:68 [INFO] [stdout] | [INFO] [stdout] 252 | fn p_single_quoted_string_literal(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> monch_syntax/src/parser.rs:258:68 [INFO] [stdout] | [INFO] [stdout] 258 | fn p_double_quoted_string_literal(&self, input: Pair) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 184 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `pest::error::Error`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.32s [INFO] running `Command { std: "docker" "inspect" "48d9a8be78a5d974973b3ac232eabf6cab35a4fa927cc5dc1b22f39f3ed977a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d9a8be78a5d974973b3ac232eabf6cab35a4fa927cc5dc1b22f39f3ed977a6", kill_on_drop: false }` [INFO] [stdout] 48d9a8be78a5d974973b3ac232eabf6cab35a4fa927cc5dc1b22f39f3ed977a6