[INFO] fetching crate ya-ring-buf 0.1.0...
[INFO] testing ya-ring-buf-0.1.0 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate ya-ring-buf 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate ya-ring-buf 0.1.0
[INFO] finished tweaking crates.io crate ya-ring-buf 0.1.0
[INFO] tweaked toml for crates.io crate ya-ring-buf 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ya-ring-buf 0.1.0 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ya-ring-buf 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bdec9337b61745a8cb2598e6ea870272b0a31ddafff2b4d9b46f28d61b582b2
[INFO] running `Command { std: "docker" "start" "-a" "9bdec9337b61745a8cb2598e6ea870272b0a31ddafff2b4d9b46f28d61b582b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bdec9337b61745a8cb2598e6ea870272b0a31ddafff2b4d9b46f28d61b582b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bdec9337b61745a8cb2598e6ea870272b0a31ddafff2b4d9b46f28d61b582b2", kill_on_drop: false }`
[INFO] [stdout] 9bdec9337b61745a8cb2598e6ea870272b0a31ddafff2b4d9b46f28d61b582b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 696347a7d8c7f929b41f378039cf3341b2d382224c207ff384c4d64572ad55f3
[INFO] running `Command { std: "docker" "start" "-a" "696347a7d8c7f929b41f378039cf3341b2d382224c207ff384c4d64572ad55f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling ya-ring-buf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/lib.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cfg(not(loom))]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/lib.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[cfg(not(loom))]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/lib.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[cfg(loom)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/waiter.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/waiter.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     #[cfg(loom)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/lib.rs:328:10
[INFO] [stdout]     |
[INFO] [stdout] 328 |             #[cfg(loom)]
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/lib.rs:330:14
[INFO] [stdout]     |
[INFO] [stdout] 330 |             #[cfg(not(loom))]
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:444:28
[INFO] [stdout]     |
[INFO] [stdout] 444 |     pub fn uninitialized_view(&mut self) -> Result<UninitWriteView<T, PW, CW>, ClosedError<()>> {
[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] 444 |     pub fn uninitialized_view(&mut self) -> Result<UninitWriteView<'_, T, PW, CW>, ClosedError<()>> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:501:14
[INFO] [stdout]     |
[INFO] [stdout] 501 |     pub fn view(&mut self) -> Result<WriteView<T, PW, CW>, ClosedError<()>> {
[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] 501 |     pub fn view(&mut self) -> Result<WriteView<'_, T, PW, CW>, ClosedError<()>> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:510:20
[INFO] [stdout]     |
[INFO] [stdout] 510 |     pub fn sized_view(&mut self, size: usize) -> Result<WriteView<T, PW, CW>, ClosedError<()>> {
[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] 510 |     pub fn sized_view(&mut self, size: usize) -> Result<WriteView<'_, T, PW, CW>, ClosedError<()>> {
[INFO] [stdout]     |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:663:14
[INFO] [stdout]     |
[INFO] [stdout] 663 |     pub fn view(&mut self) -> Result<ReadView<T, PW, CW>, ClosedError<()>> {
[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] 663 |     pub fn view(&mut self) -> Result<ReadView<'_, T, PW, CW>, ClosedError<()>> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:804:14
[INFO] [stdout]     |
[INFO] [stdout] 804 |     pub fn iter(&mut self) -> core::iter::Chain<core::slice::IterMut<T>, core::slice::IterMut<T>> {
[INFO] [stdout]     |                 ^^^^^^^^^                       ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |                               |
[INFO] [stdout]     |                 |                               the same lifetime is hidden here
[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] 804 |     pub fn iter(&mut self) -> core::iter::Chain<core::slice::IterMut<'_, T>, core::slice::IterMut<'_, T>> {
[INFO] [stdout]     |                                                                      +++                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:910:14
[INFO] [stdout]     |
[INFO] [stdout] 910 |     pub fn iter(&mut self) -> core::iter::Chain<core::slice::IterMut<T>, core::slice::IterMut<T>> {
[INFO] [stdout]     |                 ^^^^^^^^^                       ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |                               |
[INFO] [stdout]     |                 |                               the same lifetime is hidden here
[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] 910 |     pub fn iter(&mut self) -> core::iter::Chain<core::slice::IterMut<'_, T>, core::slice::IterMut<'_, T>> {
[INFO] [stdout]     |                                                                      +++                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:1039:3
[INFO] [stdout]      |
[INFO] [stdout] 1039 |         &mut self,
[INFO] [stdout]      |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] 1040 |     ) -> core::iter::Chain<core::slice::IterMut<MaybeUninit<T>>, core::slice::IterMut<MaybeUninit<T>>>
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |                            |
[INFO] [stdout]      |                            the same lifetime is hidden 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] 1040 |     ) -> core::iter::Chain<core::slice::IterMut<'_, MaybeUninit<T>>, core::slice::IterMut<'_, MaybeUninit<T>>>
[INFO] [stdout]      |                                                 +++                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-binding let on a synchronization lock
[INFO] [stdout]    --> src/waiter.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 let _ = self
[INFO] [stdout]     |                     ^ this lock is not assigned to a binding and is immediately dropped
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(let_underscore_lock)]` (part of `#[deny(let_underscore)]`) on by default
[INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 let _unused = self
[INFO] [stdout]     |                      ++++++
[INFO] [stdout] help: consider immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 138 ~                 drop(self
[INFO] [stdout] 139 |                     .cond
[INFO] [stdout] 140 |                     .wait_while(m, |_| !self.flag.swap(false, Ordering::Acquire))
[INFO] [stdout] 141 ~                     .unwrap());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-binding let on a synchronization lock
[INFO] [stdout]    --> src/waiter.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let _ = self.mutex.lock().unwrap();
[INFO] [stdout]     |                 ^ this lock is not assigned to a binding and is immediately dropped
[INFO] [stdout]     |
[INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let _unused = self.mutex.lock().unwrap();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] help: consider immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 146 -             let _ = self.mutex.lock().unwrap();
[INFO] [stdout] 146 +             drop(self.mutex.lock().unwrap());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ya-ring-buf` (lib) due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "696347a7d8c7f929b41f378039cf3341b2d382224c207ff384c4d64572ad55f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "696347a7d8c7f929b41f378039cf3341b2d382224c207ff384c4d64572ad55f3", kill_on_drop: false }`
[INFO] [stdout] 696347a7d8c7f929b41f378039cf3341b2d382224c207ff384c4d64572ad55f3
