[INFO] fetching crate rustc-test 0.3.1... [INFO] checking rustc-test-0.3.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate rustc-test 0.3.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rustc-test 0.3.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustc-test 0.3.1 [INFO] finished tweaking crates.io crate rustc-test 0.3.1 [INFO] tweaked toml for crates.io crate rustc-test 0.3.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding term v0.4.6 (latest: v0.7.0) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395709a80ac458bbc92278483b0b88531447acdc83d46b3bf13f0b2076fa2fd5 [INFO] running `Command { std: "docker" "start" "-a" "395709a80ac458bbc92278483b0b88531447acdc83d46b3bf13f0b2076fa2fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395709a80ac458bbc92278483b0b88531447acdc83d46b3bf13f0b2076fa2fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395709a80ac458bbc92278483b0b88531447acdc83d46b3bf13f0b2076fa2fd5", kill_on_drop: false }` [INFO] [stdout] 395709a80ac458bbc92278483b0b88531447acdc83d46b3bf13f0b2076fa2fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4aa795f3ee24206e5eeef5ca5ba40d61307ff26bb1b60f4cb5109b9eebfffc3 [INFO] running `Command { std: "docker" "start" "-a" "a4aa795f3ee24206e5eeef5ca5ba40d61307ff26bb1b60f4cb5109b9eebfffc3", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc-test v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:492:36 [INFO] [stdout] | [INFO] [stdout] 492 | Some(ref path) => Some(try!(File::create(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | try!(self.write_pretty(verbose, color)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 552 | try!(term.write_all(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | try!(term.fg(color)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | try!(term.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | try!(stdout.write_all(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:17 [INFO] [stdout] | [INFO] [stdout] 568 | try!(term.write_all(s.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | try!(stdout.write_all(s.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | try!(self.write_metric()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 607 | try!(self.write_bench()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | try!(self.write_plain("\nfailures:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | try!(self.write_plain("\nfailures:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | try!(self.write_plain("\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | try!(self.write_plain(&fail_out)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:652:13 [INFO] [stdout] | [INFO] [stdout] 652 | try!(self.write_plain(&format!(" {}\n", name))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 665 | try!(self.write_plain("\ntest result: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | try!(self.write_plain(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:662:13 [INFO] [stdout] | [INFO] [stdout] 662 | try!(self.write_failures()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:668:13 [INFO] [stdout] | [INFO] [stdout] 668 | try!(self.write_pretty("ok", term::color::GREEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:670:13 [INFO] [stdout] | [INFO] [stdout] 670 | try!(self.write_pretty("FAILED", term::color::RED)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:775:5 [INFO] [stdout] | [INFO] [stdout] 775 | try!(run_tests(opts, tests, |x| callback(&x, &mut st))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | try!(st.write_log(&test, &result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:732:17 [INFO] [stdout] | [INFO] [stdout] 732 | try!(st.write_result(&result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:761:18 [INFO] [stdout] | [INFO] [stdout] 761 | let mut st = try!(ConsoleTestState::new(opts, None::)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:895:5 [INFO] [stdout] | [INFO] [stdout] 895 | try!(callback(TeFiltered(filtered_descs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | try!(callback(TeResult(desc, result, stdout))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | try!(callback(TeWait(test.desc.clone(), test.testfn.padding()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:13 [INFO] [stdout] | [INFO] [stdout] 930 | try!(callback(TeWait(desc.clone(), PadNone))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | try!(callback(TeWait(b.desc.clone(), b.testfn.padding()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:943:13 [INFO] [stdout] | [INFO] [stdout] 943 | try!(callback(TeResult(test, result, stdout))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/stats.rs:885:7 [INFO] [stdout] | [INFO] [stdout] 885 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/stats.rs:891:7 [INFO] [stdout] | [INFO] [stdout] 891 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:492:36 [INFO] [stdout] | [INFO] [stdout] 492 | Some(ref path) => Some(try!(File::create(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | try!(self.write_pretty(verbose, color)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 552 | try!(term.write_all(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | try!(term.fg(color)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | try!(term.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | try!(stdout.write_all(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:17 [INFO] [stdout] | [INFO] [stdout] 568 | try!(term.write_all(s.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | try!(stdout.write_all(s.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | try!(self.write_metric()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 607 | try!(self.write_bench()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | try!(self.write_plain("\nfailures:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | try!(self.write_plain("\nfailures:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | try!(self.write_plain("\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | try!(self.write_plain(&fail_out)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:652:13 [INFO] [stdout] | [INFO] [stdout] 652 | try!(self.write_plain(&format!(" {}\n", name))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 665 | try!(self.write_plain("\ntest result: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | try!(self.write_plain(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:662:13 [INFO] [stdout] | [INFO] [stdout] 662 | try!(self.write_failures()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:668:13 [INFO] [stdout] | [INFO] [stdout] 668 | try!(self.write_pretty("ok", term::color::GREEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:670:13 [INFO] [stdout] | [INFO] [stdout] 670 | try!(self.write_pretty("FAILED", term::color::RED)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:775:5 [INFO] [stdout] | [INFO] [stdout] 775 | try!(run_tests(opts, tests, |x| callback(&x, &mut st))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | try!(st.write_log(&test, &result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:732:17 [INFO] [stdout] | [INFO] [stdout] 732 | try!(st.write_result(&result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:761:18 [INFO] [stdout] | [INFO] [stdout] 761 | let mut st = try!(ConsoleTestState::new(opts, None::)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:895:5 [INFO] [stdout] | [INFO] [stdout] 895 | try!(callback(TeFiltered(filtered_descs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | try!(callback(TeResult(desc, result, stdout))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | try!(callback(TeWait(test.desc.clone(), test.testfn.padding()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:13 [INFO] [stdout] | [INFO] [stdout] 930 | try!(callback(TeWait(desc.clone(), PadNone))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | try!(callback(TeWait(b.desc.clone(), b.testfn.padding()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:943:13 [INFO] [stdout] | [INFO] [stdout] 943 | try!(callback(TeResult(test, result, stdout))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | DynTestFn(Box), [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | DynTestFn(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | DynMetricFn(Box), [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | DynMetricFn(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | DynBenchFn(Box), [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | DynBenchFn(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | DynTestFn(Box), [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | DynTestFn(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | DynMetricFn(Box), [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | DynMetricFn(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | DynBenchFn(Box), [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | DynBenchFn(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1128:39 [INFO] [stdout] | [INFO] [stdout] 1128 | mut testfn: Box) { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1128 | mut testfn: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1185:61 [INFO] [stdout] | [INFO] [stdout] 1185 | fn calc_result(desc: &TestDesc, task_result: Result<(), Box>) -> TestResult { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1185 | fn calc_result(desc: &TestDesc, task_result: Result<(), Box>) -> TestResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1128:39 [INFO] [stdout] | [INFO] [stdout] 1128 | mut testfn: Box) { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1128 | mut testfn: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1185:61 [INFO] [stdout] | [INFO] [stdout] 1185 | fn calc_result(desc: &TestDesc, task_result: Result<(), Box>) -> TestResult { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1185 | fn calc_result(desc: &TestDesc, task_result: Result<(), Box>) -> TestResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 885 | #[bench] [INFO] [stdout] | -------- in this procedural macro expansion [INFO] [stdout] 886 | / pub fn sum_three_items(b: &mut Bencher) { [INFO] [stdout] 887 | | b.iter(|| { [INFO] [stdout] 888 | | [1e20f64, 1.5f64, -1e20f64].sum(); [INFO] [stdout] 889 | | }) [INFO] [stdout] 890 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `Bencher`, found `test::Bencher` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `test::Bencher` and `Bencher` have similar names, but are actually distinct types [INFO] [stdout] note: `test::Bencher` is defined in crate `test` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/test/src/bench.rs:32:1 [INFO] [stdout] note: `Bencher` is defined in the current crate [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Bencher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/stats.rs:886:12 [INFO] [stdout] | [INFO] [stdout] 886 | pub fn sum_three_items(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] = note: this error originates in the attribute macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:892:5 [INFO] [stdout] | [INFO] [stdout] 891 | #[bench] [INFO] [stdout] | -------- in this procedural macro expansion [INFO] [stdout] 892 | / pub fn sum_many_f64(b: &mut Bencher) { [INFO] [stdout] 893 | | let nums = [-1e30f64, 1e60, 1e30, 1.0, -1e60]; [INFO] [stdout] 894 | | let v = (0..500).map(|i| nums[i % 5]).collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 898 | | }) [INFO] [stdout] 899 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `Bencher`, found `test::Bencher` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `test::Bencher` and `Bencher` have similar names, but are actually distinct types [INFO] [stdout] note: `test::Bencher` is defined in crate `test` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/test/src/bench.rs:32:1 [INFO] [stdout] note: `Bencher` is defined in the current crate [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Bencher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/stats.rs:892:12 [INFO] [stdout] | [INFO] [stdout] 892 | pub fn sum_many_f64(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^ --------------- [INFO] [stdout] = note: this error originates in the attribute macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-test` (lib) due to 5 previous errors; 37 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-test` (lib test) due to 11 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4aa795f3ee24206e5eeef5ca5ba40d61307ff26bb1b60f4cb5109b9eebfffc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4aa795f3ee24206e5eeef5ca5ba40d61307ff26bb1b60f4cb5109b9eebfffc3", kill_on_drop: false }` [INFO] [stdout] a4aa795f3ee24206e5eeef5ca5ba40d61307ff26bb1b60f4cb5109b9eebfffc3