[INFO] cloning repository https://github.com/kbknapp/cargo-count [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kbknapp/cargo-count" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbknapp%2Fcargo-count", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbknapp%2Fcargo-count'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eebe6f8772af5ca1add8a770fd1ac8bb4a4edec5 [INFO] testing kbknapp/cargo-count against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbknapp%2Fcargo-count" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kbknapp/cargo-count on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kbknapp/cargo-count [INFO] finished tweaking git repo https://github.com/kbknapp/cargo-count [INFO] tweaked toml for git repo https://github.com/kbknapp/cargo-count written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/kbknapp/cargo-count already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.3.5 [INFO] [stderr] Downloaded gitignore v1.0.4 [INFO] [stderr] Downloaded tabwriter v0.1.25 [INFO] [stderr] Downloaded clap v2.11.2 [INFO] [stderr] Downloaded regex v0.1.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 531a24d708bedafb3201856645f9c971436374bc03991eff42c74dfda2d04896 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "531a24d708bedafb3201856645f9c971436374bc03991eff42c74dfda2d04896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531a24d708bedafb3201856645f9c971436374bc03991eff42c74dfda2d04896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531a24d708bedafb3201856645f9c971436374bc03991eff42c74dfda2d04896", kill_on_drop: false }` [INFO] [stdout] 531a24d708bedafb3201856645f9c971436374bc03991eff42c74dfda2d04896 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f730817a47fa527322bea6780670345d3a72ea650b318ff4e25ca513b6e7cce8 [INFO] running `Command { std: "docker" "start" "-a" "f730817a47fa527322bea6780670345d3a72ea650b318ff4e25ca513b6e7cce8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.15 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.3.5 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling strsim v0.5.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling gitignore v1.0.4 [INFO] [stderr] Compiling tabwriter v0.1.25 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling term_size v0.2.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling clap v2.11.2 [INFO] [stderr] Compiling aho-corasick v0.5.2 [INFO] [stderr] Compiling thread_local v0.2.6 [INFO] [stderr] Compiling regex v0.1.75 [INFO] [stderr] Compiling cargo-count v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `werr` [INFO] [stdout] --> src/macros.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! werr( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `debug` [INFO] [stdout] --> src/macros.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | macro_rules! debug { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / arg_enum! { [INFO] [stdout] 11 | | #[derive(Debug)] [INFO] [stdout] 12 | | pub enum Utf8Rule { [INFO] [stdout] 13 | | Ignore, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `arg_enum` (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/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&Error> { [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] 58 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 58 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | ret.push(cli_try!(env::current_dir()).join(p)); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | ret.push(cli_try!(env::current_dir()).join(".git")); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | vec![cli_try!(env::current_dir()).join(".git")] [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | vec![cli_try!(env::current_dir())] [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let mut file_ref = cli_try!(File::open(&file)); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | cli_try!(file_ref.read_to_end(&mut vec_buf)); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | cli_try!(file_ref.read_to_string(&mut buffer)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / cli_try!(write!(w, [INFO] [stdout] 273 | | "\tLanguage\tFiles\tLines\tBlanks\tComments\tCode{}\n", [INFO] [stdout] 274 | | if self.cfg.usafe { "\tUnsafe (%)" } else { "" })); [INFO] [stdout] | |__________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / cli_try!(write!(w, [INFO] [stdout] 276 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stdout] 277 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stdout] | |__________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | / cli_try!(write!(w, [INFO] [stdout] 286 | | "\t{}\t{}\t{}\t{}\t{}\t{}\t{}\n", [INFO] [stdout] 287 | | count.lang.name(), [INFO] [stdout] 288 | | count.total_files(), [INFO] [stdout] ... | [INFO] [stdout] 296 | | format!("{} ({:.2}%)", count.usafe(), usafe_per) [INFO] [stdout] 297 | | })); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | cli_try!(write!(w, "\t{}\n", count)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | / cli_try!(write!(w, [INFO] [stdout] 303 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stdout] 304 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stdout] | |__________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / cli_try!(write!(w, [INFO] [stdout] 306 | | "{}\t\t{}\t{}\t{}\t{}\t{}{}\n", [INFO] [stdout] 307 | | "Totals:", [INFO] [stdout] 308 | | fmt::format_number(self.tot as u64, self.cfg.thousands), [INFO] [stdout] ... | [INFO] [stdout] 318 | | "".to_owned() [INFO] [stdout] 319 | | })); [INFO] [stdout] | |___________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | cli_try!(w.flush()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/error.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | write!(f, "{} {}", Format::Error("error:"), self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | cli_try!(counts.count()); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | cli_try!(counts.write_results()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.78s [INFO] running `Command { std: "docker" "inspect" "f730817a47fa527322bea6780670345d3a72ea650b318ff4e25ca513b6e7cce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f730817a47fa527322bea6780670345d3a72ea650b318ff4e25ca513b6e7cce8", kill_on_drop: false }` [INFO] [stdout] f730817a47fa527322bea6780670345d3a72ea650b318ff4e25ca513b6e7cce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7ef339a0f9274405b69af82b40036e331b85d29f20960de48875545920cfefea [INFO] running `Command { std: "docker" "start" "-a" "7ef339a0f9274405b69af82b40036e331b85d29f20960de48875545920cfefea", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-count v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `werr` [INFO] [stdout] --> src/macros.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! werr( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `debug` [INFO] [stdout] --> src/macros.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | macro_rules! debug { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / arg_enum! { [INFO] [stdout] 11 | | #[derive(Debug)] [INFO] [stdout] 12 | | pub enum Utf8Rule { [INFO] [stdout] 13 | | Ignore, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `arg_enum` (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/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&Error> { [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] 58 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 58 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | ret.push(cli_try!(env::current_dir()).join(p)); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | ret.push(cli_try!(env::current_dir()).join(".git")); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | vec![cli_try!(env::current_dir()).join(".git")] [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | vec![cli_try!(env::current_dir())] [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let mut file_ref = cli_try!(File::open(&file)); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | cli_try!(file_ref.read_to_end(&mut vec_buf)); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | cli_try!(file_ref.read_to_string(&mut buffer)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / cli_try!(write!(w, [INFO] [stdout] 273 | | "\tLanguage\tFiles\tLines\tBlanks\tComments\tCode{}\n", [INFO] [stdout] 274 | | if self.cfg.usafe { "\tUnsafe (%)" } else { "" })); [INFO] [stdout] | |__________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / cli_try!(write!(w, [INFO] [stdout] 276 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stdout] 277 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stdout] | |__________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | / cli_try!(write!(w, [INFO] [stdout] 286 | | "\t{}\t{}\t{}\t{}\t{}\t{}\t{}\n", [INFO] [stdout] 287 | | count.lang.name(), [INFO] [stdout] 288 | | count.total_files(), [INFO] [stdout] ... | [INFO] [stdout] 296 | | format!("{} ({:.2}%)", count.usafe(), usafe_per) [INFO] [stdout] 297 | | })); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | cli_try!(write!(w, "\t{}\n", count)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | / cli_try!(write!(w, [INFO] [stdout] 303 | | "\t--------\t-----\t-----\t------\t--------\t----{}\n", [INFO] [stdout] 304 | | if self.cfg.usafe { "\t----------" } else { "" })); [INFO] [stdout] | |__________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / cli_try!(write!(w, [INFO] [stdout] 306 | | "{}\t\t{}\t{}\t{}\t{}\t{}{}\n", [INFO] [stdout] 307 | | "Totals:", [INFO] [stdout] 308 | | fmt::format_number(self.tot as u64, self.cfg.thousands), [INFO] [stdout] ... | [INFO] [stdout] 318 | | "".to_owned() [INFO] [stdout] 319 | | })); [INFO] [stdout] | |___________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/count/counts.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | cli_try!(w.flush()); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/error.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | write!(f, "{} {}", Format::Error("error:"), self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | cli_try!(counts.count()); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/macros.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => return Err(CliError::Generic(e.description().to_owned())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | cli_try!(counts.write_results()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "7ef339a0f9274405b69af82b40036e331b85d29f20960de48875545920cfefea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef339a0f9274405b69af82b40036e331b85d29f20960de48875545920cfefea", kill_on_drop: false }` [INFO] [stdout] 7ef339a0f9274405b69af82b40036e331b85d29f20960de48875545920cfefea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b6a4f06c988590065f41ba2fe3ee63664f38c897573ac8103a4eb2d4f05512a [INFO] running `Command { std: "docker" "start" "-a" "9b6a4f06c988590065f41ba2fe3ee63664f38c897573ac8103a4eb2d4f05512a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused macro definition: `werr` [INFO] [stderr] --> src/macros.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | macro_rules! werr( [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `debug` [INFO] [stderr] --> src/macros.rs:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | macro_rules! debug { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `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 the macro `arg_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 58 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] [INFO] [stderr] --> src/macros.rs:6:54 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `cli_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cargo-count` (bin "cargo-count" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_count-6244b561360bafcd) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9b6a4f06c988590065f41ba2fe3ee63664f38c897573ac8103a4eb2d4f05512a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6a4f06c988590065f41ba2fe3ee63664f38c897573ac8103a4eb2d4f05512a", kill_on_drop: false }` [INFO] [stdout] 9b6a4f06c988590065f41ba2fe3ee63664f38c897573ac8103a4eb2d4f05512a