[INFO] fetching crate rwlock2 0.2.5...
[INFO] testing rwlock2-0.2.5 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate rwlock2 0.2.5 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate rwlock2 0.2.5
[INFO] finished tweaking crates.io crate rwlock2 0.2.5
[INFO] tweaked toml for crates.io crate rwlock2 0.2.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rwlock2 0.2.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]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.9.2)
[INFO] [stderr]       Adding winapi v0.2.8 (available: v0.3.9)
[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] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7cb8216dd56d7375e2bdfb435f888a845538d8dcd25428deba4bc9fb818407d8
[INFO] running `Command { std: "docker" "start" "-a" "7cb8216dd56d7375e2bdfb435f888a845538d8dcd25428deba4bc9fb818407d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cb8216dd56d7375e2bdfb435f888a845538d8dcd25428deba4bc9fb818407d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cb8216dd56d7375e2bdfb435f888a845538d8dcd25428deba4bc9fb818407d8", kill_on_drop: false }`
[INFO] [stdout] 7cb8216dd56d7375e2bdfb435f888a845538d8dcd25428deba4bc9fb818407d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0480c3aa21efca8cf99fb82f8daa45febdca8b4b66d5111d02121c369ae4d192
[INFO] running `Command { std: "docker" "start" "-a" "0480c3aa21efca8cf99fb82f8daa45febdca8b4b66d5111d02121c369ae4d192", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rwlock2 v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/rwlock.rs:160:16
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Ok(try!(RwLockReadGuard::new(&*self.inner, &self.data)))
[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/rwlock.rs:206:16
[INFO] [stdout]     |
[INFO] [stdout] 206 |             Ok(try!(RwLockWriteGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/mutex.rs:215:20
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 Ok(try!(MutexGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/poison.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn cause(&self) -> Option<&Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn cause(&self) -> Option<&dyn Error> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/condvar.rs:181:26
[INFO] [stdout]     |
[INFO] [stdout] 181 |         match self.mutex.compare_and_swap(0, addr, Ordering::SeqCst) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/poison.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         self.description().fmt(f)
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/poison.rs:153:48
[INFO] [stdout]     |
[INFO] [stdout] 153 |             TryLockError::Poisoned(ref p) => p.description(),
[INFO] [stdout]     |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn read(&self) -> LockResult<RwLockReadGuard<T>> {
[INFO] [stdout]     |                 ^^^^^                ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn read(&self) -> LockResult<RwLockReadGuard<'_, T>> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn try_read(&self) -> TryLockResult<RwLockReadGuard<T>> {
[INFO] [stdout]     |                     ^^^^^                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn try_read(&self) -> TryLockResult<RwLockReadGuard<'_, T>> {
[INFO] [stdout]     |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn write(&self) -> LockResult<RwLockWriteGuard<T>> {
[INFO] [stdout]     |                  ^^^^^                ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn write(&self) -> LockResult<RwLockWriteGuard<'_, T>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |     pub fn try_write(&self) -> TryLockResult<RwLockWriteGuard<T>> {
[INFO] [stdout]     |                      ^^^^^                   ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 204 |     pub fn try_write(&self) -> TryLockResult<RwLockWriteGuard<'_, T>> {
[INFO] [stdout]     |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mutex.rs:192:17
[INFO] [stdout]     |
[INFO] [stdout] 192 |     pub fn lock(&self) -> LockResult<MutexGuard<T>> {
[INFO] [stdout]     |                 ^^^^^                ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 192 |     pub fn lock(&self) -> LockResult<MutexGuard<'_, T>> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mutex.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub fn try_lock(&self) -> TryLockResult<MutexGuard<T>> {
[INFO] [stdout]     |                     ^^^^^                   ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub fn try_lock(&self) -> TryLockResult<MutexGuard<'_, T>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s
[INFO] running `Command { std: "docker" "inspect" "0480c3aa21efca8cf99fb82f8daa45febdca8b4b66d5111d02121c369ae4d192", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0480c3aa21efca8cf99fb82f8daa45febdca8b4b66d5111d02121c369ae4d192", kill_on_drop: false }`
[INFO] [stdout] 0480c3aa21efca8cf99fb82f8daa45febdca8b4b66d5111d02121c369ae4d192
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6776d73ea160053bd421d4ec5f09233a73c6db193c32e0aadd5bc1ce6594bf0
[INFO] running `Command { std: "docker" "start" "-a" "a6776d73ea160053bd421d4ec5f09233a73c6db193c32e0aadd5bc1ce6594bf0", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/rwlock.rs:160:16
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Ok(try!(RwLockReadGuard::new(&*self.inner, &self.data)))
[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/rwlock.rs:206:16
[INFO] [stdout]     |
[INFO] [stdout] 206 |             Ok(try!(RwLockWriteGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/mutex.rs:215:20
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 Ok(try!(MutexGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/poison.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn cause(&self) -> Option<&Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn cause(&self) -> Option<&dyn Error> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/condvar.rs:181:26
[INFO] [stdout]     |
[INFO] [stdout] 181 |         match self.mutex.compare_and_swap(0, addr, Ordering::SeqCst) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/poison.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         self.description().fmt(f)
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/poison.rs:153:48
[INFO] [stdout]     |
[INFO] [stdout] 153 |             TryLockError::Poisoned(ref p) => p.description(),
[INFO] [stdout]     |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn read(&self) -> LockResult<RwLockReadGuard<T>> {
[INFO] [stdout]     |                 ^^^^^                ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn read(&self) -> LockResult<RwLockReadGuard<'_, T>> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn try_read(&self) -> TryLockResult<RwLockReadGuard<T>> {
[INFO] [stdout]     |                     ^^^^^                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn try_read(&self) -> TryLockResult<RwLockReadGuard<'_, T>> {
[INFO] [stdout]     |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn write(&self) -> LockResult<RwLockWriteGuard<T>> {
[INFO] [stdout]     |                  ^^^^^                ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn write(&self) -> LockResult<RwLockWriteGuard<'_, T>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |     pub fn try_write(&self) -> TryLockResult<RwLockWriteGuard<T>> {
[INFO] [stdout]     |                      ^^^^^                   ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 204 |     pub fn try_write(&self) -> TryLockResult<RwLockWriteGuard<'_, T>> {
[INFO] [stdout]     |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mutex.rs:192:17
[INFO] [stdout]     |
[INFO] [stdout] 192 |     pub fn lock(&self) -> LockResult<MutexGuard<T>> {
[INFO] [stdout]     |                 ^^^^^                ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 192 |     pub fn lock(&self) -> LockResult<MutexGuard<'_, T>> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mutex.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub fn try_lock(&self) -> TryLockResult<MutexGuard<T>> {
[INFO] [stdout]     |                     ^^^^^                   ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub fn try_lock(&self) -> TryLockResult<MutexGuard<'_, T>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling rwlock2 v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/rwlock.rs:160:16
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Ok(try!(RwLockReadGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:1:24
[INFO] [stdout]     |
[INFO] [stdout]   1 | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/rwlock.rs:206:16
[INFO] [stdout]     |
[INFO] [stdout] 206 |             Ok(try!(RwLockWriteGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/mutex.rs:215:20
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 Ok(try!(MutexGuard::new(&*self.inner, &self.data)))
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/poison.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn cause(&self) -> Option<&Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn cause(&self) -> Option<&dyn Error> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/condvar.rs:181:26
[INFO] [stdout]     |
[INFO] [stdout] 181 |         match self.mutex.compare_and_swap(0, addr, Ordering::SeqCst) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/poison.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         self.description().fmt(f)
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/poison.rs:153:48
[INFO] [stdout]     |
[INFO] [stdout] 153 |             TryLockError::Poisoned(ref p) => p.description(),
[INFO] [stdout]     |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn read(&self) -> LockResult<RwLockReadGuard<T>> {
[INFO] [stdout]     |                 ^^^^^                ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub fn read(&self) -> LockResult<RwLockReadGuard<'_, T>> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn try_read(&self) -> TryLockResult<RwLockReadGuard<T>> {
[INFO] [stdout]     |                     ^^^^^                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn try_read(&self) -> TryLockResult<RwLockReadGuard<'_, T>> {
[INFO] [stdout]     |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn write(&self) -> LockResult<RwLockWriteGuard<T>> {
[INFO] [stdout]     |                  ^^^^^                ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn write(&self) -> LockResult<RwLockWriteGuard<'_, T>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rwlock.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |     pub fn try_write(&self) -> TryLockResult<RwLockWriteGuard<T>> {
[INFO] [stdout]     |                      ^^^^^                   ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 204 |     pub fn try_write(&self) -> TryLockResult<RwLockWriteGuard<'_, T>> {
[INFO] [stdout]     |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mutex.rs:192:17
[INFO] [stdout]     |
[INFO] [stdout] 192 |     pub fn lock(&self) -> LockResult<MutexGuard<T>> {
[INFO] [stdout]     |                 ^^^^^                ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 192 |     pub fn lock(&self) -> LockResult<MutexGuard<'_, T>> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mutex.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub fn try_lock(&self) -> TryLockResult<MutexGuard<T>> {
[INFO] [stdout]     |                     ^^^^^                   ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub fn try_lock(&self) -> TryLockResult<MutexGuard<'_, T>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rwlock2` (lib test) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "a6776d73ea160053bd421d4ec5f09233a73c6db193c32e0aadd5bc1ce6594bf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6776d73ea160053bd421d4ec5f09233a73c6db193c32e0aadd5bc1ce6594bf0", kill_on_drop: false }`
[INFO] [stdout] a6776d73ea160053bd421d4ec5f09233a73c6db193c32e0aadd5bc1ce6594bf0
