[INFO] cloning repository https://github.com/henke443/reno
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henke443/reno" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenke443%2Freno", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenke443%2Freno'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 176fdaf47bbd531fdc7cc28b2e94e3f5a78b6560
[INFO] checking henke443/reno against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenke443%2Freno" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/henke443/reno
[INFO] finished tweaking git repo https://github.com/henke443/reno
[INFO] tweaked toml for git repo https://github.com/henke443/reno written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/henke443/reno on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/henke443/reno 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92cef013d4c87750f5a23b51bd0ea91d0caea4a99cdf3fdf7f618c3b87e7965d
[INFO] running `Command { std: "docker" "start" "-a" "92cef013d4c87750f5a23b51bd0ea91d0caea4a99cdf3fdf7f618c3b87e7965d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92cef013d4c87750f5a23b51bd0ea91d0caea4a99cdf3fdf7f618c3b87e7965d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92cef013d4c87750f5a23b51bd0ea91d0caea4a99cdf3fdf7f618c3b87e7965d", kill_on_drop: false }`
[INFO] [stdout] 92cef013d4c87750f5a23b51bd0ea91d0caea4a99cdf3fdf7f618c3b87e7965d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc51bc0b3a2e152e3e2e33fd431cce75864f46b570081b4f0958ed1dc41bebb0
[INFO] running `Command { std: "docker" "start" "-a" "bc51bc0b3a2e152e3e2e33fd431cce75864f46b570081b4f0958ed1dc41bebb0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]     Checking os_str_bytes v6.5.1
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]     Checking anstyle v1.0.1
[INFO] [stderr]     Checking bstr v1.6.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking textwrap v0.16.0
[INFO] [stderr]    Compiling thiserror v1.0.43
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking clap_lex v0.5.0
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking chardet v0.2.4
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking globset v0.4.11
[INFO] [stderr]    Compiling quote v1.0.31
[INFO] [stderr]     Checking ignore v0.4.20
[INFO] [stderr]    Compiling syn v2.0.26
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking encoding_rs_io v0.1.7
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking tempfile v3.7.0
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking clap_builder v4.3.17
[INFO] [stderr]     Checking entropy-lib v1.0.2
[INFO] [stderr]    Compiling clap_derive v4.3.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.43
[INFO] [stderr]     Checking clap v4.3.17
[INFO] [stderr]     Checking reno v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow::bail`
[INFO] [stdout]  --> src/replace/contents.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::bail;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> src/replace/contents.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/contents.rs:217:16
[INFO] [stdout]     |
[INFO] [stdout] 217 |             if (search_byte.value != potential_match[search_i] && !search_byte.is_wildcard) {
[INFO] [stdout]     |                ^                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 217 -             if (search_byte.value != potential_match[search_i] && !search_byte.is_wildcard) {
[INFO] [stdout] 217 +             if search_byte.value != potential_match[search_i] && !search_byte.is_wildcard  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/contents.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 |         if (matched) { 
[INFO] [stdout]     |            ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 223 -         if (matched) { 
[INFO] [stdout] 223 +         if matched  { 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/contents.rs:239:12
[INFO] [stdout]     |
[INFO] [stdout] 239 |         if (matched) {
[INFO] [stdout]     |            ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 239 -         if (matched) {
[INFO] [stdout] 239 +         if matched  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/walk.rs:105:32
[INFO] [stdout]     |
[INFO] [stdout] 105 | ...                   if (!b_bin || b_verbose) { 
[INFO] [stdout]     |                          ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 -                             if (!b_bin || b_verbose) { 
[INFO] [stdout] 105 +                             if !b_bin || b_verbose  { 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `contents::*`
[INFO] [stdout]  --> src/replace/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use contents::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `names::*`
[INFO] [stdout]  --> src/replace/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use names::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::bail`
[INFO] [stdout]  --> src/replace/contents.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::bail;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> src/replace/contents.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/contents.rs:217:16
[INFO] [stdout]     |
[INFO] [stdout] 217 |             if (search_byte.value != potential_match[search_i] && !search_byte.is_wildcard) {
[INFO] [stdout]     |                ^                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 217 -             if (search_byte.value != potential_match[search_i] && !search_byte.is_wildcard) {
[INFO] [stdout] 217 +             if search_byte.value != potential_match[search_i] && !search_byte.is_wildcard  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/contents.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 |         if (matched) { 
[INFO] [stdout]     |            ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 223 -         if (matched) { 
[INFO] [stdout] 223 +         if matched  { 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/contents.rs:239:12
[INFO] [stdout]     |
[INFO] [stdout] 239 |         if (matched) {
[INFO] [stdout]     |            ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 239 -         if (matched) {
[INFO] [stdout] 239 +         if matched  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/replace/walk.rs:105:32
[INFO] [stdout]     |
[INFO] [stdout] 105 | ...                   if (!b_bin || b_verbose) { 
[INFO] [stdout]     |                          ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 -                             if (!b_bin || b_verbose) { 
[INFO] [stdout] 105 +                             if !b_bin || b_verbose  { 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `contents::*`
[INFO] [stdout]  --> src/replace/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use contents::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `names::*`
[INFO] [stdout]  --> src/replace/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use names::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/glob_walk.rs:134:16
[INFO] [stdout]     |
[INFO] [stdout] 134 |         self.0.description()
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/glob_walk.rs:134:16
[INFO] [stdout]     |
[INFO] [stdout] 134 |         self.0.description()
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `file_size` is assigned to, but never used
[INFO] [stdout]   --> src/replace/walk.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let file_size;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_file_size` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `file_size` is never read
[INFO] [stdout]   --> src/replace/walk.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             file_size = metadata.len();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/glob_walk.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl GlobWalkerBuilder {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn new<P, S>(base: P, pattern: S) -> Self
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn min_depth(mut self, depth: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     pub fn max_open(mut self, n: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn sort_by<F>(mut self, cmp: F) -> Self
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn contents_first(mut self, yes: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn case_insensitive(mut self, yes: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 312 |     pub fn file_type(mut self, file_type: FileType) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `glob_builder` is never used
[INFO] [stdout]    --> src/glob_walk.rs:428:8
[INFO] [stdout]     |
[INFO] [stdout] 428 | pub fn glob_builder<S: AsRef<str>>(pattern: S) -> GlobWalkerBuilder {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `glob` is never used
[INFO] [stdout]    --> src/glob_walk.rs:470:8
[INFO] [stdout]     |
[INFO] [stdout] 470 | pub fn glob<S: AsRef<str>>(pattern: S) -> Result<GlobWalker, GlobError> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EmptyFile` and `NoMatchesFound` are never constructed
[INFO] [stdout]   --> src/replace/contents.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum DoContentError {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 27 |     #[error("Empty file\n")]
[INFO] [stdout] 28 |     EmptyFile,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     NoMatchesFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DoContentError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `length` is never read
[INFO] [stdout]   --> src/replace/contents.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct ContentReplacementInfo {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub length: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentReplacementInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/replace/names.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct NameReplacementInfo {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 26 |     pub did_change: bool,
[INFO] [stdout] 27 |     pub path: PathBuf,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameReplacementInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/replace/names.rs:43:70
[INFO] [stdout]    |
[INFO] [stdout] 43 |           .context(DoNamesError::InvalidFilename(Box::from(old_path)))?
[INFO] [stdout]    |  ______________________________________________________________________^
[INFO] [stdout] 44 | |         .clone()
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `std::ffi::OsStr` does not implement `Clone`, so calling `clone` on `&std::ffi::OsStr` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 43 -         .context(DoNamesError::InvalidFilename(Box::from(old_path)))?
[INFO] [stdout] 44 -         .clone()
[INFO] [stdout] 43 +         .context(DoNamesError::InvalidFilename(Box::from(old_path)))?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/replace/walk.rs:60:50
[INFO] [stdout]    |
[INFO] [stdout] 60 |     println!("Replace regex: {}", replacer_string.clone());
[INFO] [stdout]    |                                                  ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `file_size` is assigned to, but never used
[INFO] [stdout]   --> src/replace/walk.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let file_size;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_file_size` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `file_size` is never read
[INFO] [stdout]   --> src/replace/walk.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             file_size = metadata.len();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]   --> src/test.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let expected: Vec<_> = [
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `glob`
[INFO] [stdout]   --> src/test.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let glob = GlobWalkerBuilder::from_patterns(dir_path, &patterns)
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_glob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `min_depth`, `max_open`, and `contents_first` are never used
[INFO] [stdout]    --> src/glob_walk.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl GlobWalkerBuilder {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn min_depth(mut self, depth: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     pub fn max_open(mut self, n: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn contents_first(mut self, yes: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EmptyFile` and `NoMatchesFound` are never constructed
[INFO] [stdout]   --> src/replace/contents.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum DoContentError {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 27 |     #[error("Empty file\n")]
[INFO] [stdout] 28 |     EmptyFile,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     NoMatchesFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DoContentError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `length` is never read
[INFO] [stdout]   --> src/replace/contents.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct ContentReplacementInfo {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub length: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentReplacementInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/replace/names.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct NameReplacementInfo {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 26 |     pub did_change: bool,
[INFO] [stdout] 27 |     pub path: PathBuf,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameReplacementInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `equate_to_expected` is never used
[INFO] [stdout]   --> src/test.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn equate_to_expected(g: GlobWalker, mut expected: Vec<String>, dir_path: &Path) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/replace/names.rs:43:70
[INFO] [stdout]    |
[INFO] [stdout] 43 |           .context(DoNamesError::InvalidFilename(Box::from(old_path)))?
[INFO] [stdout]    |  ______________________________________________________________________^
[INFO] [stdout] 44 | |         .clone()
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `std::ffi::OsStr` does not implement `Clone`, so calling `clone` on `&std::ffi::OsStr` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 43 -         .context(DoNamesError::InvalidFilename(Box::from(old_path)))?
[INFO] [stdout] 44 -         .clone()
[INFO] [stdout] 43 +         .context(DoNamesError::InvalidFilename(Box::from(old_path)))?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/replace/walk.rs:60:50
[INFO] [stdout]    |
[INFO] [stdout] 60 |     println!("Replace regex: {}", replacer_string.clone());
[INFO] [stdout]    |                                                  ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.52s
[INFO] running `Command { std: "docker" "inspect" "bc51bc0b3a2e152e3e2e33fd431cce75864f46b570081b4f0958ed1dc41bebb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc51bc0b3a2e152e3e2e33fd431cce75864f46b570081b4f0958ed1dc41bebb0", kill_on_drop: false }`
[INFO] [stdout] bc51bc0b3a2e152e3e2e33fd431cce75864f46b570081b4f0958ed1dc41bebb0
