[INFO] cloning repository https://github.com/angeldev7/bat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angeldev7/bat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeldev7%2Fbat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeldev7%2Fbat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd501edcbded4dc344e0a0478472b0a4819c2251 [INFO] building angeldev7/bat against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeldev7%2Fbat" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angeldev7/bat on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/angeldev7/bat [INFO] finished tweaking git repo https://github.com/angeldev7/bat [INFO] tweaked toml for git repo https://github.com/angeldev7/bat written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/angeldev7/bat 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded git2 v0.7.5 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded escargot v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded libgit2-sys v0.7.10 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded onig v4.2.0 [INFO] [stderr] Downloaded wild v2.0.1 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded content_inspector v0.2.3 [INFO] [stderr] Downloaded onig_sys v69.0.0 [INFO] [stderr] Downloaded plist v0.3.0 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded ansi_colours v1.0.1 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded predicates-tree v1.0.0 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded walkdir v2.2.5 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded treeline v0.1.0 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded xml-rs v0.7.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded serde_derive v1.0.79 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded yaml-rust v0.4.2 [INFO] [stderr] Downloaded console v0.6.2 [INFO] [stderr] Downloaded syn v0.15.9 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded directories v1.0.2 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded libz-sys v1.0.23 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded serde v1.0.79 [INFO] [stderr] Downloaded predicates v1.0.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.20 [INFO] [stderr] Downloaded url v1.7.1 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded lock_api v0.1.4 [INFO] [stderr] Downloaded clicolors-control v0.2.0 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded lazycell v1.2.0 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded predicates-core v1.0.0 [INFO] [stderr] Downloaded shell-words v0.1.0 [INFO] [stderr] Downloaded miniz-sys v0.1.10 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] [stderr] Downloaded assert_cmd v0.10.1 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded syntect v3.0.1 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded vcpkg v0.2.6 [INFO] [stderr] Downloaded flate2 v1.0.3 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded same-file v1.0.3 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded matches v0.1.8 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded safemem v0.3.0 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5f6fa4ec89931819090b040df35129397e147548df1d2ed47e954e22710020d [INFO] running `Command { std: "docker" "start" "-a" "b5f6fa4ec89931819090b040df35129397e147548df1d2ed47e954e22710020d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5f6fa4ec89931819090b040df35129397e147548df1d2ed47e954e22710020d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f6fa4ec89931819090b040df35129397e147548df1d2ed47e954e22710020d", kill_on_drop: false }` [INFO] [stdout] b5f6fa4ec89931819090b040df35129397e147548df1d2ed47e954e22710020d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0dbdc9393854c021ca3b04ae81aba19a91ae5db5a6e49d92c6acd85eeb2899a [INFO] running `Command { std: "docker" "start" "-a" "b0dbdc9393854c021ca3b04ae81aba19a91ae5db5a6e49d92c6acd85eeb2899a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling syn v0.15.9 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling libz-sys v1.0.23 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling onig_sys v69.0.0 [INFO] [stderr] Compiling libgit2-sys v0.7.10 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling onig v4.2.0 [INFO] [stderr] Compiling flate2 v1.0.3 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling content_inspector v0.2.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling wild v2.0.1 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling bat v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling syntect v3.0.1 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 45 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 87 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / error_chain! { [INFO] [stdout] 60 | | foreign_links { [INFO] [stdout] 61 | | Clap(::clap::Error); [INFO] [stdout] 62 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | writer: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | writer: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | writer: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | writer: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle(&mut self) -> Result<&mut Write> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle(&mut self) -> Result<&mut dyn Write> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn print_header(&mut self, handle: &mut Write, file: InputFile) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | fn print_footer(&mut self, handle: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn print_footer(&mut self, handle: &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | fn print_header(&mut self, _handle: &mut Write, _file: InputFile) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn print_header(&mut self, _handle: &mut dyn Write, _file: InputFile) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | fn print_footer(&mut self, _handle: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn print_footer(&mut self, _handle: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | fn print_horizontal_line(&mut self, handle: &mut Write, grid_char: char) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | fn print_horizontal_line(&mut self, handle: &mut dyn Write, grid_char: char) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | fn print_header(&mut self, handle: &mut Write, file: InputFile) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:239:45 [INFO] [stdout] | [INFO] [stdout] 239 | fn print_footer(&mut self, handle: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn print_footer(&mut self, handle: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/printer.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | ... text.trim_right_matches(|c| c == '\r' || c == '\n'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 339 | text.trim_end_matches(|c| c == '\r' || c == '\n'), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / error_chain! { [INFO] [stdout] 60 | | foreign_links { [INFO] [stdout] 61 | | Clap(::clap::Error); [INFO] [stdout] 62 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let mut ansi_iterator = AnsiCodeIterator::new(region); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "b0dbdc9393854c021ca3b04ae81aba19a91ae5db5a6e49d92c6acd85eeb2899a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0dbdc9393854c021ca3b04ae81aba19a91ae5db5a6e49d92c6acd85eeb2899a", kill_on_drop: false }` [INFO] [stdout] b0dbdc9393854c021ca3b04ae81aba19a91ae5db5a6e49d92c6acd85eeb2899a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8e108d59fcf8743993b1a32c1c1afe284d68cea47fd1fb5077443ab6c8f67ee [INFO] running `Command { std: "docker" "start" "-a" "a8e108d59fcf8743993b1a32c1c1afe284d68cea47fd1fb5077443ab6c8f67ee", kill_on_drop: false }` [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 45 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 87 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / error_chain! { [INFO] [stdout] 60 | | foreign_links { [INFO] [stdout] 61 | | Clap(::clap::Error); [INFO] [stdout] 62 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | writer: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | writer: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | writer: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | writer: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle(&mut self) -> Result<&mut Write> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle(&mut self) -> Result<&mut dyn Write> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn print_header(&mut self, handle: &mut Write, file: InputFile) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | fn print_footer(&mut self, handle: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn print_footer(&mut self, handle: &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | fn print_header(&mut self, _handle: &mut Write, _file: InputFile) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn print_header(&mut self, _handle: &mut dyn Write, _file: InputFile) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | fn print_footer(&mut self, _handle: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn print_footer(&mut self, _handle: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | fn print_horizontal_line(&mut self, handle: &mut Write, grid_char: char) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | fn print_horizontal_line(&mut self, handle: &mut dyn Write, grid_char: char) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | fn print_header(&mut self, handle: &mut Write, file: InputFile) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:239:45 [INFO] [stdout] | [INFO] [stdout] 239 | fn print_footer(&mut self, handle: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn print_footer(&mut self, handle: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/printer.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | ... text.trim_right_matches(|c| c == '\r' || c == '\n'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 339 | text.trim_end_matches(|c| c == '\r' || c == '\n'), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / error_chain! { [INFO] [stdout] 60 | | foreign_links { [INFO] [stdout] 61 | | Clap(::clap::Error); [INFO] [stdout] 62 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let mut ansi_iterator = AnsiCodeIterator::new(region); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling predicates v1.0.0 [INFO] [stderr] Compiling assert_cmd v0.10.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling bat v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 45 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 87 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / error_chain! { [INFO] [stdout] 60 | | foreign_links { [INFO] [stdout] 61 | | Clap(::clap::Error); [INFO] [stdout] 62 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | writer: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | writer: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | writer: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | writer: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle(&mut self) -> Result<&mut Write> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle(&mut self) -> Result<&mut dyn Write> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn print_header(&mut self, handle: &mut Write, file: InputFile) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | fn print_footer(&mut self, handle: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn print_footer(&mut self, handle: &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | fn print_header(&mut self, _handle: &mut Write, _file: InputFile) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn print_header(&mut self, _handle: &mut dyn Write, _file: InputFile) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | fn print_footer(&mut self, _handle: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn print_footer(&mut self, _handle: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | fn print_horizontal_line(&mut self, handle: &mut Write, grid_char: char) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | fn print_horizontal_line(&mut self, handle: &mut dyn Write, grid_char: char) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | fn print_header(&mut self, handle: &mut Write, file: InputFile) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:239:45 [INFO] [stdout] | [INFO] [stdout] 239 | fn print_footer(&mut self, handle: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn print_footer(&mut self, handle: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | handle: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | handle: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/printer.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | ... text.trim_right_matches(|c| c == '\r' || c == '\n'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 339 | text.trim_end_matches(|c| c == '\r' || c == '\n'), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / error_chain! { [INFO] [stdout] 60 | | foreign_links { [INFO] [stdout] 61 | | Clap(::clap::Error); [INFO] [stdout] 62 | | Io(::std::io::Error); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let mut ansi_iterator = AnsiCodeIterator::new(region); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.38s [INFO] running `Command { std: "docker" "inspect" "a8e108d59fcf8743993b1a32c1c1afe284d68cea47fd1fb5077443ab6c8f67ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e108d59fcf8743993b1a32c1c1afe284d68cea47fd1fb5077443ab6c8f67ee", kill_on_drop: false }` [INFO] [stdout] a8e108d59fcf8743993b1a32c1c1afe284d68cea47fd1fb5077443ab6c8f67ee