[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] checking michalsrb/rapidquilt against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalsrb%2Frapidquilt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michalsrb/rapidquilt on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ident_case v1.0.0 [INFO] [stderr] Downloaded darling_macro v0.8.5 [INFO] [stderr] Downloaded cc v1.0.30 [INFO] [stderr] Downloaded colored v1.7.0 [INFO] [stderr] Downloaded darling v0.8.5 [INFO] [stderr] Downloaded darling_core v0.8.5 [INFO] [stderr] Downloaded nom v4.2.2 [INFO] [stderr] Downloaded libc v0.2.50 [INFO] [stderr] Downloaded pathfinding v1.1.12 [INFO] [stderr] Downloaded derive_builder v0.7.1 [INFO] [stderr] Downloaded syn v0.15.27 [INFO] [stderr] Downloaded jemallocator v0.1.9 [INFO] [stderr] Downloaded derive_builder_core v0.4.1 [INFO] [stderr] Downloaded either v1.5.1 [INFO] [stderr] Downloaded jemalloc-sys v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcea7696e038b1cc93312ea887fead4423fef3739bcd6bfc361fe00e17282f18 [INFO] running `Command { std: "docker" "start" "-a" "fcea7696e038b1cc93312ea887fead4423fef3739bcd6bfc361fe00e17282f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcea7696e038b1cc93312ea887fead4423fef3739bcd6bfc361fe00e17282f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcea7696e038b1cc93312ea887fead4423fef3739bcd6bfc361fe00e17282f18", kill_on_drop: false }` [INFO] [stdout] fcea7696e038b1cc93312ea887fead4423fef3739bcd6bfc361fe00e17282f18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fd208d1120d6bc77a51e4ca6e64a0461d9b1ff1bad13171fdd36aca9d5e51f6 [INFO] running `Command { std: "docker" "start" "-a" "6fd208d1120d6bc77a51e4ca6e64a0461d9b1ff1bad13171fdd36aca9d5e51f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [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] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling derive_builder v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking colored v1.7.0 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking seahash v3.0.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling jemalloc-sys v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking nom v4.2.2 [INFO] [stderr] Checking pathfinding v1.1.12 [INFO] [stderr] Compiling darling_core v0.8.5 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling darling_macro v0.8.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling darling v0.8.5 [INFO] [stderr] Compiling derive_builder_core v0.4.1 [INFO] [stderr] Checking jemallocator v0.1.9 [INFO] [stderr] Checking rapidquilt v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `io` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModifiedFile` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `ModifiedFile` is already imported here [INFO] [stdout] 6 | use crate::modified_file::ModifiedFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilePatchApplyReport` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `FilePatchApplyReport` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | FilePatchApplyReport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TextFilePatch` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `TextFilePatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | TextFilePatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PatchDirection` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `PatchDirection` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | PatchDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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)]` 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: the item `Cow` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Cow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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)]` 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: the item `io` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `io` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModifiedFile` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `ModifiedFile` is already imported here [INFO] [stdout] 6 | use crate::modified_file::ModifiedFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilePatchApplyReport` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `FilePatchApplyReport` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | FilePatchApplyReport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TextFilePatch` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `TextFilePatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | TextFilePatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PatchDirection` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `PatchDirection` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | PatchDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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)]` 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: the item `Cow` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Cow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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)]` 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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/tests/testdata_parsing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/tests/testdata_patching.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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>, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | analyses: Vec>, [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>, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | analyses: Vec>, [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; [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn boxed_clone(&self) -> Box; [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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) { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add(&mut self, analysis: Box) { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn boxed_clone(&self) -> Box { [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 [INFO] [stdout] help: if this is an object-safe 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:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | fn boxed_clone(&self) -> Box; [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn boxed_clone(&self) -> Box; [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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) { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add(&mut self, analysis: Box) { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn boxed_clone(&self) -> Box { [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 [INFO] [stdout] help: if this is an object-safe 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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rayon` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use rayon; [INFO] [stdout] | ^^^^^ the item `rayon` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/file_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/mmap_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rayon` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use rayon; [INFO] [stdout] | ^^^^^ the item `rayon` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/file_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/mmap_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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 { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box { [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 { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box { [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: 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 [INFO] [stdout] help: if this is an object-safe 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::AtomicUsize::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: use of deprecated method `std::sync::atomic::AtomicUsize::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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [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 5` [INFO] running `Command { std: "docker" "inspect" "6fd208d1120d6bc77a51e4ca6e64a0461d9b1ff1bad13171fdd36aca9d5e51f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd208d1120d6bc77a51e4ca6e64a0461d9b1ff1bad13171fdd36aca9d5e51f6", kill_on_drop: false }` [INFO] [stdout] 6fd208d1120d6bc77a51e4ca6e64a0461d9b1ff1bad13171fdd36aca9d5e51f6 [INFO] checking michalsrb/rapidquilt against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalsrb%2Frapidquilt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michalsrb/rapidquilt on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30511aa3962e0c6c2822686db5dde49a0a1ad0256c1e2ea6e1b807a26374ddc6 [INFO] running `Command { std: "docker" "start" "-a" "30511aa3962e0c6c2822686db5dde49a0a1ad0256c1e2ea6e1b807a26374ddc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30511aa3962e0c6c2822686db5dde49a0a1ad0256c1e2ea6e1b807a26374ddc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30511aa3962e0c6c2822686db5dde49a0a1ad0256c1e2ea6e1b807a26374ddc6", kill_on_drop: false }` [INFO] [stdout] 30511aa3962e0c6c2822686db5dde49a0a1ad0256c1e2ea6e1b807a26374ddc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfae126e1bde0193770a906294048ae1df2262603369c184f23179fb2865b7d8 [INFO] running `Command { std: "docker" "start" "-a" "bfae126e1bde0193770a906294048ae1df2262603369c184f23179fb2865b7d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [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] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling derive_builder v0.7.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Checking colored v1.7.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking seahash v3.0.6 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [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] Checking nom v4.2.2 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Checking pathfinding v1.1.12 [INFO] [stderr] Compiling darling_core v0.8.5 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking 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] Checking jemallocator v0.1.9 [INFO] [stderr] Checking rapidquilt v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `io` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModifiedFile` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `ModifiedFile` is already imported here [INFO] [stdout] 6 | use crate::modified_file::ModifiedFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilePatchApplyReport` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `FilePatchApplyReport` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | FilePatchApplyReport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TextFilePatch` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `TextFilePatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | TextFilePatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PatchDirection` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `PatchDirection` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | PatchDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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)]` 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: the item `Cow` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Cow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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)]` 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: the item `io` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `io` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModifiedFile` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `ModifiedFile` is already imported here [INFO] [stdout] 6 | use crate::modified_file::ModifiedFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilePatchApplyReport` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `FilePatchApplyReport` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | FilePatchApplyReport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TextFilePatch` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `TextFilePatch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | TextFilePatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PatchDirection` is imported redundantly [INFO] [stdout] --> src/libpatch/analysis/multiapply.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::analysis::*; [INFO] [stdout] | ------------------ the item `PatchDirection` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | PatchDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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)]` 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: the item `Cow` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Cow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/patch/unified/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use crate::patch::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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)]` 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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/tests/testdata_parsing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/libpatch/tests/testdata_patching.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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>, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | analyses: Vec>, [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>, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | analyses: Vec>, [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; [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn boxed_clone(&self) -> Box; [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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | fn boxed_clone(&self) -> Box; [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn boxed_clone(&self) -> Box; [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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add(&mut self, analysis: Box) { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add(&mut self, analysis: Box) { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn boxed_clone(&self) -> Box { [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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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: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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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) { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add(&mut self, analysis: Box) { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn boxed_clone(&self) -> Box { [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 [INFO] [stdout] help: if this is an object-safe 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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rayon` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use rayon; [INFO] [stdout] | ^^^^^ the item `rayon` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/file_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/mmap_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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 { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/sequential.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `seahash` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use seahash; [INFO] [stdout] | ^^^^^^^ the item `seahash` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rayon` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/parallel.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use rayon; [INFO] [stdout] | ^^^^^ the item `rayon` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/rapidquilt/apply/common.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::apply::*; [INFO] [stdout] | --------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/file_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/rapidquilt/arena/mmap_arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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 { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | fn build_arena(use_mmap: bool) -> Box { [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 [INFO] [stdout] help: if this is an object-safe 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: 31 warnings emitted [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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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/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 [INFO] [stdout] help: if this is an object-safe 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::AtomicUsize::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/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 [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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::AtomicUsize::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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [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 5` [INFO] running `Command { std: "docker" "inspect" "bfae126e1bde0193770a906294048ae1df2262603369c184f23179fb2865b7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfae126e1bde0193770a906294048ae1df2262603369c184f23179fb2865b7d8", kill_on_drop: false }` [INFO] [stdout] bfae126e1bde0193770a906294048ae1df2262603369c184f23179fb2865b7d8