[INFO] cloning repository https://github.com/michalsrb/rapidquilt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michalsrb/rapidquilt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalsrb%2Frapidquilt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalsrb%2Frapidquilt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 67100d4b2336bdf24cc8c3799b0e4e159fe959b8
[INFO] testing michalsrb/rapidquilt against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalsrb%2Frapidquilt" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/michalsrb/rapidquilt
[INFO] finished tweaking git repo https://github.com/michalsrb/rapidquilt
[INFO] tweaked toml for git repo https://github.com/michalsrb/rapidquilt written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/michalsrb/rapidquilt on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/michalsrb/rapidquilt 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5300c0b5fc9f3a63152829bc4558d1bf8c345a4a946d9c5e0fa8fdf63cb3e02a
[INFO] running `Command { std: "docker" "start" "-a" "5300c0b5fc9f3a63152829bc4558d1bf8c345a4a946d9c5e0fa8fdf63cb3e02a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5300c0b5fc9f3a63152829bc4558d1bf8c345a4a946d9c5e0fa8fdf63cb3e02a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5300c0b5fc9f3a63152829bc4558d1bf8c345a4a946d9c5e0fa8fdf63cb3e02a", kill_on_drop: false }`
[INFO] [stdout] 5300c0b5fc9f3a63152829bc4558d1bf8c345a4a946d9c5e0fa8fdf63cb3e02a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 25de1fdfbe048f616bb9ad10696db51b4773240d48d07a260e071c1fea08fe2f
[INFO] running `Command { std: "docker" "start" "-a" "25de1fdfbe048f616bb9ad10696db51b4773240d48d07a260e071c1fea08fe2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling cc v1.0.30
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling ident_case v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling fs_extra v1.1.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling either v1.5.1
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.13
[INFO] [stderr]    Compiling derive_builder v0.7.1
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling fixedbitset v0.1.9
[INFO] [stderr]    Compiling itertools v0.8.0
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling getopts v0.2.18
[INFO] [stderr]    Compiling colored v1.7.0
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling seahash v3.0.6
[INFO] [stderr]    Compiling backtrace v0.3.14
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling nom v4.2.2
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling jemalloc-sys v0.1.8
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling syn v0.15.27
[INFO] [stderr]    Compiling pathfinding v1.1.12
[INFO] [stderr]    Compiling darling_core v0.8.5
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling darling_macro v0.8.5
[INFO] [stderr]    Compiling darling v0.8.5
[INFO] [stderr]    Compiling derive_builder_core v0.4.1
[INFO] [stderr]    Compiling jemallocator v0.1.9
[INFO] [stderr]    Compiling rapidquilt v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | / /// Parses filename as-is included in the patch, delimited by first whitespace. Returns byte slice
[INFO] [stdout] 163 | | /// of the path as-is in the input data.
[INFO] [stdout]     | |_---------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:168:1
[INFO] [stdout]     |
[INFO] [stdout] 168 | / /// Parses a quoted filename that may contain escaped characters. Returns owned buffer with the
[INFO] [stdout] 169 | | /// unescaped filename.
[INFO] [stdout] 170 | | /// Similar to `parse_c_string` function in patch.
[INFO] [stdout]     | |_-------------------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:213:1
[INFO] [stdout]     |
[INFO] [stdout] 213 | / /// Parses a filename.
[INFO] [stdout] 214 | | ///
[INFO] [stdout] 215 | | /// Either written directly without any whitespace or inside quotation marks.
[INFO] [stdout] 216 | | ///
[INFO] [stdout] 217 | | /// Similar to `parse_name` function in patch.
[INFO] [stdout]     | |_---------------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:471:1
[INFO] [stdout]     |
[INFO] [stdout] 471 | /// Parses line and count like "3,4" or just "3"
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | /// Parses the line like "@@ -3,4 +5,6 @@ function\n"
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:262:34
[INFO] [stdout]     |
[INFO] [stdout] 262 |             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[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] 262 -             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stdout] 262 +             HunkPosition::End => modified_file.content.len() as isize - remove_content.len() as isize,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     analyses: Vec<Box<Analysis>>,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     analyses: Vec<Box<dyn Analysis>>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/multiapply.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn boxed_clone(&self) -> Box<Note> {
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn boxed_clone(&self) -> Box<dyn Note> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn boxed_clone(&self) -> Box<Note>;
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn boxed_clone(&self) -> Box<dyn Note>;
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/multiapply.rs:62:28
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:618:37
[INFO] [stdout]     |
[INFO] [stdout] 618 |                  fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 618 |                  fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:649:42
[INFO] [stdout]     |
[INFO] [stdout] 649 |                       fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 649 |                       fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:754:40
[INFO] [stdout]     |
[INFO] [stdout] 754 |                     fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 754 |                     fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/analysis/mod.rs:100:28
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/analysis/mod.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn fn_analysis_note_noop(_note: &Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn fn_analysis_note_noop(_note: &dyn Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add(&mut self, analysis: Box<Analysis>) {
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add(&mut self, analysis: Box<dyn Analysis>) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParseError`
[INFO] [stdout] 20 | pub enum ParseError {
[INFO] [stdout]    |          ---------- `ParseError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParseError`
[INFO] [stdout] 20 | pub enum ParseError {
[INFO] [stdout]    |          ---------- `ParseError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:580:24
[INFO] [stdout]     |
[INFO] [stdout] 580 | named!(parse_hunk_line<CompleteByteSlice, (HunkLineType, &[u8])>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^                 ^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is hidden here
[INFO] [stdout]     |                        the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 580 | named!(parse_hunk_line<CompleteByteSlice<'_>, (HunkLineType, &[u8])>,
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:649:60
[INFO] [stdout]     |
[INFO] [stdout] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice, TextHunk<'a>> {
[INFO] [stdout]     |                                            --              ^^^^^^^^^^^^^^^^^           -- the same lifetime is named here
[INFO] [stdout]     |                                            |               |
[INFO] [stdout]     |                                            |               the same lifetime is hidden here
[INFO] [stdout]     |                                            the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice<'a>, TextHunk<'a>> {
[INFO] [stdout]     |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:777:27
[INFO] [stdout]     |
[INFO] [stdout] 777 | fn parse_hunks(mut input: CompleteByteSlice) -> IResult<CompleteByteSlice, HunksVec<&[u8]>> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |                             |                  |        |
[INFO] [stdout]     |                           |                             |                  |        the same lifetime is elided here
[INFO] [stdout]     |                           |                             |                  the same lifetime is hidden here
[INFO] [stdout]     |                           |                             the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 777 | fn parse_hunks(mut input: CompleteByteSlice<'_>) -> IResult<CompleteByteSlice<'_>, HunksVec<'_, &[u8]>> {
[INFO] [stdout]     |                                            ++++                              ++++           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:956:16
[INFO] [stdout]     |
[INFO] [stdout] 955 | fn parse_filepatch<'a>(mut input: CompleteByteSlice<'a>, mut want_header: bool)
[INFO] [stdout]     |                                                     -- the lifetime is named here
[INFO] [stdout] 956 |     -> IResult<CompleteByteSlice, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^        --                      -- the same lifetime is named here
[INFO] [stdout]     |                |                        |
[INFO] [stdout]     |                |                        the same lifetime is named here
[INFO] [stdout]     |                the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 956 |     -> IResult<CompleteByteSlice<'a>, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/libpatch/patch/unified/parser.rs:1399:27
[INFO] [stdout]      |
[INFO] [stdout] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch, Error> {
[INFO] [stdout]      |                           ^^^^^ the lifetime is elided here                      ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch<'_>, Error> {
[INFO] [stdout]      |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/apply/common.rs:354:42
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn_analysis_note: &'fn_analysis_note Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn_analysis_note: &'fn_analysis_note dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/apply/diagnostics.rs:414:58
[INFO] [stdout]     |
[INFO] [stdout] 414 | pub fn print_analysis_note(patch_filename: &Path, note: &Note, file_patch: &TextFilePatch) -> Result<(), io::Error> {
[INFO] [stdout]     |                                                          ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 414 | pub fn print_analysis_note(patch_filename: &Path, note: &dyn Note, file_patch: &TextFilePatch) -> Result<(), io::Error> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/main.rs:262:39
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box<Arena> {
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box<dyn Arena> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rapidquilt/apply/sequential.rs:58:44
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let fn_analysis_note = |note: &Note, file_patch: &TextFilePatch| {
[INFO] [stdout]    |                                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let fn_analysis_note = |note: &dyn Note, file_patch: &TextFilePatch| {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/apply/parallel.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let fn_analysis_note = |note: &Note, file_patch: &TextFilePatch| {
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let fn_analysis_note = |note: &dyn Note, file_patch: &TextFilePatch| {
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/rapidquilt/apply/parallel.rs:236:59
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     current = earliest_broken_patch_index.compare_and_swap(current, index, Ordering::AcqRel);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/rapidquilt/apply/mod.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ApplyError`
[INFO] [stdout] 75 | pub enum ApplyError {
[INFO] [stdout]    |          ---------- `ApplyError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/rapidquilt/apply/mod.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ApplyError`
[INFO] [stdout] 75 | pub enum ApplyError {
[INFO] [stdout]    |          ---------- `ApplyError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0, nom v4.2.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "25de1fdfbe048f616bb9ad10696db51b4773240d48d07a260e071c1fea08fe2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25de1fdfbe048f616bb9ad10696db51b4773240d48d07a260e071c1fea08fe2f", kill_on_drop: false }`
[INFO] [stdout] 25de1fdfbe048f616bb9ad10696db51b4773240d48d07a260e071c1fea08fe2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dea6579c129a9ae44b4da4ce9fd39cfdcd2bbc85e45db5e49eaaa10e736047db
[INFO] running `Command { std: "docker" "start" "-a" "dea6579c129a9ae44b4da4ce9fd39cfdcd2bbc85e45db5e49eaaa10e736047db", kill_on_drop: false }`
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | / /// Parses filename as-is included in the patch, delimited by first whitespace. Returns byte slice
[INFO] [stdout] 163 | | /// of the path as-is in the input data.
[INFO] [stdout]     | |_---------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:168:1
[INFO] [stdout]     |
[INFO] [stdout] 168 | / /// Parses a quoted filename that may contain escaped characters. Returns owned buffer with the
[INFO] [stdout] 169 | | /// unescaped filename.
[INFO] [stdout] 170 | | /// Similar to `parse_c_string` function in patch.
[INFO] [stdout]     | |_-------------------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:213:1
[INFO] [stdout]     |
[INFO] [stdout] 213 | / /// Parses a filename.
[INFO] [stdout] 214 | | ///
[INFO] [stdout] 215 | | /// Either written directly without any whitespace or inside quotation marks.
[INFO] [stdout] 216 | | ///
[INFO] [stdout] 217 | | /// Similar to `parse_name` function in patch.
[INFO] [stdout]     | |_---------------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rapidquilt v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:471:1
[INFO] [stdout]     |
[INFO] [stdout] 471 | /// Parses line and count like "3,4" or just "3"
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | /// Parses the line like "@@ -3,4 +5,6 @@ function\n"
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:262:34
[INFO] [stdout]     |
[INFO] [stdout] 262 |             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[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] 262 -             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stdout] 262 +             HunkPosition::End => modified_file.content.len() as isize - remove_content.len() as isize,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     analyses: Vec<Box<Analysis>>,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     analyses: Vec<Box<dyn Analysis>>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/multiapply.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn boxed_clone(&self) -> Box<Note> {
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn boxed_clone(&self) -> Box<dyn Note> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn boxed_clone(&self) -> Box<Note>;
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn boxed_clone(&self) -> Box<dyn Note>;
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/multiapply.rs:62:28
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:618:37
[INFO] [stdout]     |
[INFO] [stdout] 618 |                  fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 618 |                  fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:649:42
[INFO] [stdout]     |
[INFO] [stdout] 649 |                       fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 649 |                       fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:754:40
[INFO] [stdout]     |
[INFO] [stdout] 754 |                     fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 754 |                     fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/analysis/mod.rs:100:28
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/analysis/mod.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn fn_analysis_note_noop(_note: &Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn fn_analysis_note_noop(_note: &dyn Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add(&mut self, analysis: Box<Analysis>) {
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add(&mut self, analysis: Box<dyn Analysis>) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParseError`
[INFO] [stdout] 20 | pub enum ParseError {
[INFO] [stdout]    |          ---------- `ParseError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParseError`
[INFO] [stdout] 20 | pub enum ParseError {
[INFO] [stdout]    |          ---------- `ParseError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:580:24
[INFO] [stdout]     |
[INFO] [stdout] 580 | named!(parse_hunk_line<CompleteByteSlice, (HunkLineType, &[u8])>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^                 ^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is hidden here
[INFO] [stdout]     |                        the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 580 | named!(parse_hunk_line<CompleteByteSlice<'_>, (HunkLineType, &[u8])>,
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:649:60
[INFO] [stdout]     |
[INFO] [stdout] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice, TextHunk<'a>> {
[INFO] [stdout]     |                                            --              ^^^^^^^^^^^^^^^^^           -- the same lifetime is named here
[INFO] [stdout]     |                                            |               |
[INFO] [stdout]     |                                            |               the same lifetime is hidden here
[INFO] [stdout]     |                                            the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice<'a>, TextHunk<'a>> {
[INFO] [stdout]     |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:777:27
[INFO] [stdout]     |
[INFO] [stdout] 777 | fn parse_hunks(mut input: CompleteByteSlice) -> IResult<CompleteByteSlice, HunksVec<&[u8]>> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |                             |                  |        |
[INFO] [stdout]     |                           |                             |                  |        the same lifetime is elided here
[INFO] [stdout]     |                           |                             |                  the same lifetime is hidden here
[INFO] [stdout]     |                           |                             the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 777 | fn parse_hunks(mut input: CompleteByteSlice<'_>) -> IResult<CompleteByteSlice<'_>, HunksVec<'_, &[u8]>> {
[INFO] [stdout]     |                                            ++++                              ++++           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:956:16
[INFO] [stdout]     |
[INFO] [stdout] 955 | fn parse_filepatch<'a>(mut input: CompleteByteSlice<'a>, mut want_header: bool)
[INFO] [stdout]     |                                                     -- the lifetime is named here
[INFO] [stdout] 956 |     -> IResult<CompleteByteSlice, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^        --                      -- the same lifetime is named here
[INFO] [stdout]     |                |                        |
[INFO] [stdout]     |                |                        the same lifetime is named here
[INFO] [stdout]     |                the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 956 |     -> IResult<CompleteByteSlice<'a>, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/libpatch/patch/unified/parser.rs:1399:27
[INFO] [stdout]      |
[INFO] [stdout] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch, Error> {
[INFO] [stdout]      |                           ^^^^^ the lifetime is elided here                      ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch<'_>, Error> {
[INFO] [stdout]      |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/apply/common.rs:354:42
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn_analysis_note: &'fn_analysis_note Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn_analysis_note: &'fn_analysis_note dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/apply/diagnostics.rs:414:58
[INFO] [stdout]     |
[INFO] [stdout] 414 | pub fn print_analysis_note(patch_filename: &Path, note: &Note, file_patch: &TextFilePatch) -> Result<(), io::Error> {
[INFO] [stdout]     |                                                          ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 414 | pub fn print_analysis_note(patch_filename: &Path, note: &dyn Note, file_patch: &TextFilePatch) -> Result<(), io::Error> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | / /// Parses filename as-is included in the patch, delimited by first whitespace. Returns byte slice
[INFO] [stdout] 163 | | /// of the path as-is in the input data.
[INFO] [stdout]     | |_---------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:168:1
[INFO] [stdout]     |
[INFO] [stdout] 168 | / /// Parses a quoted filename that may contain escaped characters. Returns owned buffer with the
[INFO] [stdout] 169 | | /// unescaped filename.
[INFO] [stdout] 170 | | /// Similar to `parse_c_string` function in patch.
[INFO] [stdout]     | |_-------------------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:213:1
[INFO] [stdout]     |
[INFO] [stdout] 213 | / /// Parses a filename.
[INFO] [stdout] 214 | | ///
[INFO] [stdout] 215 | | /// Either written directly without any whitespace or inside quotation marks.
[INFO] [stdout] 216 | | ///
[INFO] [stdout] 217 | | /// Similar to `parse_name` function in patch.
[INFO] [stdout]     | |_---------------------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:471:1
[INFO] [stdout]     |
[INFO] [stdout] 471 | /// Parses line and count like "3,4" or just "3"
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:505:1
[INFO] [stdout]     |
[INFO] [stdout] 505 | /// Parses the line like "@@ -3,4 +5,6 @@ function\n"
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:262:34
[INFO] [stdout]     |
[INFO] [stdout] 262 |             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[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] 262 -             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stdout] 262 +             HunkPosition::End => modified_file.content.len() as isize - remove_content.len() as isize,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/main.rs:262:39
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box<Arena> {
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box<dyn Arena> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rapidquilt/apply/sequential.rs:58:44
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let fn_analysis_note = |note: &Note, file_patch: &TextFilePatch| {
[INFO] [stdout]    |                                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let fn_analysis_note = |note: &dyn Note, file_patch: &TextFilePatch| {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rapidquilt/apply/parallel.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let fn_analysis_note = |note: &Note, file_patch: &TextFilePatch| {
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let fn_analysis_note = |note: &dyn Note, file_patch: &TextFilePatch| {
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/rapidquilt/apply/parallel.rs:236:59
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     current = earliest_broken_patch_index.compare_and_swap(current, index, Ordering::AcqRel);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     analyses: Vec<Box<Analysis>>,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     analyses: Vec<Box<dyn Analysis>>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/multiapply.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn boxed_clone(&self) -> Box<Note> {
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn boxed_clone(&self) -> Box<dyn Note> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn boxed_clone(&self) -> Box<Note>;
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn boxed_clone(&self) -> Box<dyn Note>;
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/multiapply.rs:62:28
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:618:37
[INFO] [stdout]     |
[INFO] [stdout] 618 |                  fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 618 |                  fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:649:42
[INFO] [stdout]     |
[INFO] [stdout] 649 |                       fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 649 |                       fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/patch/mod.rs:754:40
[INFO] [stdout]     |
[INFO] [stdout] 754 |                     fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 754 |                     fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/analysis/mod.rs:100:28
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/libpatch/analysis/mod.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn fn_analysis_note_noop(_note: &Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn fn_analysis_note_noop(_note: &dyn Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/libpatch/analysis/mod.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add(&mut self, analysis: Box<Analysis>) {
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn add(&mut self, analysis: Box<dyn Analysis>) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/rapidquilt/apply/mod.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ApplyError`
[INFO] [stdout] 75 | pub enum ApplyError {
[INFO] [stdout]    |          ---------- `ApplyError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/rapidquilt/apply/mod.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ApplyError`
[INFO] [stdout] 75 | pub enum ApplyError {
[INFO] [stdout]    |          ---------- `ApplyError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParseError`
[INFO] [stdout] 20 | pub enum ParseError {
[INFO] [stdout]    |          ---------- `ParseError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParseError`
[INFO] [stdout] 20 | pub enum ParseError {
[INFO] [stdout]    |          ---------- `ParseError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:580:24
[INFO] [stdout]     |
[INFO] [stdout] 580 | named!(parse_hunk_line<CompleteByteSlice, (HunkLineType, &[u8])>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^                 ^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is hidden here
[INFO] [stdout]     |                        the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 580 | named!(parse_hunk_line<CompleteByteSlice<'_>, (HunkLineType, &[u8])>,
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:649:60
[INFO] [stdout]     |
[INFO] [stdout] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice, TextHunk<'a>> {
[INFO] [stdout]     |                                            --              ^^^^^^^^^^^^^^^^^           -- the same lifetime is named here
[INFO] [stdout]     |                                            |               |
[INFO] [stdout]     |                                            |               the same lifetime is hidden here
[INFO] [stdout]     |                                            the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice<'a>, TextHunk<'a>> {
[INFO] [stdout]     |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:777:27
[INFO] [stdout]     |
[INFO] [stdout] 777 | fn parse_hunks(mut input: CompleteByteSlice) -> IResult<CompleteByteSlice, HunksVec<&[u8]>> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |                             |                  |        |
[INFO] [stdout]     |                           |                             |                  |        the same lifetime is elided here
[INFO] [stdout]     |                           |                             |                  the same lifetime is hidden here
[INFO] [stdout]     |                           |                             the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 777 | fn parse_hunks(mut input: CompleteByteSlice<'_>) -> IResult<CompleteByteSlice<'_>, HunksVec<'_, &[u8]>> {
[INFO] [stdout]     |                                            ++++                              ++++           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/libpatch/patch/unified/parser.rs:956:16
[INFO] [stdout]     |
[INFO] [stdout] 955 | fn parse_filepatch<'a>(mut input: CompleteByteSlice<'a>, mut want_header: bool)
[INFO] [stdout]     |                                                     -- the lifetime is named here
[INFO] [stdout] 956 |     -> IResult<CompleteByteSlice, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^        --                      -- the same lifetime is named here
[INFO] [stdout]     |                |                        |
[INFO] [stdout]     |                |                        the same lifetime is named here
[INFO] [stdout]     |                the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 956 |     -> IResult<CompleteByteSlice<'a>, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/libpatch/patch/unified/parser.rs:1399:27
[INFO] [stdout]      |
[INFO] [stdout] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch, Error> {
[INFO] [stdout]      |                           ^^^^^ the lifetime is elided here                      ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch<'_>, Error> {
[INFO] [stdout]      |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0, nom v4.2.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "dea6579c129a9ae44b4da4ce9fd39cfdcd2bbc85e45db5e49eaaa10e736047db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dea6579c129a9ae44b4da4ce9fd39cfdcd2bbc85e45db5e49eaaa10e736047db", kill_on_drop: false }`
[INFO] [stdout] dea6579c129a9ae44b4da4ce9fd39cfdcd2bbc85e45db5e49eaaa10e736047db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1a102cf43a0d01209a25f9715db9735360bdb55bade116dbf020170a30b5659d
[INFO] running `Command { std: "docker" "start" "-a" "1a102cf43a0d01209a25f9715db9735360bdb55bade116dbf020170a30b5659d", kill_on_drop: false }`
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:162:1
[INFO] [stderr]     |
[INFO] [stderr] 162 | / /// Parses filename as-is included in the patch, delimited by first whitespace. Returns byte slice
[INFO] [stderr] 163 | | /// of the path as-is in the input data.
[INFO] [stderr]     | |_---------------------------------------^
[INFO] [stderr]     |   |
[INFO] [stderr]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:168:1
[INFO] [stderr]     |
[INFO] [stderr] 168 | / /// Parses a quoted filename that may contain escaped characters. Returns owned buffer with the
[INFO] [stderr] 169 | | /// unescaped filename.
[INFO] [stderr] 170 | | /// Similar to `parse_c_string` function in patch.
[INFO] [stderr]     | |_-------------------------------------------------^
[INFO] [stderr]     |   |
[INFO] [stderr]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:213:1
[INFO] [stderr]     |
[INFO] [stderr] 213 | / /// Parses a filename.
[INFO] [stderr] 214 | | ///
[INFO] [stderr] 215 | | /// Either written directly without any whitespace or inside quotation marks.
[INFO] [stderr] 216 | | ///
[INFO] [stderr] 217 | | /// Similar to `parse_name` function in patch.
[INFO] [stderr]     | |_---------------------------------------------^
[INFO] [stderr]     |   |
[INFO] [stderr]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:471:1
[INFO] [stderr]     |
[INFO] [stderr] 471 | /// Parses line and count like "3,4" or just "3"
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:505:1
[INFO] [stderr]     |
[INFO] [stderr] 505 | /// Parses the line like "@@ -3,4 +5,6 @@ function\n"
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/libpatch/patch/mod.rs:262:34
[INFO] [stderr]     |
[INFO] [stderr] 262 |             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stderr]     |                                  ^                                                                    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 262 -             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stderr] 262 +             HunkPosition::End => modified_file.content.len() as isize - remove_content.len() as isize,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/mod.rs:60:23
[INFO] [stderr]    |
[INFO] [stderr] 60 |     analyses: Vec<Box<Analysis>>,
[INFO] [stderr]    |                       ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 60 |     analyses: Vec<Box<dyn Analysis>>,
[INFO] [stderr]    |                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/multiapply.rs:30:34
[INFO] [stderr]    |
[INFO] [stderr] 30 |     fn boxed_clone(&self) -> Box<Note> {
[INFO] [stderr]    |                                  ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 30 |     fn boxed_clone(&self) -> Box<dyn Note> {
[INFO] [stderr]    |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/mod.rs:28:34
[INFO] [stderr]    |
[INFO] [stderr] 28 |     fn boxed_clone(&self) -> Box<Note>;
[INFO] [stderr]    |                                  ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 28 |     fn boxed_clone(&self) -> Box<dyn Note>;
[INFO] [stderr]    |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/multiapply.rs:62:28
[INFO] [stderr]    |
[INFO] [stderr] 62 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 62 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/mod.rs:43:29
[INFO] [stderr]    |
[INFO] [stderr] 43 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 43 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/mod.rs:52:29
[INFO] [stderr]    |
[INFO] [stderr] 52 |         _fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 52 |         _fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/libpatch/patch/mod.rs:618:37
[INFO] [stderr]     |
[INFO] [stderr] 618 |                  fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 618 |                  fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/libpatch/patch/mod.rs:649:42
[INFO] [stderr]     |
[INFO] [stderr] 649 |                       fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 649 |                       fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/libpatch/patch/mod.rs:754:40
[INFO] [stderr]     |
[INFO] [stderr] 754 |                     fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 754 |                     fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/mod.rs:84:28
[INFO] [stderr]    |
[INFO] [stderr] 84 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 84 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]    |                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/libpatch/analysis/mod.rs:100:28
[INFO] [stderr]     |
[INFO] [stderr] 100 |         fn_analysis_note: &Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 100 |         fn_analysis_note: &dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/libpatch/analysis/mod.rs:112:38
[INFO] [stderr]     |
[INFO] [stderr] 112 | pub fn fn_analysis_note_noop(_note: &Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stderr]     |                                      ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 112 | pub fn fn_analysis_note_noop(_note: &dyn Note, _modified_filepatch: &TextFilePatch) {
[INFO] [stderr]     |                                      +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/libpatch/analysis/mod.rs:68:41
[INFO] [stderr]    |
[INFO] [stderr] 68 |     pub fn add(&mut self, analysis: Box<Analysis>) {
[INFO] [stderr]    |                                         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 68 |     pub fn add(&mut self, analysis: Box<dyn Analysis>) {
[INFO] [stderr]    |                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Fail` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParseError`
[INFO] [stderr] 20 | pub enum ParseError {
[INFO] [stderr]    |          ---------- `ParseError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/libpatch/patch/unified/parser.rs:19:17
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Debug, Fail, PartialEq)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Display` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParseError`
[INFO] [stderr] 20 | pub enum ParseError {
[INFO] [stderr]    |          ---------- `ParseError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:580:24
[INFO] [stderr]     |
[INFO] [stderr] 580 | named!(parse_hunk_line<CompleteByteSlice, (HunkLineType, &[u8])>,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^                 ^^^^^ the same lifetime is elided here
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        the lifetime is hidden here
[INFO] [stderr]     |                        the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 580 | named!(parse_hunk_line<CompleteByteSlice<'_>, (HunkLineType, &[u8])>,
[INFO] [stderr]     |                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:649:60
[INFO] [stderr]     |
[INFO] [stderr] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice, TextHunk<'a>> {
[INFO] [stderr]     |                                            --              ^^^^^^^^^^^^^^^^^           -- the same lifetime is named here
[INFO] [stderr]     |                                            |               |
[INFO] [stderr]     |                                            |               the same lifetime is hidden here
[INFO] [stderr]     |                                            the lifetime is named here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]     |
[INFO] [stderr] 649 | fn parse_hunk<'a>(input: CompleteByteSlice<'a>) -> IResult<CompleteByteSlice<'a>, TextHunk<'a>> {
[INFO] [stderr]     |                                                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:777:27
[INFO] [stderr]     |
[INFO] [stderr] 777 | fn parse_hunks(mut input: CompleteByteSlice) -> IResult<CompleteByteSlice, HunksVec<&[u8]>> {
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr]     |                           |                             |                  |        |
[INFO] [stderr]     |                           |                             |                  |        the same lifetime is elided here
[INFO] [stderr]     |                           |                             |                  the same lifetime is hidden here
[INFO] [stderr]     |                           |                             the same lifetime is hidden here
[INFO] [stderr]     |                           the lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 777 | fn parse_hunks(mut input: CompleteByteSlice<'_>) -> IResult<CompleteByteSlice<'_>, HunksVec<'_, &[u8]>> {
[INFO] [stderr]     |                                            ++++                              ++++           +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/libpatch/patch/unified/parser.rs:956:16
[INFO] [stderr]     |
[INFO] [stderr] 955 | fn parse_filepatch<'a>(mut input: CompleteByteSlice<'a>, mut want_header: bool)
[INFO] [stderr]     |                                                     -- the lifetime is named here
[INFO] [stderr] 956 |     -> IResult<CompleteByteSlice, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^        --                      -- the same lifetime is named here
[INFO] [stderr]     |                |                        |
[INFO] [stderr]     |                |                        the same lifetime is named here
[INFO] [stderr]     |                the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]     |
[INFO] [stderr] 956 |     -> IResult<CompleteByteSlice<'a>, (Vec<&'a [u8]>, TextFilePatch<'a>)>
[INFO] [stderr]     |                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]     --> src/libpatch/patch/unified/parser.rs:1399:27
[INFO] [stderr]      |
[INFO] [stderr] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch, Error> {
[INFO] [stderr]      |                           ^^^^^ the lifetime is elided here                      ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]      |
[INFO] [stderr]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]      |
[INFO] [stderr] 1399 | pub fn parse_patch(bytes: &[u8], strip: usize, mut wants_header: bool) -> Result<TextPatch<'_>, Error> {
[INFO] [stderr]      |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rapidquilt` (lib) generated 26 warnings (run `cargo fix --lib -p rapidquilt` to apply 19 suggestions)
[INFO] [stderr] warning: `rapidquilt` (lib test) generated 26 warnings (26 duplicates)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rapidquilt/apply/common.rs:354:42
[INFO] [stderr]     |
[INFO] [stderr] 354 |     fn_analysis_note: &'fn_analysis_note Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 354 |     fn_analysis_note: &'fn_analysis_note dyn Fn(&dyn Note, &TextFilePatch))
[INFO] [stderr]     |                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rapidquilt/apply/diagnostics.rs:414:58
[INFO] [stderr]     |
[INFO] [stderr] 414 | pub fn print_analysis_note(patch_filename: &Path, note: &Note, file_patch: &TextFilePatch) -> Result<(), io::Error> {
[INFO] [stderr]     |                                                          ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 414 | pub fn print_analysis_note(patch_filename: &Path, note: &dyn Note, file_patch: &TextFilePatch) -> Result<(), io::Error> {
[INFO] [stderr]     |                                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rapidquilt/main.rs:262:39
[INFO] [stderr]     |
[INFO] [stderr] 262 | fn build_arena(use_mmap: bool) -> Box<Arena> {
[INFO] [stderr]     |                                       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 262 | fn build_arena(use_mmap: bool) -> Box<dyn Arena> {
[INFO] [stderr]     |                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/rapidquilt/apply/sequential.rs:58:44
[INFO] [stderr]    |
[INFO] [stderr] 58 |             let fn_analysis_note = |note: &Note, file_patch: &TextFilePatch| {
[INFO] [stderr]    |                                            ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 58 |             let fn_analysis_note = |note: &dyn Note, file_patch: &TextFilePatch| {
[INFO] [stderr]    |                                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/rapidquilt/apply/parallel.rs:212:40
[INFO] [stderr]     |
[INFO] [stderr] 212 |         let fn_analysis_note = |note: &Note, file_patch: &TextFilePatch| {
[INFO] [stderr]     |                                        ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 212 |         let fn_analysis_note = |note: &dyn Note, file_patch: &TextFilePatch| {
[INFO] [stderr]     |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stderr]    --> src/rapidquilt/apply/parallel.rs:236:59
[INFO] [stderr]     |
[INFO] [stderr] 236 |                     current = earliest_broken_patch_index.compare_and_swap(current, index, Ordering::AcqRel);
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/rapidquilt/apply/mod.rs:74:17
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Fail` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ApplyError`
[INFO] [stderr] 75 | pub enum ApplyError {
[INFO] [stderr]    |          ---------- `ApplyError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/rapidquilt/apply/mod.rs:74:17
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Display` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ApplyError`
[INFO] [stderr] 75 | pub enum ApplyError {
[INFO] [stderr]    |          ---------- `ApplyError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rapidquilt` (bin "rapidquilt" test) generated 8 warnings (run `cargo fix --bin "rapidquilt" -p rapidquilt --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0, nom v4.2.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/libpatch/lib.rs (/opt/rustwide/target/debug/deps/libpatch-437775fb83d3e64c)
[INFO] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test patch::unified::parser::test_parse_filename ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_hunk_header ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_hunk ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_hunk_line ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_filepatch ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_hunk_line_and_count ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_number_usize ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_metadata_line ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_mode ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_patch_line ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_patch ... ok
[INFO] [stdout] test util::lines_with_endings::tests::basic ... ok
[INFO] [stdout] test util::lines_with_endings::tests::basic_no_trailing_newline ... ok
[INFO] [stdout] test util::lines_with_endings::tests::empty ... ok
[INFO] [stdout] test util::lines_with_endings::tests::empty_no_trailing_newline ... ok
[INFO] [stdout] test util::lines_with_endings::tests::single_line_no_trailing_newline ... ok
[INFO] [stdout] test util::lines_with_endings::tests::single_line ... ok
[INFO] [stdout] test util::search::tests::basic1 ... ok
[INFO] [stdout] test util::search::tests::basic2 ... ok
[INFO] [stdout] test util::search::tests::basic3 ... ok
[INFO] [stdout] test util::search::tests::match_full ... ok
[INFO] [stdout] test util::search::tests::multiple_matches2 ... ok
[INFO] [stdout] test util::search::tests::multiple_matches1 ... ok
[INFO] [stdout] test util::search::tests::multiple_matches_overlapping ... ok
[INFO] [stdout] test util::search::tests::no_match_other_letters ... ok
[INFO] [stdout] test util::search::tests::no_match_same_letters ... ok
[INFO] [stdout] test util::search::tests::no_match_too_short ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_filepatch_unix ... ok
[INFO] [stdout] test patch::unified::parser::test_parse_hunks ... ok
[INFO] [stdout] test tests::testdata_parsing::all_files ... ok
[INFO] [stdout] test tests::testdata_patching::all_files ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/rapidquilt/main.rs (/opt/rustwide/target/debug/deps/rapidquilt-cf434cd548da9746)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test tests::filename_distributor::test_basic ... ok
[INFO] [stdout] test tests::filename_distributor::test_empty ... ok
[INFO] [stdout] test tests::filename_distributor::test_rename_2 ... ok
[INFO] [stdout] test tests::filename_distributor::test_rename_1 ... ok
[INFO] [stdout] test tests::filename_distributor::test_equal_distribution ... ok
[INFO] [stdout] test tests::filename_distributor::test_rename_3 ... ok
[INFO] [stdout] test tests::filename_distributor::test_rename_6 ... ok
[INFO] [stdout] test tests::filename_distributor::test_rename_5 ... ok
[INFO] [stdout] test tests::filename_distributor::test_rename_4 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests libpatch
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/libpatch/patch/mod.rs:262:34
[INFO] [stderr]     |
[INFO] [stderr] 262 |             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stderr]     |                                  ^                                                                    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 262 -             HunkPosition::End => (modified_file.content.len() as isize - remove_content.len() as isize),
[INFO] [stderr] 262 +             HunkPosition::End => modified_file.content.len() as isize - remove_content.len() as isize,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1a102cf43a0d01209a25f9715db9735360bdb55bade116dbf020170a30b5659d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a102cf43a0d01209a25f9715db9735360bdb55bade116dbf020170a30b5659d", kill_on_drop: false }`
[INFO] [stdout] 1a102cf43a0d01209a25f9715db9735360bdb55bade116dbf020170a30b5659d
