[INFO] fetching crate condition_variable 0.1.5... [INFO] checking condition_variable-0.1.5 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate condition_variable 0.1.5 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate condition_variable 0.1.5 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0578fda83f9f6f75c9d5da20968f7f155dd5f6e4e09bfe28b06ef995272fe0c [INFO] running `Command { std: "docker" "start" "-a" "a0578fda83f9f6f75c9d5da20968f7f155dd5f6e4e09bfe28b06ef995272fe0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0578fda83f9f6f75c9d5da20968f7f155dd5f6e4e09bfe28b06ef995272fe0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0578fda83f9f6f75c9d5da20968f7f155dd5f6e4e09bfe28b06ef995272fe0c", kill_on_drop: false }` [INFO] [stdout] a0578fda83f9f6f75c9d5da20968f7f155dd5f6e4e09bfe28b06ef995272fe0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f77d8894321689f9f3aa442d8254f515212dfcc490aa8aac1b367d62154958b8 [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" "f77d8894321689f9f3aa442d8254f515212dfcc490aa8aac1b367d62154958b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking condition_variable v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let before_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let after_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [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 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] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `condition_variable` due to 3 previous errors; 7 warnings emitted [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let before_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let after_ms = time::precise_time_ns()/1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [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 `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 `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:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | cvar.wait_timeout_ms(guard, timeout_ms) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f77d8894321689f9f3aa442d8254f515212dfcc490aa8aac1b367d62154958b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77d8894321689f9f3aa442d8254f515212dfcc490aa8aac1b367d62154958b8", kill_on_drop: false }` [INFO] [stdout] f77d8894321689f9f3aa442d8254f515212dfcc490aa8aac1b367d62154958b8