[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] testing angeldev7/bat against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeldev7%2Fbat" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angeldev7/bat on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-17/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: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 440194bfd6b21aa725031b4d3396f5248e01dec1b0ce871a5c0cb6343339336f [INFO] running `Command { std: "docker" "start" "-a" "440194bfd6b21aa725031b4d3396f5248e01dec1b0ce871a5c0cb6343339336f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "440194bfd6b21aa725031b4d3396f5248e01dec1b0ce871a5c0cb6343339336f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440194bfd6b21aa725031b4d3396f5248e01dec1b0ce871a5c0cb6343339336f", kill_on_drop: false }` [INFO] [stdout] 440194bfd6b21aa725031b4d3396f5248e01dec1b0ce871a5c0cb6343339336f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb9667aeb164faf58e309dd58419f12a690a63fa5dd861ad3190b63e23778d4 [INFO] running `Command { std: "docker" "start" "-a" "6bb9667aeb164faf58e309dd58419f12a690a63fa5dd861ad3190b63e23778d4", 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 encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling wild v2.0.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [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-japanese v1.20141219.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 ansi_colours v1.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.9 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling content_inspector v0.2.3 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling flate2 v1.0.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [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 serde_json v1.0.32 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling onig v4.2.0 [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 associated function `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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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] 63 - writer: &mut Write, [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 Write, [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 Write> { [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 Write, file: InputFile) -> Result<()>; [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 Write) -> Result<()>; [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 Write, [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 Write, _file: InputFile) -> Result<()> { [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 Write) -> Result<()> { [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 Write, [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 Write, grid_char: char) -> Result<()> { [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 Write, file: InputFile) -> Result<()> { [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 Write) -> Result<()> { [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 Write, [INFO] [stdout] 250 + handle: &mut dyn Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (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: "cc" "-m64" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.bat.62173c4c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba.14zqdqkof67ffrpy.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ansi_colours-67274604b0094828/out" "-L" "/opt/rustwide/target/debug/build/libgit2-sys-0746b833c067cbfc/out/build" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/miniz-sys-8ea3de59a818be82/out" "-L" "/opt/rustwide/target/debug/build/onig_sys-44b6131309ac23a0/out" "-L" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libansi_colours-bfb63a138758cc28.rlib" "/opt/rustwide/target/debug/deps/libwild-8cc69c8d7f053f52.rlib" "/opt/rustwide/target/debug/deps/libsyntect-0f45dbf59ca7f3fc.rlib" "/opt/rustwide/target/debug/deps/libserde_json-c9a50b1da3df5906.rlib" "/opt/rustwide/target/debug/deps/libryu-c38caa1788232c92.rlib" "/opt/rustwide/target/debug/deps/libitoa-96ce37d5cfefc361.rlib" "/opt/rustwide/target/debug/deps/libfnv-8c5c165005b941da.rlib" "/opt/rustwide/target/debug/deps/libflate2-f5de33ef19caa4f4.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-5d03985a7018f541.rlib" "/opt/rustwide/target/debug/deps/libbincode-9185e493dd4fa69c.rlib" "/opt/rustwide/target/debug/deps/libplist-c04f6b62b147f674.rlib" "/opt/rustwide/target/debug/deps/libserde-ffe46f6f1b139a84.rlib" "/opt/rustwide/target/debug/deps/libxml-306bfdb9092c7cf8.rlib" "/opt/rustwide/target/debug/deps/libhumantime-2cbc458c2d53e329.rlib" "/opt/rustwide/target/debug/deps/libquick_error-63d061bf0c7acb92.rlib" "/opt/rustwide/target/debug/deps/libbase64-da07dba0b4e78c82.rlib" "/opt/rustwide/target/debug/deps/libsafemem-a6d25bcd900e5dba.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-a9ad5a938e4b83aa.rlib" "/opt/rustwide/target/debug/deps/liblazycell-0f82aa2c1e1187bc.rlib" "/opt/rustwide/target/debug/deps/libwalkdir-a85cd9e8aab5069b.rlib" "/opt/rustwide/target/debug/deps/libsame_file-1af525c087512b59.rlib" "/opt/rustwide/target/debug/deps/libonig-e6883a917749e586.rlib" "/opt/rustwide/target/debug/deps/libonig_sys-9569026d35e3fc43.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-46bcb91b9540a6f8.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-5dfbd93749ce7059.rlib" "/opt/rustwide/target/debug/deps/libshell_words-c975a33aac4253cb.rlib" "/opt/rustwide/target/debug/deps/libgit2-d5799897a779c1cc.rlib" "/opt/rustwide/target/debug/deps/liblog-3bd2340618659251.rlib" "/opt/rustwide/target/debug/deps/liblibgit2_sys-dc8790d20032ee45.rlib" "/opt/rustwide/target/debug/deps/liblibz_sys-baed954017f79072.rlib" "/opt/rustwide/target/debug/deps/liburl-976e135380a497c3.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-e0a7aba14d391b09.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-b28ad4304b839fee.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-1186c837a9f5b632.rlib" "/opt/rustwide/target/debug/deps/libmatches-4395ae20fe1f12ba.rlib" "/opt/rustwide/target/debug/deps/libencoding-fbe604e60003199e.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_tradchinese-8dcb34ed8ed76838.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_simpchinese-85e471f2c0eb0c18.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_japanese-e6927871f4271e27.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_korean-455ec1bcb0f4e90b.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_singlebyte-59406844627a9060.rlib" "/opt/rustwide/target/debug/deps/libdirectories-9f491465cc7a0d3d.rlib" "/opt/rustwide/target/debug/deps/libcontent_inspector-7dd5cc1a3a4a1e7e.rlib" "/opt/rustwide/target/debug/deps/libconsole-69d0191c56662d83.rlib" "/opt/rustwide/target/debug/deps/libregex-c6830516741383b9.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-733d8196dc58cfa4.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-4901350bb01421e7.rlib" "/opt/rustwide/target/debug/deps/libucd_util-409a4dac3dbdbcb9.rlib" "/opt/rustwide/target/debug/deps/libthread_local-26ab55ae74e06b24.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-f0e8936e7cee80f5.rlib" "/opt/rustwide/target/debug/deps/libmemchr-86ae71b8b25966aa.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-db579ca9806e905b.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-beed9a1758a4f578.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-3fa5cdf59b25afc1.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-734877dc8db81827.rlib" "/opt/rustwide/target/debug/deps/libunreachable-75903259687ac390.rlib" "/opt/rustwide/target/debug/deps/libvoid-7b6fd157ed8721ab.rlib" "/opt/rustwide/target/debug/deps/librand-934e7949b9e66968.rlib" "/opt/rustwide/target/debug/deps/librand_core-d1af084f27c556c7.rlib" "/opt/rustwide/target/debug/deps/librand_core-59265aa4cf82afb6.rlib" "/opt/rustwide/target/debug/deps/liblock_api-27fac26d71301e15.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-cda3dd274dbcb30e.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-eea17b0cf09b3ccf.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-d1d942d3990dad6b.rlib" "/opt/rustwide/target/debug/deps/libclicolors_control-a5fd382797e682dc.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libtermios-740a3ec2c5a7eb60.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-2b6cbc883b27448c.rlib" "/opt/rustwide/target/debug/deps/libclap-1bd12c8fbef7a2ec.rlib" "/opt/rustwide/target/debug/deps/libvec_map-11539489c7468588.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-cbd7f6da725108b6.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-1c5c393aa49a23dd.rlib" "/opt/rustwide/target/debug/deps/libterm_size-27da5bd545d5d81e.rlib" "/opt/rustwide/target/debug/deps/libstrsim-086f10016726ef86.rlib" "/opt/rustwide/target/debug/deps/libbitflags-257fd09b908c4179.rlib" "/opt/rustwide/target/debug/deps/libatty-374407ad6939721c.rlib" "/opt/rustwide/target/debug/deps/liblibc-c23787a595f08a63.rlib" "/opt/rustwide/target/debug/deps/libansi_term-76ca62e328105e50.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-dd05c0f2bd498ecf.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-443e20b28eeed844.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3e337470e099b116.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-10a87791239bd676.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-0e6cad6dd623d38e.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9d05dd05a4d51b33.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-a60ff138fe1adfad.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-0e9344458c09713e.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-939385b13e387309.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e3ce420901586b53.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-546bece8dd1bea42.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9b358af16d7d7aa1.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-554cd499fe1a3b52.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbad2f5de5fb5cb2.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8fec8a74c706e4b4.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-020914c5936c5f85.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4896c4057dc9553a.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1f103368fa522bc0.rlib" "-Wl,-Bdynamic" "-lz" "-lc" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bat-fb9807a969d1c5ba" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [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-9569026d35e3fc43.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-dc8790d20032ee45.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bat` due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bb9667aeb164faf58e309dd58419f12a690a63fa5dd861ad3190b63e23778d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb9667aeb164faf58e309dd58419f12a690a63fa5dd861ad3190b63e23778d4", kill_on_drop: false }` [INFO] [stdout] 6bb9667aeb164faf58e309dd58419f12a690a63fa5dd861ad3190b63e23778d4