[INFO] crate cargo-count 0.2.4 is already in cache [INFO] checking cargo-count-0.2.4 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate cargo-count 0.2.4 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cargo-count 0.2.4 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cargo-count 0.2.4 [INFO] finished tweaking crates.io crate cargo-count 0.2.4 [INFO] tweaked toml for crates.io crate cargo-count 0.2.4 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 52120af8b83d4c9a8881818547657004bafc53a6bf4ba32c7d8b3c4a058d0900 [INFO] running `"docker" "start" "-a" "52120af8b83d4c9a8881818547657004bafc53a6bf4ba32c7d8b3c4a058d0900"` [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking unicode-segmentation v0.1.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking tabwriter v0.1.25 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking gitignore v1.0.6 [INFO] [stderr] Checking clap v2.11.3 [INFO] [stderr] Checking cargo-count v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/macros.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / macro_rules! werr( [INFO] [stderr] 18 | | ($($arg:tt)*) => ({ [INFO] [stderr] 19 | | use std::io::{Write, stderr}; [INFO] [stderr] 20 | | write!(&mut stderr(), $($arg)*).ok(); [INFO] [stderr] 21 | | }) [INFO] [stderr] 22 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/macros.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / macro_rules! debug { [INFO] [stderr] 62 | | ($fmt:expr) => (); [INFO] [stderr] 63 | | ($fmt:expr, $($arg:tt)*) => (); [INFO] [stderr] 64 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/config.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / arg_enum! { [INFO] [stderr] 11 | | #[derive(Debug)] [INFO] [stderr] 12 | | pub enum Utf8Rule { [INFO] [stderr] 13 | | Ignore, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/macros.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / macro_rules! werr( [INFO] [stderr] 18 | | ($($arg:tt)*) => ({ [INFO] [stderr] 19 | | use std::io::{Write, stderr}; [INFO] [stderr] 20 | | write!(&mut stderr(), $($arg)*).ok(); [INFO] [stderr] 21 | | }) [INFO] [stderr] 22 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/macros.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / macro_rules! debug { [INFO] [stderr] 62 | | ($fmt:expr) => (); [INFO] [stderr] 63 | | ($fmt:expr, $($arg:tt)*) => (); [INFO] [stderr] 64 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/config.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / arg_enum! { [INFO] [stderr] 11 | | #[derive(Debug)] [INFO] [stderr] 12 | | pub enum Utf8Rule { [INFO] [stderr] 13 | | Ignore, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | cli_try!(counts.count()); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:286:5 [INFO] [stderr] | [INFO] [stderr] 286 | cli_try!(counts.write_results()); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | cli_try!(counts.count()); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:286:5 [INFO] [stderr] | [INFO] [stderr] 286 | cli_try!(counts.write_results()); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:55:34 [INFO] [stderr] | [INFO] [stderr] 55 | ret.push(cli_try!(env::current_dir()).join(p)); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:61:26 [INFO] [stderr] | [INFO] [stderr] 61 | ret.push(cli_try!(env::current_dir()).join(".git")); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 65 | vec![cli_try!(env::current_dir()).join(".git")] [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:77:22 [INFO] [stderr] | [INFO] [stderr] 77 | vec![cli_try!(env::current_dir())] [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | let mut file_ref = cli_try!(File::open(&file)); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:55:34 [INFO] [stderr] | [INFO] [stderr] 55 | ret.push(cli_try!(env::current_dir()).join(p)); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:126:25 [INFO] [stderr] | [INFO] [stderr] 126 | cli_try!(file_ref.read_to_end(&mut vec_buf)); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:61:26 [INFO] [stderr] | [INFO] [stderr] 61 | ret.push(cli_try!(env::current_dir()).join(".git")); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 65 | vec![cli_try!(env::current_dir()).join(".git")] [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:130:25 [INFO] [stderr] | [INFO] [stderr] 130 | cli_try!(file_ref.read_to_string(&mut buffer)); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:77:22 [INFO] [stderr] | [INFO] [stderr] 77 | vec![cli_try!(env::current_dir())] [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | / cli_try!(write!(w, [INFO] [stderr] 273 | | "\tLanguage\tFiles\tLines\tBlanks\tComments\tCode{}\n", [INFO] [stderr] 274 | | if self.cfg.usafe { "\tUnsafe (%)" } else { "" })); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | / cli_try!(write!(w, [INFO] [stderr] 276 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stderr] 277 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | / cli_try!(write!(w, [INFO] [stderr] 286 | | "\t{}\t{}\t{}\t{}\t{}\t{}\t{}\n", [INFO] [stderr] 287 | | count.lang.name(), [INFO] [stderr] 288 | | count.total_files(), [INFO] [stderr] ... | [INFO] [stderr] 296 | | format!("{} ({:.2}%)", count.usafe(), usafe_per) [INFO] [stderr] 297 | | })); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:299:17 [INFO] [stderr] | [INFO] [stderr] 299 | cli_try!(write!(w, "\t{}\n", count)); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:302:9 [INFO] [stderr] | [INFO] [stderr] 302 | / cli_try!(write!(w, [INFO] [stderr] 303 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stderr] 304 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:305:9 [INFO] [stderr] | [INFO] [stderr] 305 | / cli_try!(write!(w, [INFO] [stderr] 306 | | "{}\t\t{}\t{}\t{}\t{}\t{}{}\n", [INFO] [stderr] 307 | | "Totals:", [INFO] [stderr] 308 | | fmt::format_number(self.tot as u64, self.cfg.thousands), [INFO] [stderr] ... | [INFO] [stderr] 318 | | "".to_owned() [INFO] [stderr] 319 | | })); [INFO] [stderr] | |____________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | cli_try!(w.flush()); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:44:58 [INFO] [stderr] | [INFO] [stderr] 44 | write!(f, "{} {}", Format::Error("error:"), self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | let mut file_ref = cli_try!(File::open(&file)); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:126:25 [INFO] [stderr] | [INFO] [stderr] 126 | cli_try!(file_ref.read_to_end(&mut vec_buf)); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:130:25 [INFO] [stderr] | [INFO] [stderr] 130 | cli_try!(file_ref.read_to_string(&mut buffer)); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | / cli_try!(write!(w, [INFO] [stderr] 273 | | "\tLanguage\tFiles\tLines\tBlanks\tComments\tCode{}\n", [INFO] [stderr] 274 | | if self.cfg.usafe { "\tUnsafe (%)" } else { "" })); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | / cli_try!(write!(w, [INFO] [stderr] 276 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stderr] 277 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | / cli_try!(write!(w, [INFO] [stderr] 286 | | "\t{}\t{}\t{}\t{}\t{}\t{}\t{}\n", [INFO] [stderr] 287 | | count.lang.name(), [INFO] [stderr] 288 | | count.total_files(), [INFO] [stderr] ... | [INFO] [stderr] 296 | | format!("{} ({:.2}%)", count.usafe(), usafe_per) [INFO] [stderr] 297 | | })); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:299:17 [INFO] [stderr] | [INFO] [stderr] 299 | cli_try!(write!(w, "\t{}\n", count)); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:302:9 [INFO] [stderr] | [INFO] [stderr] 302 | / cli_try!(write!(w, [INFO] [stderr] 303 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stderr] 304 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:305:9 [INFO] [stderr] | [INFO] [stderr] 305 | / cli_try!(write!(w, [INFO] [stderr] 306 | | "{}\t\t{}\t{}\t{}\t{}\t{}{}\n", [INFO] [stderr] 307 | | "Totals:", [INFO] [stderr] 308 | | fmt::format_number(self.tot as u64, self.cfg.thousands), [INFO] [stderr] ... | [INFO] [stderr] 318 | | "".to_owned() [INFO] [stderr] 319 | | })); [INFO] [stderr] | |____________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/count/counts.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | cli_try!(w.flush()); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:44:58 [INFO] [stderr] | [INFO] [stderr] 44 | write!(f, "{} {}", Format::Error("error:"), self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `"docker" "inspect" "52120af8b83d4c9a8881818547657004bafc53a6bf4ba32c7d8b3c4a058d0900"` [INFO] running `"docker" "rm" "-f" "52120af8b83d4c9a8881818547657004bafc53a6bf4ba32c7d8b3c4a058d0900"` [INFO] [stdout] 52120af8b83d4c9a8881818547657004bafc53a6bf4ba32c7d8b3c4a058d0900