[INFO] fetching crate rwlock2 0.2.5... [INFO] testing rwlock2-0.2.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d23623bc30d47c92b6f17fdf23818c50946c87d8106f506ff088f4ec2386a34b [INFO] running `Command { std: "docker" "start" "-a" "d23623bc30d47c92b6f17fdf23818c50946c87d8106f506ff088f4ec2386a34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d23623bc30d47c92b6f17fdf23818c50946c87d8106f506ff088f4ec2386a34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23623bc30d47c92b6f17fdf23818c50946c87d8106f506ff088f4ec2386a34b", kill_on_drop: false }` [INFO] [stdout] d23623bc30d47c92b6f17fdf23818c50946c87d8106f506ff088f4ec2386a34b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6ab74f2ef49370e04d51bf6df40392710bc2376c52d80b97ea5d4dea4b44e2e1 [INFO] running `Command { std: "docker" "start" "-a" "6ab74f2ef49370e04d51bf6df40392710bc2376c52d80b97ea5d4dea4b44e2e1", 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 libc v0.2.174 [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 212 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "6ab74f2ef49370e04d51bf6df40392710bc2376c52d80b97ea5d4dea4b44e2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab74f2ef49370e04d51bf6df40392710bc2376c52d80b97ea5d4dea4b44e2e1", kill_on_drop: false }` [INFO] [stdout] 6ab74f2ef49370e04d51bf6df40392710bc2376c52d80b97ea5d4dea4b44e2e1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 19551f868d7b5fc232325c065a0d400115aa39cac9ff703c7768f7afb55c3921 [INFO] running `Command { std: "docker" "start" "-a" "19551f868d7b5fc232325c065a0d400115aa39cac9ff703c7768f7afb55c3921", 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 212 | pub fn try_lock(&self) -> TryLockResult> { [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 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn write(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn try_write(&self) -> TryLockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn try_lock(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 212 | pub fn try_lock(&self) -> TryLockResult> { [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" "19551f868d7b5fc232325c065a0d400115aa39cac9ff703c7768f7afb55c3921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19551f868d7b5fc232325c065a0d400115aa39cac9ff703c7768f7afb55c3921", kill_on_drop: false }` [INFO] [stdout] 19551f868d7b5fc232325c065a0d400115aa39cac9ff703c7768f7afb55c3921