[INFO] cloning repository https://github.com/clog-tool/clog-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clog-tool/clog-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclog-tool%2Fclog-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclog-tool%2Fclog-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd3e45fdc8674e5f9a03a5136760dff0657817d6 [INFO] testing clog-tool/clog-cli against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclog-tool%2Fclog-cli" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/clog-tool/clog-cli on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/clog-tool/clog-cli [INFO] finished tweaking git repo https://github.com/clog-tool/clog-cli [INFO] tweaked toml for git repo https://github.com/clog-tool/clog-cli written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/clog-tool/clog-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-41/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-41/source/src/main.rs` was erroneously implicitly accepted for binary `clog`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.1.30 [INFO] [stderr] Downloaded rustc-serialize v0.3.22 [INFO] [stderr] Downloaded bitflags v0.8.0 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded clog v0.9.1 [INFO] [stderr] Downloaded clap v2.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 172ac2a3555fbe5f98545ba1ad83fb14a799d9448ee47802d3af5fccc3cc55ee [INFO] running `Command { std: "docker" "start" "-a" "172ac2a3555fbe5f98545ba1ad83fb14a799d9448ee47802d3af5fccc3cc55ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "172ac2a3555fbe5f98545ba1ad83fb14a799d9448ee47802d3af5fccc3cc55ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172ac2a3555fbe5f98545ba1ad83fb14a799d9448ee47802d3af5fccc3cc55ee", kill_on_drop: false }` [INFO] [stdout] 172ac2a3555fbe5f98545ba1ad83fb14a799d9448ee47802d3af5fccc3cc55ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac0ea994efaa70b54bb640e971d8d75e4e0794f544eb95b41264e4dbd4d4da2c [INFO] running `Command { std: "docker" "start" "-a" "ac0ea994efaa70b54bb640e971d8d75e4e0794f544eb95b41264e4dbd4d4da2c", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `clog`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling bitflags v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling clap v2.21.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling clog v0.9.1 [INFO] [stderr] Compiling clog-cli v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/main.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | /myproject/.git), you don't need to use both.\n\n\ [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | ** If using the --config to specify a clog configuration TOML file NOT in the current working \ [INFO] [stdout] | |_ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / macro_rules! werr( [INFO] [stdout] 10 | | ($($arg:tt)*) => ({ [INFO] [stdout] 11 | | use std::io::{Write, stderr}; [INFO] [stdout] 12 | | write!(&mut stderr(), $($arg)*).ok(); [INFO] [stdout] 13 | | }) [INFO] [stdout] 14 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / macro_rules! debug { [INFO] [stdout] 36 | | ($fmt:expr) => (); [INFO] [stdout] 37 | | ($fmt:expr, $($arg:tt)*) => (); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | Semver(Box, String), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(Clog::with_all(matches.value_of("git-dir").unwrap(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(Clog::with_dir_and_file(dir, cfg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(Clog::with_dir_and_file(dir, cfg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | try!(Clog::from_file(cfg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | try!(Clog::with_dirs(gdir, wdir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | try!(Clog::with_dir(dir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | try!(Clog::with_dir(dir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | try!(Clog::from_file(CLOG_CONFIG_FILE)) [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/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/error.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | CliError::Generic(ce.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | v_string.trim_left_matches(|c| c == 'v' || c == 'V') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "ac0ea994efaa70b54bb640e971d8d75e4e0794f544eb95b41264e4dbd4d4da2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0ea994efaa70b54bb640e971d8d75e4e0794f544eb95b41264e4dbd4d4da2c", kill_on_drop: false }` [INFO] [stdout] ac0ea994efaa70b54bb640e971d8d75e4e0794f544eb95b41264e4dbd4d4da2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f10dede1be233177f858154f0837aec4d8d11a7edde55b0e582758fb9b137cc [INFO] running `Command { std: "docker" "start" "-a" "9f10dede1be233177f858154f0837aec4d8d11a7edde55b0e582758fb9b137cc", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `clog`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling clog-cli v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/main.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | /myproject/.git), you don't need to use both.\n\n\ [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | ** If using the --config to specify a clog configuration TOML file NOT in the current working \ [INFO] [stdout] | |_ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / macro_rules! werr( [INFO] [stdout] 10 | | ($($arg:tt)*) => ({ [INFO] [stdout] 11 | | use std::io::{Write, stderr}; [INFO] [stdout] 12 | | write!(&mut stderr(), $($arg)*).ok(); [INFO] [stdout] 13 | | }) [INFO] [stdout] 14 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / macro_rules! debug { [INFO] [stdout] 36 | | ($fmt:expr) => (); [INFO] [stdout] 37 | | ($fmt:expr, $($arg:tt)*) => (); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | Semver(Box, String), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(Clog::with_all(matches.value_of("git-dir").unwrap(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(Clog::with_dir_and_file(dir, cfg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(Clog::with_dir_and_file(dir, cfg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | try!(Clog::from_file(cfg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | try!(Clog::with_dirs(gdir, wdir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | try!(Clog::with_dir(dir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | try!(Clog::with_dir(dir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | try!(Clog::from_file(CLOG_CONFIG_FILE)) [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/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/error.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | CliError::Generic(ce.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | v_string.trim_left_matches(|c| c == 'v' || c == 'V') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 54.43s [INFO] running `Command { std: "docker" "inspect" "9f10dede1be233177f858154f0837aec4d8d11a7edde55b0e582758fb9b137cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f10dede1be233177f858154f0837aec4d8d11a7edde55b0e582758fb9b137cc", kill_on_drop: false }` [INFO] [stdout] 9f10dede1be233177f858154f0837aec4d8d11a7edde55b0e582758fb9b137cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b32d7e8749e710fdba711c7e54d701c92f177650e80b976b5eb2b3d438fa803 [INFO] running `Command { std: "docker" "start" "-a" "6b32d7e8749e710fdba711c7e54d701c92f177650e80b976b5eb2b3d438fa803", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `clog`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: multiple lines skipped by escaped newline [INFO] [stderr] --> src/main.rs:72:50 [INFO] [stderr] | [INFO] [stderr] 72 | /myproject/.git), you don't need to use both.\n\n\ [INFO] [stderr] | __________________________________________________^ [INFO] [stderr] 73 | | [INFO] [stderr] 74 | | ** If using the --config to specify a clog configuration TOML file NOT in the current working \ [INFO] [stderr] | |_ skipping everything up to and including this point [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/macros.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / macro_rules! werr( [INFO] [stderr] 10 | | ($($arg:tt)*) => ({ [INFO] [stderr] 11 | | use std::io::{Write, stderr}; [INFO] [stderr] 12 | | write!(&mut stderr(), $($arg)*).ok(); [INFO] [stderr] 13 | | }) [INFO] [stderr] 14 | | ); [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:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / macro_rules! debug { [INFO] [stderr] 36 | | ($fmt:expr) => (); [INFO] [stderr] 37 | | ($fmt:expr, $($arg:tt)*) => (); [INFO] [stderr] 38 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | Semver(Box, String), [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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] = 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] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | try!(Clog::with_all(matches.value_of("git-dir").unwrap(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | try!(Clog::with_dir_and_file(dir, cfg)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | try!(Clog::with_dir_and_file(dir, cfg)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | try!(Clog::from_file(cfg)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:140:13 [INFO] [stderr] | [INFO] [stderr] 140 | try!(Clog::with_dirs(gdir, wdir)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | try!(Clog::with_dir(dir)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | try!(Clog::with_dir(dir)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | try!(Clog::from_file(CLOG_CONFIG_FILE)) [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/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/error.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | CliError::Generic(ce.description().to_owned()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/main.rs:167:26 [INFO] [stderr] | [INFO] [stderr] 167 | v_string.trim_left_matches(|c| c == 'v' || c == 'V') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: `clog-cli` (bin "clog" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/clog-798a1bbb55dbca28) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [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" "6b32d7e8749e710fdba711c7e54d701c92f177650e80b976b5eb2b3d438fa803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b32d7e8749e710fdba711c7e54d701c92f177650e80b976b5eb2b3d438fa803", kill_on_drop: false }` [INFO] [stdout] 6b32d7e8749e710fdba711c7e54d701c92f177650e80b976b5eb2b3d438fa803