[INFO] fetching crate condition_variable 0.1.5... [INFO] checking condition_variable-0.1.5 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate condition_variable 0.1.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate condition_variable 0.1.5 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate condition_variable 0.1.5 [INFO] finished tweaking crates.io crate condition_variable 0.1.5 [INFO] tweaked toml for crates.io crate condition_variable 0.1.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7e32ab63227ca1342324f5be6f0b57ea026b27ab1001b5929437553bd44c72 [INFO] running `Command { std: "docker" "start" "-a" "0e7e32ab63227ca1342324f5be6f0b57ea026b27ab1001b5929437553bd44c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7e32ab63227ca1342324f5be6f0b57ea026b27ab1001b5929437553bd44c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7e32ab63227ca1342324f5be6f0b57ea026b27ab1001b5929437553bd44c72", kill_on_drop: false }` [INFO] [stdout] 0e7e32ab63227ca1342324f5be6f0b57ea026b27ab1001b5929437553bd44c72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4ae3f14730cb42f49507709603ddbd6a1fadfafae0475c9035870d34c11509e [INFO] running `Command { std: "docker" "start" "-a" "e4ae3f14730cb42f49507709603ddbd6a1fadfafae0475c9035870d34c11509e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking condition_variable v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let data = try!(lock.lock()); [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:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let old_value = try!(self.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let mut actual = try!(lock.lock()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | actual = try!(cvar.wait(actual)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let (new, _) = try!(cvar.wait_timeout_ms(actual, remaining_ms as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let data = try!(lock.lock()); [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:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let old_value = try!(self.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let mut actual = try!(lock.lock()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | actual = try!(cvar.wait(actual)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let (new, _) = try!(cvar.wait_timeout_ms(actual, remaining_ms as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let before_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let after_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let before_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | use std::thread::{sleep_ms, spawn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | sleep_ms(500); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let after_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | sleep_ms(500); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/lib.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let (new, _) = try!(cvar.wait_timeout_ms(actual, remaining_ms as u32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/lib.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let (new, _) = try!(cvar.wait_timeout_ms(actual, remaining_ms as u32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | cvar.wait_timeout_ms(guard, timeout_ms) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | cvar.wait_timeout_ms(guard, timeout_ms) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | / self.wait_for_condition(move |v| { [INFO] [stdout] 121 | | if !first { [INFO] [stdout] 122 | | tx.send((*v).clone()).unwrap(); [INFO] [stdout] 123 | | true [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | / self.wait_for_condition(move |v| { [INFO] [stdout] 121 | | if !first { [INFO] [stdout] 122 | | tx.send((*v).clone()).unwrap(); [INFO] [stdout] 123 | | true [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.21s [INFO] running `Command { std: "docker" "inspect" "e4ae3f14730cb42f49507709603ddbd6a1fadfafae0475c9035870d34c11509e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ae3f14730cb42f49507709603ddbd6a1fadfafae0475c9035870d34c11509e", kill_on_drop: false }` [INFO] [stdout] e4ae3f14730cb42f49507709603ddbd6a1fadfafae0475c9035870d34c11509e