[INFO] fetching crate cargo-benchcmp 0.4.5... [INFO] checking cargo-benchcmp-0.4.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cargo-benchcmp 0.4.5 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate cargo-benchcmp 0.4.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-benchcmp 0.4.5 [INFO] tweaked toml for crates.io crate cargo-benchcmp 0.4.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-benchcmp 0.4.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-benchcmp 0.4.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e33b1e74087928752f4714ff5336a7c306fa0005cfd1ab95c483e2de74c9b356 [INFO] running `Command { std: "docker" "start" "-a" "e33b1e74087928752f4714ff5336a7c306fa0005cfd1ab95c483e2de74c9b356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e33b1e74087928752f4714ff5336a7c306fa0005cfd1ab95c483e2de74c9b356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33b1e74087928752f4714ff5336a7c306fa0005cfd1ab95c483e2de74c9b356", kill_on_drop: false }` [INFO] [stdout] e33b1e74087928752f4714ff5336a7c306fa0005cfd1ab95c483e2de74c9b356 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debcc3448e9d717bf740b0c70c06c66d9bfd81b7cfa57f3dce5f0b4d283a7787 [INFO] running `Command { std: "docker" "start" "-a" "debcc3448e9d717bf740b0c70c06c66d9bfd81b7cfa57f3dce5f0b4d283a7787", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking cargo-benchcmp v0.4.5 (/opt/rustwide/workdir) [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:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | 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:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | try!(output.print_tty(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | 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:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | 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:224:64 [INFO] [stdout] | [INFO] [stdout] 224 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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:225:64 [INFO] [stdout] | [INFO] [stdout] 225 | 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:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | 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:235:66 [INFO] [stdout] | [INFO] [stdout] 235 | 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:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | if let Ok(bench) = try!(result).parse() { [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] | ^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [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:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | 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:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | try!(output.print_tty(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | 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:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | 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:224:64 [INFO] [stdout] | [INFO] [stdout] 224 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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:225:64 [INFO] [stdout] | [INFO] [stdout] 225 | 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:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | 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:235:66 [INFO] [stdout] | [INFO] [stdout] 235 | 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:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | if let Ok(bench) = try!(result).parse() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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: 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: this usage of `assert!()` 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] = note: `#[warn(non_fmt_panics)]` on by default [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] ... [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 `assert!()` 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(), format!("expected no stdout, got {}", self.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 `assert!()` 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(), format!("expected no stderr, got {}", self.stderr)); [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] | ^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.38s [INFO] running `Command { std: "docker" "inspect" "debcc3448e9d717bf740b0c70c06c66d9bfd81b7cfa57f3dce5f0b4d283a7787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debcc3448e9d717bf740b0c70c06c66d9bfd81b7cfa57f3dce5f0b4d283a7787", kill_on_drop: false }` [INFO] [stdout] debcc3448e9d717bf740b0c70c06c66d9bfd81b7cfa57f3dce5f0b4d283a7787