[INFO] fetching crate rustc-test 0.3.1... [INFO] checking rustc-test-0.3.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate rustc-test 0.3.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rustc-test 0.3.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1dfc52b849550999c1a0e966f3843e8011843905e33dee6bebc2d487a753fce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a1dfc52b849550999c1a0e966f3843e8011843905e33dee6bebc2d487a753fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1dfc52b849550999c1a0e966f3843e8011843905e33dee6bebc2d487a753fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1dfc52b849550999c1a0e966f3843e8011843905e33dee6bebc2d487a753fce", kill_on_drop: false }` [INFO] [stdout] a1dfc52b849550999c1a0e966f3843e8011843905e33dee6bebc2d487a753fce [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb43e94dad12451644d5e9b368aeb120b29bcafe1bf641cb5bac18c35d5e0742 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb43e94dad12451644d5e9b368aeb120b29bcafe1bf641cb5bac18c35d5e0742", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking time v0.1.44 [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] 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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut MetricMap) + Send` [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TDynBenchFn + 'static` [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] = 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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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:1128:39 [INFO] [stdout] | [INFO] [stdout] 1128 | mut testfn: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() + Send` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [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] = note: `#[deny(soft_unstable)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | DynTestFn(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut MetricMap) + Send` [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TDynBenchFn + 'static` [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] = 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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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:1128:39 [INFO] [stdout] | [INFO] [stdout] 1128 | mut testfn: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() + Send` [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:886:5 [INFO] [stdout] | [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] | |_____^ expected struct `Bencher`, found struct `test::Bencher` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Bencher` [INFO] [stdout] found mutable reference `&mut test::Bencher` [INFO] [stdout] = note: this error originates in an attribute macro (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] 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] 895 | | [INFO] [stdout] ... | [INFO] [stdout] 898 | | }) [INFO] [stdout] 899 | | } [INFO] [stdout] | |_____^ expected struct `Bencher`, found struct `test::Bencher` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Bencher` [INFO] [stdout] found mutable reference `&mut test::Bencher` [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 35 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cb43e94dad12451644d5e9b368aeb120b29bcafe1bf641cb5bac18c35d5e0742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb43e94dad12451644d5e9b368aeb120b29bcafe1bf641cb5bac18c35d5e0742", kill_on_drop: false }` [INFO] [stdout] cb43e94dad12451644d5e9b368aeb120b29bcafe1bf641cb5bac18c35d5e0742