[INFO] cloning repository https://github.com/cactorium/msp430-musical-quine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cactorium/msp430-musical-quine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fmsp430-musical-quine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fmsp430-musical-quine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e564b8921da2cc43f50e674d63c729750ea0646c [INFO] linting cactorium/msp430-musical-quine against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fmsp430-musical-quine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cactorium/msp430-musical-quine [INFO] finished tweaking git repo https://github.com/cactorium/msp430-musical-quine [INFO] tweaked toml for git repo https://github.com/cactorium/msp430-musical-quine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cactorium/msp430-musical-quine 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/cactorium/msp430-musical-quine 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: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [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] 47e74b74baf2b314e819c432c0145b38c73ab7e9a6d4d26d4b78a20571fb1edc [INFO] running `Command { std: "docker" "start" "-a" "47e74b74baf2b314e819c432c0145b38c73ab7e9a6d4d26d4b78a20571fb1edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47e74b74baf2b314e819c432c0145b38c73ab7e9a6d4d26d4b78a20571fb1edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e74b74baf2b314e819c432c0145b38c73ab7e9a6d4d26d4b78a20571fb1edc", kill_on_drop: false }` [INFO] [stdout] 47e74b74baf2b314e819c432c0145b38c73ab7e9a6d4d26d4b78a20571fb1edc [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] d59a4d7bd6a077e9d18c372a8ab844732977d5ab87d3009f8b0baf830038007a [INFO] running `Command { std: "docker" "start" "-a" "d59a4d7bd6a077e9d18c372a8ab844732977d5ab87d3009f8b0baf830038007a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking quine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/main.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | root: root [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `root` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/main.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | root: root [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `root` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.len = self.len + s.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `self.len += s.len()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | self.len = self.len + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `self.len += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `filter` for `Some` followed by `unwrap` [INFO] [stdout] --> src/main.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | .filter(|x| x.is_some()) [INFO] [stdout] | ______________^ [INFO] [stdout] 106 | | .map(|x| x.unwrap()) [INFO] [stdout] | |________________________________^ help: consider using `flatten` instead: `flatten()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map [INFO] [stdout] = note: `#[warn(clippy::option_filter_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | if !iter.peek().is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `iter.peek().is_some()` [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: `filter` for `Some` followed by `unwrap` [INFO] [stdout] --> src/main.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | .filter(|x| x.is_some()) [INFO] [stdout] | __________^ [INFO] [stdout] 172 | | .map(|x| x.unwrap()) [INFO] [stdout] | |____________________________^ help: consider using `flatten` instead: `flatten()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | / match input { [INFO] [stdout] 153 | | &Symbol::Literal(c) => { [INFO] [stdout] 154 | | Some(Some(StreamToken::Literal(c as u8))) [INFO] [stdout] 155 | | }, [INFO] [stdout] ... | [INFO] [stdout] 167 | | }, [INFO] [stdout] 168 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] = note: `#[warn(clippy::match_ref_pats)]` on by default [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 152 ~ match *input { [INFO] [stdout] 153 ~ Symbol::Literal(c) => { [INFO] [stdout] 154 | Some(Some(StreamToken::Literal(c as u8))) [INFO] [stdout] 155 | }, [INFO] [stdout] 156 ~ Symbol::Offset(o) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | / match next_input { [INFO] [stdout] 158 | | &Symbol::Literal(l) => { [INFO] [stdout] 159 | | *skip_input = true; [INFO] [stdout] 160 | | Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] ... | [INFO] [stdout] 165 | | }, [INFO] [stdout] 166 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 157 ~ match *next_input { [INFO] [stdout] 158 ~ Symbol::Literal(l) => { [INFO] [stdout] 159 | *skip_input = true; [INFO] [stdout] 160 | Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] 161 | } [INFO] [stdout] 162 ~ Symbol::Offset(_) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/main.rs:160:66 [INFO] [stdout] | [INFO] [stdout] 160 | ... Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] | ^^^^^^^^^^ help: try: `o` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/main.rs:160:78 [INFO] [stdout] | [INFO] [stdout] 160 | ... Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] | ^^^^^^^^^^ help: try: `l` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.len = self.len + s.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `self.len += s.len()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | self.len = self.len + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `self.len += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `filter` for `Some` followed by `unwrap` [INFO] [stdout] --> src/main.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | .filter(|x| x.is_some()) [INFO] [stdout] | ______________^ [INFO] [stdout] 106 | | .map(|x| x.unwrap()) [INFO] [stdout] | |________________________________^ help: consider using `flatten` instead: `flatten()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map [INFO] [stdout] = note: `#[warn(clippy::option_filter_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | if !iter.peek().is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `iter.peek().is_some()` [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: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | / match node { [INFO] [stdout] 255 | | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 256 | | let mut prefixa = prefix.clone(); [INFO] [stdout] 257 | | let mut prefixb = prefix; [INFO] [stdout] ... | [INFO] [stdout] 265 | | }, [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 254 ~ match *node { [INFO] [stdout] 255 ~ Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 256 | let mut prefixa = prefix.clone(); [INFO] [stdout] ... [INFO] [stdout] 262 | }, [INFO] [stdout] 263 ~ Huffman::Leaf(sym) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/main.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 255 - &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 255 + Huffman::Branch(a, b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | recursively_map(prefixa, &*a, mapping); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 260 - recursively_map(prefixa, &*a, mapping); [INFO] [stdout] 260 + recursively_map(prefixa, a, mapping); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 260 | recursively_map(prefixa, &**a, mapping); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:261:46 [INFO] [stdout] | [INFO] [stdout] 261 | recursively_map(prefixb, &*b, mapping); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 261 - recursively_map(prefixb, &*b, mapping); [INFO] [stdout] 261 + recursively_map(prefixb, b, mapping); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 261 | recursively_map(prefixb, &**b, mapping); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `filter` for `Some` followed by `unwrap` [INFO] [stdout] --> src/main.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | .filter(|x| x.is_some()) [INFO] [stdout] | __________^ [INFO] [stdout] 172 | | .map(|x| x.unwrap()) [INFO] [stdout] | |____________________________^ help: consider using `flatten` instead: `flatten()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_filter_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | / match input { [INFO] [stdout] 153 | | &Symbol::Literal(c) => { [INFO] [stdout] 154 | | Some(Some(StreamToken::Literal(c as u8))) [INFO] [stdout] 155 | | }, [INFO] [stdout] ... | [INFO] [stdout] 167 | | }, [INFO] [stdout] 168 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] = note: `#[warn(clippy::match_ref_pats)]` on by default [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 152 ~ match *input { [INFO] [stdout] 153 ~ Symbol::Literal(c) => { [INFO] [stdout] 154 | Some(Some(StreamToken::Literal(c as u8))) [INFO] [stdout] 155 | }, [INFO] [stdout] 156 ~ Symbol::Offset(o) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | / match next_input { [INFO] [stdout] 158 | | &Symbol::Literal(l) => { [INFO] [stdout] 159 | | *skip_input = true; [INFO] [stdout] 160 | | Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] ... | [INFO] [stdout] 165 | | }, [INFO] [stdout] 166 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 157 ~ match *next_input { [INFO] [stdout] 158 ~ Symbol::Literal(l) => { [INFO] [stdout] 159 | *skip_input = true; [INFO] [stdout] 160 | Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] 161 | } [INFO] [stdout] 162 ~ Symbol::Offset(_) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/main.rs:160:66 [INFO] [stdout] | [INFO] [stdout] 160 | ... Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] | ^^^^^^^^^^ help: try: `o` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/main.rs:160:78 [INFO] [stdout] | [INFO] [stdout] 160 | ... Some(Some(StreamToken::OffsetLen(o as usize, l as usize))) [INFO] [stdout] | ^^^^^^^^^^ help: try: `l` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | / match dict_pos { [INFO] [stdout] 296 | | &Huffman::Leaf(sym) => { [INFO] [stdout] 297 | | ret.push(sym); [INFO] [stdout] 298 | | dict_pos = &*dict.root; [INFO] [stdout] ... | [INFO] [stdout] 309 | | }, [INFO] [stdout] 310 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 295 ~ match *dict_pos { [INFO] [stdout] 296 ~ Huffman::Leaf(sym) => { [INFO] [stdout] 297 | ret.push(sym); [INFO] [stdout] 298 | dict_pos = &*dict.root; [INFO] [stdout] 299 | }, [INFO] [stdout] 300 ~ Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/main.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 300 - &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 300 + Huffman::Branch(a, b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:305:32 [INFO] [stdout] | [INFO] [stdout] 305 | dict_pos = &*a; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 305 - dict_pos = &*a; [INFO] [stdout] 305 + dict_pos = a; [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 305 | dict_pos = &**a; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | dict_pos = &*b; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 307 - dict_pos = &*b; [INFO] [stdout] 307 + dict_pos = b; [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 307 | dict_pos = &**b; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | / match node { [INFO] [stdout] 392 | | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 393 | | // push some temporary values to rewrite later [INFO] [stdout] 394 | | buf.push(0); [INFO] [stdout] ... | [INFO] [stdout] 411 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 391 ~ match *node { [INFO] [stdout] 392 ~ Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 393 | // push some temporary values to rewrite later [INFO] [stdout] ... [INFO] [stdout] 400 | }, [INFO] [stdout] 401 ~ Huffman::Leaf(sym) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/main.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 392 - &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 392 + Huffman::Branch(a, b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:396:54 [INFO] [stdout] | [INFO] [stdout] 396 | let aidx = recursively_traverse(buf, &*a); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 396 - let aidx = recursively_traverse(buf, &*a); [INFO] [stdout] 396 + let aidx = recursively_traverse(buf, a); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 396 | let aidx = recursively_traverse(buf, &**a); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:397:54 [INFO] [stdout] | [INFO] [stdout] 397 | let bidx = recursively_traverse(buf, &*b); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 397 - let bidx = recursively_traverse(buf, &*b); [INFO] [stdout] 397 + let bidx = recursively_traverse(buf, b); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 397 | let bidx = recursively_traverse(buf, &**b); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | / match node { [INFO] [stdout] 255 | | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 256 | | let mut prefixa = prefix.clone(); [INFO] [stdout] 257 | | let mut prefixb = prefix; [INFO] [stdout] ... | [INFO] [stdout] 265 | | }, [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 254 ~ match *node { [INFO] [stdout] 255 ~ Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 256 | let mut prefixa = prefix.clone(); [INFO] [stdout] ... [INFO] [stdout] 262 | }, [INFO] [stdout] 263 ~ Huffman::Leaf(sym) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/main.rs:415:44 [INFO] [stdout] | [INFO] [stdout] 415 | let _ = recursively_traverse(&mut ret, &*dict.root); [INFO] [stdout] | ^^^^^^^^^^^ help: try: `&dict.root` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/main.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | &prev[replace_str.len()..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/main.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | if prev.starts_with(replace_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 460 ~ if let Some() = prev.strip_prefix(replace_str) { [INFO] [stdout] 461 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/main.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 255 - &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 255 + Huffman::Branch(a, b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | recursively_map(prefixa, &*a, mapping); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 260 - recursively_map(prefixa, &*a, mapping); [INFO] [stdout] 260 + recursively_map(prefixa, a, mapping); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 260 | recursively_map(prefixa, &**a, mapping); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:261:46 [INFO] [stdout] | [INFO] [stdout] 261 | recursively_map(prefixb, &*b, mapping); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 261 - recursively_map(prefixb, &*b, mapping); [INFO] [stdout] 261 + recursively_map(prefixb, b, mapping); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 261 | recursively_map(prefixb, &**b, mapping); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | / match dict_pos { [INFO] [stdout] 296 | | &Huffman::Leaf(sym) => { [INFO] [stdout] 297 | | ret.push(sym); [INFO] [stdout] 298 | | dict_pos = &*dict.root; [INFO] [stdout] ... | [INFO] [stdout] 309 | | }, [INFO] [stdout] 310 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 295 ~ match *dict_pos { [INFO] [stdout] 296 ~ Huffman::Leaf(sym) => { [INFO] [stdout] 297 | ret.push(sym); [INFO] [stdout] 298 | dict_pos = &*dict.root; [INFO] [stdout] 299 | }, [INFO] [stdout] 300 ~ Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/main.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 300 - &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 300 + Huffman::Branch(a, b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:305:32 [INFO] [stdout] | [INFO] [stdout] 305 | dict_pos = &*a; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 305 - dict_pos = &*a; [INFO] [stdout] 305 + dict_pos = a; [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 305 | dict_pos = &**a; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | dict_pos = &*b; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 307 - dict_pos = &*b; [INFO] [stdout] 307 + dict_pos = b; [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 307 | dict_pos = &**b; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/main.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] = note: `#[warn(clippy::println_empty_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/main.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | / match node { [INFO] [stdout] 392 | | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 393 | | // push some temporary values to rewrite later [INFO] [stdout] 394 | | buf.push(0); [INFO] [stdout] ... | [INFO] [stdout] 411 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 391 ~ match *node { [INFO] [stdout] 392 ~ Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 393 | // push some temporary values to rewrite later [INFO] [stdout] ... [INFO] [stdout] 400 | }, [INFO] [stdout] 401 ~ Huffman::Leaf(sym) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/main.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 392 - &Huffman::Branch(ref a, ref b) => { [INFO] [stdout] 392 + Huffman::Branch(a, b) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:396:54 [INFO] [stdout] | [INFO] [stdout] 396 | let aidx = recursively_traverse(buf, &*a); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 396 - let aidx = recursively_traverse(buf, &*a); [INFO] [stdout] 396 + let aidx = recursively_traverse(buf, a); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 396 | let aidx = recursively_traverse(buf, &**a); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/main.rs:397:54 [INFO] [stdout] | [INFO] [stdout] 397 | let bidx = recursively_traverse(buf, &*b); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 397 - let bidx = recursively_traverse(buf, &*b); [INFO] [stdout] 397 + let bidx = recursively_traverse(buf, b); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 397 | let bidx = recursively_traverse(buf, &**b); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/main.rs:415:44 [INFO] [stdout] | [INFO] [stdout] 415 | let _ = recursively_traverse(&mut ret, &*dict.root); [INFO] [stdout] | ^^^^^^^^^^^ help: try: `&dict.root` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/main.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | &prev[replace_str.len()..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/main.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | if prev.starts_with(replace_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 460 ~ if let Some() = prev.strip_prefix(replace_str) { [INFO] [stdout] 461 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `println!` [INFO] [stdout] --> src/main.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | println!(""); [INFO] [stdout] | ^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stdout] = note: `#[warn(clippy::println_empty_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d59a4d7bd6a077e9d18c372a8ab844732977d5ab87d3009f8b0baf830038007a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59a4d7bd6a077e9d18c372a8ab844732977d5ab87d3009f8b0baf830038007a", kill_on_drop: false }` [INFO] [stdout] d59a4d7bd6a077e9d18c372a8ab844732977d5ab87d3009f8b0baf830038007a