[INFO] fetching crate cargo-benchcmp 0.4.3... [INFO] checking cargo-benchcmp-0.4.3 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate cargo-benchcmp 0.4.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cargo-benchcmp 0.4.3 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-benchcmp 0.4.3 [INFO] finished tweaking crates.io crate cargo-benchcmp 0.4.3 [INFO] tweaked toml for crates.io crate cargo-benchcmp 0.4.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate cargo-benchcmp 0.4.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d2f49c12cb765002202c6aece07f5145e9ada75b0f35854e6ad969ccdaed1a0 [INFO] running `Command { std: "docker" "start" "-a" "6d2f49c12cb765002202c6aece07f5145e9ada75b0f35854e6ad969ccdaed1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d2f49c12cb765002202c6aece07f5145e9ada75b0f35854e6ad969ccdaed1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d2f49c12cb765002202c6aece07f5145e9ada75b0f35854e6ad969ccdaed1a0", kill_on_drop: false }` [INFO] [stdout] 6d2f49c12cb765002202c6aece07f5145e9ada75b0f35854e6ad969ccdaed1a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cb3ecf8117f245d6cb49f31e8767d47e6e346a65a7b9c8abed47e5a76ac57cf [INFO] running `Command { std: "docker" "start" "-a" "4cb3ecf8117f245d6cb49f31e8767d47e6e346a65a7b9c8abed47e5a76ac57cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking cargo-benchcmp v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let benches = try!(self.parse_benchmarks()).paired(); [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:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | When::Never => try!(output.print(&mut io::stdout())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | let benches = try!(Args::parse_buffer(stdin_lock)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let b_old = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_old))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:220:64 [INFO] [stdout] | [INFO] [stdout] 220 | let b_old = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_old))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let b_new = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_new))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:221:64 [INFO] [stdout] | [INFO] [stdout] 221 | let b_new = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_new))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | let benches = try!(Args::parse_buffer(io::BufReader::new(try!(File::open(file))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:231:66 [INFO] [stdout] | [INFO] [stdout] 231 | let benches = try!(Args::parse_buffer(io::BufReader::new(try!(File::open(file))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | if let Ok(bench) = try!(result).parse() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/integration.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(status.success(), format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 108 | | "expected command to succeed, but it failed.\nexit code: {}\nstdout: {}\nstderr:{}\n", [INFO] [stdout] 109 | | status.code().unwrap(), [INFO] [stdout] 110 | | self.stdout, [INFO] [stdout] 111 | | self.stderr, [INFO] [stdout] 112 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 | assert!(status.success(), [INFO] [stdout] 108 | "expected command to succeed, but it failed.\nexit code: {}\nstdout: {}\nstderr:{}\n", [INFO] [stdout] 109 | status.code().unwrap(), [INFO] [stdout] 110 | self.stdout, [INFO] [stdout] 111 | self.stderr, [INFO] [stdout] 112 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/integration.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(self.stdout.is_empty(), format!("expected no stdout, got {}", self.stdout)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 118 | assert!(self.stdout.is_empty(), "expected no stdout, got {}", self.stdout); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/integration.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(self.stderr.is_empty(), format!("expected no stderr, got {}", self.stderr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 124 | assert!(self.stderr.is_empty(), "expected no stderr, got {}", self.stderr); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let benches = try!(self.parse_benchmarks()).paired(); [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:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | When::Never => try!(output.print(&mut io::stdout())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | let benches = try!(Args::parse_buffer(stdin_lock)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let b_old = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_old))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:220:64 [INFO] [stdout] | [INFO] [stdout] 220 | let b_old = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_old))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let b_new = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_new))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:221:64 [INFO] [stdout] | [INFO] [stdout] 221 | let b_new = try!(Args::parse_buffer(io::BufReader::new(try!(open_file(&self.arg_new))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | let benches = try!(Args::parse_buffer(io::BufReader::new(try!(File::open(file))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:231:66 [INFO] [stdout] | [INFO] [stdout] 231 | let benches = try!(Args::parse_buffer(io::BufReader::new(try!(File::open(file))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | if let Ok(bench) = try!(result).parse() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | Error::Regex(ref err) => err.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:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | Error::Io(ref err) => err.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:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | Error::OpenFile { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | Error::Regex(ref err) => err.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:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | Error::Io(ref err) => err.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:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | Error::OpenFile { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.13s [INFO] running `Command { std: "docker" "inspect" "4cb3ecf8117f245d6cb49f31e8767d47e6e346a65a7b9c8abed47e5a76ac57cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb3ecf8117f245d6cb49f31e8767d47e6e346a65a7b9c8abed47e5a76ac57cf", kill_on_drop: false }` [INFO] [stdout] 4cb3ecf8117f245d6cb49f31e8767d47e6e346a65a7b9c8abed47e5a76ac57cf