[INFO] cloning repository https://github.com/FahrulSkats/bat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FahrulSkats/bat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFahrulSkats%2Fbat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFahrulSkats%2Fbat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd501edcbded4dc344e0a0478472b0a4819c2251
[INFO] building FahrulSkats/bat against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFahrulSkats%2Fbat" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/FahrulSkats/bat on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/FahrulSkats/bat
[INFO] finished tweaking git repo https://github.com/FahrulSkats/bat
[INFO] tweaked toml for git repo https://github.com/FahrulSkats/bat written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/FahrulSkats/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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winapi-util v0.1.1
[INFO] [stderr]   Downloaded yaml-rust v0.4.2
[INFO] [stderr]   Downloaded treeline v0.1.0
[INFO] [stderr]   Downloaded same-file v1.0.3
[INFO] [stderr]   Downloaded wild v2.0.1
[INFO] [stderr]   Downloaded clicolors-control v0.2.0
[INFO] [stderr]   Downloaded walkdir v2.2.5
[INFO] [stderr]   Downloaded predicates-core v1.0.0
[INFO] [stderr]   Downloaded rand_core v0.3.0
[INFO] [stderr]   Downloaded predicates v1.0.0
[INFO] [stderr]   Downloaded console v0.6.2
[INFO] [stderr]   Downloaded git2 v0.7.5
[INFO] [stderr]   Downloaded rand v0.5.5
[INFO] [stderr]   Downloaded regex-syntax v0.6.2
[INFO] [stderr]   Downloaded syn v0.15.9
[INFO] [stderr]   Downloaded syntect v3.0.1
[INFO] [stderr]   Downloaded rand v0.4.3
[INFO] [stderr]   Downloaded cc v1.0.25
[INFO] [stderr]   Downloaded log v0.4.5
[INFO] [stderr]   Downloaded lazycell v1.2.0
[INFO] [stderr]   Downloaded error-chain v0.12.0
[INFO] [stderr]   Downloaded onig v4.2.0
[INFO] [stderr]   Downloaded predicates-tree v1.0.0
[INFO] [stderr]   Downloaded lock_api v0.1.4
[INFO] [stderr]   Downloaded rand_core v0.2.2
[INFO] [stderr]   Downloaded termios v0.3.1
[INFO] [stderr]   Downloaded memchr v2.1.0
[INFO] [stderr]   Downloaded directories v1.0.2
[INFO] [stderr]   Downloaded bincode v1.0.1
[INFO] [stderr]   Downloaded shell-words v0.1.0
[INFO] [stderr]   Downloaded libz-sys v1.0.23
[INFO] [stderr]   Downloaded content_inspector v0.2.3
[INFO] [stderr]   Downloaded assert_cmd v0.10.1
[INFO] [stderr]   Downloaded onig_sys v69.0.0
[INFO] [stderr]   Downloaded ansi_colours v1.0.1
[INFO] [stderr]   Downloaded flate2 v1.0.3
[INFO] [stderr]   Downloaded plist v0.3.0
[INFO] [stderr]   Downloaded serde_json v1.0.32
[INFO] [stderr]   Downloaded regex v1.0.5
[INFO] [stderr]   Downloaded libgit2-sys v0.7.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 980f85f983e06c08ed4baf868ab3c989e49c7ba9e6a1cabdf30bb1e63e55f5dc
[INFO] running `Command { std: "docker" "start" "-a" "980f85f983e06c08ed4baf868ab3c989e49c7ba9e6a1cabdf30bb1e63e55f5dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "980f85f983e06c08ed4baf868ab3c989e49c7ba9e6a1cabdf30bb1e63e55f5dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "980f85f983e06c08ed4baf868ab3c989e49c7ba9e6a1cabdf30bb1e63e55f5dc", kill_on_drop: false }`
[INFO] [stdout] 980f85f983e06c08ed4baf868ab3c989e49c7ba9e6a1cabdf30bb1e63e55f5dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1dbd6ff582edb2c2486b03beee00c4aff9ff4b1340b471f93c51e11484c46d03
[INFO] running `Command { std: "docker" "start" "-a" "1dbd6ff582edb2c2486b03beee00c4aff9ff4b1340b471f93c51e11484c46d03", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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 void v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling byteorder v1.2.6
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.2
[INFO] [stderr]    Compiling smallvec v0.6.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.7
[INFO] [stderr]    Compiling safemem v0.3.0
[INFO] [stderr]    Compiling regex v1.0.5
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling term_size v0.3.1
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling plist v0.3.0
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling lock_api v0.1.4
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling same-file v1.0.3
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling aho-corasick v0.6.8
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling utf8-ranges v1.0.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.1
[INFO] [stderr]    Compiling walkdir v2.2.5
[INFO] [stderr]    Compiling clicolors-control v0.2.0
[INFO] [stderr]    Compiling termios v0.3.1
[INFO] [stderr]    Compiling log v0.4.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling yaml-rust v0.4.2
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling lazycell v1.2.0
[INFO] [stderr]    Compiling libz-sys v1.0.23
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling miniz-sys v0.1.10
[INFO] [stderr]    Compiling syn v0.15.9
[INFO] [stderr]    Compiling onig_sys v69.0.0
[INFO] [stderr]    Compiling libgit2-sys v0.7.10
[INFO] [stderr]    Compiling ansi_colours v1.0.1
[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 shell-words v0.1.0
[INFO] [stderr]    Compiling wild v2.0.1
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling error-chain v0.12.0
[INFO] [stderr]    Compiling url v1.7.1
[INFO] [stderr]    Compiling flate2 v1.0.3
[INFO] [stderr]    Compiling console v0.6.2
[INFO] [stderr]    Compiling serde_derive v1.0.79
[INFO] [stderr]    Compiling bat v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling onig v4.2.0
[INFO] [stderr]    Compiling bincode v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.32
[INFO] [stderr]    Compiling syntect v3.0.1
[INFO] [stderr]    Compiling git2 v0.7.5
[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] 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/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 250 |         handle: &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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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: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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |         handle: &mut dyn Write,
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl 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] 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] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustckLu24w/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libansi_colours-7b90e73b88774d42.rlib,libwild-e65efc6f1b4fcc3a.rlib,libsyntect-1eefe71ac055a82e.rlib,libserde_json-933e43ae731dde86.rlib,libryu-502f43d0972adab8.rlib,libitoa-24e6507aebce4121.rlib,libfnv-12606c81bfa8a024.rlib,libflate2-499f109b12152843.rlib,libminiz_sys-53d204aa2516c430.rlib,libbincode-6efbda2ff5dd99d8.rlib,libplist-0b7b0de3da853f99.rlib,libserde-9ba18476b087e1f3.rlib,libxml-18eb3d0b7c345bac.rlib,libhumantime-58d8ebd3a190130b.rlib,libquick_error-0dece4496d10ad24.rlib,libbase64-03a8e324363822fe.rlib,libsafemem-0a3a6c19eef52019.rlib,libbyteorder-1668d093c9592eb9.rlib,liblazycell-9fad556abfefc8c4.rlib,libwalkdir-9ccb2c592bb72e2f.rlib,libsame_file-268a35b5d0fd4d60.rlib,libonig-79e024f9ba780495.rlib,libonig_sys-2e08cbb440fc841b.rlib,libyaml_rust-203d54d322ea181f.rlib,liblinked_hash_map-a9147c101a2a95e6.rlib,libshell_words-e27c1fd1c9daad62.rlib,libgit2-2d9d617a3f34dd08.rlib,liblog-86fab28e5ace553f.rlib,liblibgit2_sys-661bc2a7ab41f80b.rlib,liblibz_sys-d5b828d9fac38e7b.rlib,liburl-5293fb095621d38d.rlib,libpercent_encoding-2853bb6f5ea162ad.rlib,libidna-6be37567b4c54358.rlib,libunicode_normalization-09d40a54dd741f2d.rlib,libunicode_bidi-908b1a6e40a8cf52.rlib,libmatches-ae807cfe442355e3.rlib,libencoding-12cd434b271d2a34.rlib,libencoding_index_tradchinese-103ea0db005794df.rlib,libencoding_index_simpchinese-0f28173b02550510.rlib,libencoding_index_japanese-e831acb7dcb52763.rlib,libencoding_index_korean-78858c5b57d45170.rlib,libencoding_index_singlebyte-91b4ce467b9b7660.rlib,libdirectories-cbef4d5da39bc35e.rlib,libcontent_inspector-ddeb23259f975678.rlib,libconsole-f7bdc6bfdb1b2118.rlib,libregex-2f01b5f784e5c339.rlib,libutf8_ranges-781cc6f0e470f3b5.rlib,libregex_syntax-071b324372a25ef4.rlib,libucd_util-366dde5c581c3eac.rlib,libthread_local-bc0147f7c44f43fc.rlib,libaho_corasick-81ad5cc4710377ac.rlib,libmemchr-df5446837b9f1a41.rlib,libcfg_if-723cf667534567da.rlib,libparking_lot-cb7794d949ad0652.rlib,libparking_lot_core-568176f337a78a9d.rlib,libsmallvec-80f3be0378c6b9bb.rlib,libunreachable-199f806585af5510.rlib,libvoid-9163cd71c286a90e.rlib,librand-04bbf4bd686fe522.rlib,librand_core-311e8e0cebf44686.rlib,librand_core-da632b3a10ba2194.rlib,liblock_api-267adc296ea8fc54.rlib,libowning_ref-e61043c26e9b4fa4.rlib,libstable_deref_trait-226dec03df659ba2.rlib,libscopeguard-ace9bd6bf0f8ab9a.rlib,libclicolors_control-c4579d5c29ee40cd.rlib,liblazy_static-d8dece1d67af894f.rlib,libtermios-62f54b47ef790eda.rlib,liblazy_static-3ef0720bfa72a567.rlib,libclap-4e7ea3280ad7c1aa.rlib,libvec_map-1380c2362ffb015e.rlib,libtextwrap-cada3e076d4aaf52.rlib,libunicode_width-36c4e561a62512c0.rlib,libterm_size-60462d9d6a380f5a.rlib,libstrsim-72496009c2ea080e.rlib,libbitflags-efecdafcadde6825.rlib,libatty-90350757f3f06290.rlib,liblibc-3a43623682a62fe4.rlib,libansi_term-dc29728339138c52.rlib,liberror_chain-10458cfba910570a.rlib}" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lz" "-lc" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ansi_colours-80df7e4f9d9a5ce9/out" "-L" "/opt/rustwide/target/debug/build/libgit2-sys-ec154ca9eeb8b309/out/build" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/miniz-sys-40fbb1296253cb09/out" "-L" "/opt/rustwide/target/debug/build/onig_sys-0b9e6375ac02612e/out" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bat-3695e2c939b159f2" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: regerror
[INFO] [stdout]           >>> defined at regposerr.c:88 (oniguruma/src/regposerr.c:88)
[INFO] [stdout]           >>>            regposerr.o:(regerror) in archive /opt/rustwide/target/debug/deps/libonig_sys-2e08cbb440fc841b.rlib
[INFO] [stdout]           >>> defined at regcomp.c:547 (libgit2/deps/regex/regcomp.c:547)
[INFO] [stdout]           >>>            regex.o:(.text.regerror+0x0) in archive /opt/rustwide/target/debug/deps/liblibgit2_sys-661bc2a7ab41f80b.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bat` (bin "bat") due to 1 previous error; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1dbd6ff582edb2c2486b03beee00c4aff9ff4b1340b471f93c51e11484c46d03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1dbd6ff582edb2c2486b03beee00c4aff9ff4b1340b471f93c51e11484c46d03", kill_on_drop: false }`
[INFO] [stdout] 1dbd6ff582edb2c2486b03beee00c4aff9ff4b1340b471f93c51e11484c46d03
