[INFO] fetching crate condition_variable 0.1.5... [INFO] testing condition_variable-0.1.5 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate condition_variable 0.1.5 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate condition_variable 0.1.5 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 531fb3ec03788434a501e32e9b3361722793e66b3b2d970877270f63b4020bd0 [INFO] running `Command { std: "docker" "start" "-a" "531fb3ec03788434a501e32e9b3361722793e66b3b2d970877270f63b4020bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531fb3ec03788434a501e32e9b3361722793e66b3b2d970877270f63b4020bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531fb3ec03788434a501e32e9b3361722793e66b3b2d970877270f63b4020bd0", kill_on_drop: false }` [INFO] [stdout] 531fb3ec03788434a501e32e9b3361722793e66b3b2d970877270f63b4020bd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e9d6db54f3265365186b513d7496bf07d85d9ebb204336f60f8e225c937f24 [INFO] running `Command { std: "docker" "start" "-a" "71e9d6db54f3265365186b513d7496bf07d85d9ebb204336f60f8e225c937f24", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling 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 method `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 method `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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `condition_variable` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "71e9d6db54f3265365186b513d7496bf07d85d9ebb204336f60f8e225c937f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e9d6db54f3265365186b513d7496bf07d85d9ebb204336f60f8e225c937f24", kill_on_drop: false }` [INFO] [stdout] 71e9d6db54f3265365186b513d7496bf07d85d9ebb204336f60f8e225c937f24