[INFO] fetching crate wait-list 0.1.1...
[INFO] testing wait-list-0.1.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate wait-list 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate wait-list 0.1.1
[INFO] finished tweaking crates.io crate wait-list 0.1.1
[INFO] tweaked toml for crates.io crate wait-list 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wait-list 0.1.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 47 packages to latest compatible versions
[INFO] [stderr]       Adding loom v0.5.6 (available: v0.7.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9232a524ba36cc615ba446a37f1f567261d72061a044bc3e167c8b037b9b6693
[INFO] running `Command { std: "docker" "start" "-a" "9232a524ba36cc615ba446a37f1f567261d72061a044bc3e167c8b037b9b6693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9232a524ba36cc615ba446a37f1f567261d72061a044bc3e167c8b037b9b6693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9232a524ba36cc615ba446a37f1f567261d72061a044bc3e167c8b037b9b6693", kill_on_drop: false }`
[INFO] [stdout] 9232a524ba36cc615ba446a37f1f567261d72061a044bc3e167c8b037b9b6693
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6eb9f04b00b3533cc237767659eb01ab81d3d5e20a7fb9ed9b36aa487db1dc0f
[INFO] running `Command { std: "docker" "start" "-a" "6eb9f04b00b3533cc237767659eb01ab81d3d5e20a7fb9ed9b36aa487db1dc0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling pinned-aliasable v0.1.3
[INFO] [stderr]    Compiling wait-list v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `doc_nightly`
[INFO] [stdout]    --> src/lib.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 | #![cfg_attr(doc_nightly, feature(doc_cfg))]
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(doc_nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_nightly)");` 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "6eb9f04b00b3533cc237767659eb01ab81d3d5e20a7fb9ed9b36aa487db1dc0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eb9f04b00b3533cc237767659eb01ab81d3d5e20a7fb9ed9b36aa487db1dc0f", kill_on_drop: false }`
[INFO] [stdout] 6eb9f04b00b3533cc237767659eb01ab81d3d5e20a7fb9ed9b36aa487db1dc0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96c82430e8f71b16c85c570f4bec0c8213375f4177c70e5403cec154be7d83b7
[INFO] running `Command { std: "docker" "start" "-a" "96c82430e8f71b16c85c570f4bec0c8213375f4177c70e5403cec154be7d83b7", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition name: `doc_nightly`
[INFO] [stdout]    --> src/lib.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 | #![cfg_attr(doc_nightly, feature(doc_cfg))]
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(doc_nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_nightly)");` 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] [stderr]    Compiling wait-list v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `doc_nightly`
[INFO] [stdout]    --> src/lib.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 | #![cfg_attr(doc_nightly, feature(doc_cfg))]
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(doc_nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_nightly)");` 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: trait `AssertSend` is never used
[INFO] [stdout]     --> src/lib.rs:1156:22
[INFO] [stdout]      |
[INFO] [stdout] 1156 |     pub(crate) trait AssertSend {
[INFO] [stdout]      |                      ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertNotSend` is never used
[INFO] [stdout]     --> src/lib.rs:1161:22
[INFO] [stdout]      |
[INFO] [stdout] 1161 |     pub(crate) trait AssertNotSend<A> {
[INFO] [stdout]      |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "96c82430e8f71b16c85c570f4bec0c8213375f4177c70e5403cec154be7d83b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96c82430e8f71b16c85c570f4bec0c8213375f4177c70e5403cec154be7d83b7", kill_on_drop: false }`
[INFO] [stdout] 96c82430e8f71b16c85c570f4bec0c8213375f4177c70e5403cec154be7d83b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e7caa57f2680540b3f6fdd827d851f124a958b4ee777c75101dc63521df0340b
[INFO] running `Command { std: "docker" "start" "-a" "e7caa57f2680540b3f6fdd827d851f124a958b4ee777c75101dc63521df0340b", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `doc_nightly`
[INFO] [stderr]    --> src/lib.rs:157:13
[INFO] [stderr]     |
[INFO] [stderr] 157 | #![cfg_attr(doc_nightly, feature(doc_cfg))]
[INFO] [stderr]     |             ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_nightly)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `wait-list` (lib) generated 1 warning
[INFO] [stderr] warning: trait `AssertSend` is never used
[INFO] [stderr]     --> src/lib.rs:1156:22
[INFO] [stderr]      |
[INFO] [stderr] 1156 |     pub(crate) trait AssertSend {
[INFO] [stderr]      |                      ^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait `AssertNotSend` is never used
[INFO] [stderr]     --> src/lib.rs:1161:22
[INFO] [stderr]      |
[INFO] [stderr] 1161 |     pub(crate) trait AssertNotSend<A> {
[INFO] [stderr]      |                      ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wait-list` (lib test) generated 3 warnings (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wait_list-5f4e8215a324ef61)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests wait_list
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 23) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 23) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:37:14
[INFO] [stdout]     |
[INFO] [stdout]  37 |     waiters: WaitList<std::sync::Mutex<bool>, (), ()>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `WaitList`
[INFO] [stdout]    --> src/lib.rs:191:24
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub struct WaitList<L: Lock, I, O> {
[INFO] [stdout]     |                        ^^^^ required by this bound in `WaitList`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:61:16
[INFO] [stdout]     |
[INFO] [stdout]  61 |         inner: wait_list::Wait<'mutex, std::sync::Mutex<bool>, (), (), TryForward>,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | /     fn on_cancel(
[INFO] [stdout]  99 | |         self,
[INFO] [stdout] 100 | |         mut list: wait_list::LockedExclusive<'wait_list, std::sync::Mutex<bool>, (), ()>,
[INFO] [stdout] 101 | |         output: (),
[INFO] [stdout] 102 | |     ) {
[INFO] [stdout]     | |_____^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `LockedExclusive`
[INFO] [stdout]    --> src/lib.rs:391:43
[INFO] [stdout]     |
[INFO] [stdout] 391 | pub struct LockedExclusive<'wait_list, L: Lock, I, O> {
[INFO] [stdout]     |                                           ^^^^ required by this bound in `LockedExclusive`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:95:18
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl<'wait_list> wait_list::CancelCallback<'wait_list, std::sync::Mutex<bool>, (), ()>
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `CancelCallback`
[INFO] [stdout]    --> src/lib.rs:940:41
[INFO] [stdout]     |
[INFO] [stdout] 940 | pub trait CancelCallback<'wait_list, L: Lock, I, O>: Sized {
[INFO] [stdout]     |                                         ^^^^ required by this bound in `CancelCallback`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:100:19
[INFO] [stdout]     |
[INFO] [stdout] 100 |         mut list: wait_list::LockedExclusive<'wait_list, std::sync::Mutex<bool>, (), ()>,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `LockedExclusive`
[INFO] [stdout]    --> src/lib.rs:391:43
[INFO] [stdout]     |
[INFO] [stdout] 391 | pub struct LockedExclusive<'wait_list, L: Lock, I, O> {
[INFO] [stdout]     |                                           ^^^^ required by this bound in `LockedExclusive`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 | assert_send(mutex.lock());
[INFO] [stdout]     | ----------- ^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout]     = note: required for `wait_list::WaitInner<'_, std::sync::Mutex<bool>, (), (), TryForward>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Option<wait_list::WaitInner<'_, std::sync::Mutex<bool>, (), (), TryForward>>`
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/option.rs:600:9
[INFO] [stdout] note: required because it appears within the type `Wait<'_, std::sync::Mutex<bool>, (), (), TryForward>`
[INFO] [stdout]    --> src/lib.rs:602:12
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] note: required because it appears within the type `_doctest_main_src_lib_rs_23_0::Lock<'_, ()>`
[INFO] [stdout]    --> src/lib.rs:58:16
[INFO] [stdout]     |
[INFO] [stdout]  58 |     pub struct Lock<'mutex, T> {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] note: required by a bound in `assert_send`
[INFO] [stdout]    --> src/lib.rs:131:19
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn assert_send<T: Send>(_: T) {}
[INFO] [stdout]     |                   ^^^^ required by this bound in `assert_send`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:46:22
[INFO] [stdout]     |
[INFO] [stdout]  46 |             waiters: WaitList::new(std::sync::Mutex::new(false)),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `WaitList`
[INFO] [stdout]    --> src/lib.rs:191:24
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub struct WaitList<L: Lock, I, O> {
[INFO] [stdout]     |                        ^^^^ required by this bound in `WaitList`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:46:36
[INFO] [stdout]     |
[INFO] [stdout]  46 |             waiters: WaitList::new(std::sync::Mutex::new(false)),
[INFO] [stdout]     |                      ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `WaitList::<L, I, O>::new`
[INFO] [stdout]    --> src/lib.rs:338:47
[INFO] [stdout]     |
[INFO] [stdout] 338 |     <core::iter::Empty<L> as Iterator>::Item: Lock,
[INFO] [stdout]     |                                               ^^^^ required by this bound in `WaitList::<L, I, O>::new`
[INFO] [stdout] ...
[INFO] [stdout] 342 |     pub const fn new(lock: L) -> Self {
[INFO] [stdout]     |                  --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:52:20
[INFO] [stdout]     |
[INFO] [stdout]  52 |             inner: wait_list::Wait::new(),
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:52:20
[INFO] [stdout]     |
[INFO] [stdout]  52 |             inner: wait_list::Wait::new(),
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout]  57 | / pin_project! {
[INFO] [stdout]  58 | |     pub struct Lock<'mutex, T> {
[INFO] [stdout]  59 | |         mutex: &'mutex Mutex<T>,
[INFO] [stdout]  60 | |         #[pin]
[INFO] [stdout] ...   |
[INFO] [stdout]  63 | | }
[INFO] [stdout]     | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unsafe_field_proj` which comes from the expansion of the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout]  57 | / pin_project! {
[INFO] [stdout]  58 | |     pub struct Lock<'mutex, T> {
[INFO] [stdout]  59 | |         mutex: &'mutex Mutex<T>,
[INFO] [stdout]  60 | |         #[pin]
[INFO] [stdout] ...   |
[INFO] [stdout]  63 | | }
[INFO] [stdout]     | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unsafe_field_proj` which comes from the expansion of the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout]  57 | / pin_project! {
[INFO] [stdout]  58 | |     pub struct Lock<'mutex, T> {
[INFO] [stdout]  59 | |         mutex: &'mutex Mutex<T>,
[INFO] [stdout]  60 | |         #[pin]
[INFO] [stdout] ...   |
[INFO] [stdout]  63 | | }
[INFO] [stdout]     | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unsafe_field_proj` which comes from the expansion of the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout]  57 | / pin_project! {
[INFO] [stdout]  58 | |     pub struct Lock<'mutex, T> {
[INFO] [stdout]  59 | |         mutex: &'mutex Mutex<T>,
[INFO] [stdout]  60 | |         #[pin]
[INFO] [stdout] ...   |
[INFO] [stdout]  63 | | }
[INFO] [stdout]     | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `$crate::__pin_project_make_unsafe_field_proj` which comes from the expansion of the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:70:30
[INFO] [stdout]     |
[INFO] [stdout]  70 |         let mut waiters = if this.inner.as_ref().is_completed() {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_completed` exists for struct `Pin<&Wait<'_, std::sync::Mutex<bool>, (), (), TryForward>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:70:50
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut waiters = if this.inner.as_ref().is_completed() {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::sync::Mutex<bool>: wait_list::Lock`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock_exclusive` exists for struct `WaitList<std::sync::Mutex<bool>, (), ()>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:72:32
[INFO] [stdout]    |
[INFO] [stdout] 72 |             this.mutex.waiters.lock_exclusive()
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ method cannot be called on `WaitList<std::sync::Mutex<bool>, (), ()>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::sync::Mutex<bool>: wait_list::Lock`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex<bool>: wait_list::Lock` is not satisfied
[INFO] [stdout]    --> src/lib.rs:75:19
[INFO] [stdout]     |
[INFO] [stdout]  75 |             match this.inner.as_mut().poll(cx) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex<bool>`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `wait_list::Lock`
[INFO] [stdout]    --> src/lock.rs:43:9
[INFO] [stdout]     |
[INFO] [stdout]  43 |         unsafe impl<L: Lock> Lock for $t {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `&L`
[INFO] [stdout]     |         `&mut L`
[INFO] [stdout] ...
[INFO] [stdout]  53 | impl_for_wrapper!(&L, &mut L);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     unsafe impl<T> Lock for Local<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Local<T>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |     unsafe impl<T> Lock for RefCell<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `RefCell<T>`
[INFO] [stdout] note: required by a bound in `Wait`
[INFO] [stdout]    --> src/lib.rs:602:32
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     |                                ^^^^ required by this bound in `Wait`
[INFO] [stdout]     = note: this error originates in the macro `impl_for_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut Wait<'_, std::sync::Mutex<bool>, (), (), TryForward>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:75:39
[INFO] [stdout]     |
[INFO] [stdout]  75 |             match this.inner.as_mut().poll(cx) {
[INFO] [stdout]     |                                       ^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:602:1
[INFO] [stdout]     |
[INFO] [stdout] 602 | pub struct Wait<'wait_list, L: Lock, I, O, OnCancel>
[INFO] [stdout]     | ---------------------------------------------------- doesn't satisfy `_: Future`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `std::sync::Mutex<bool>: wait_list::Lock`
[INFO] [stdout]             which is required by `Wait<'_, std::sync::Mutex<bool>, (), (), TryForward>: Future`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `init` exists for struct `Pin<&mut Wait<'_, std::sync::Mutex<bool>, (), (), TryForward>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         this.inner.init(cx.waker().clone(), &mut waiters, (), TryForward);
[INFO] [stdout]    |                    ^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::sync::Mutex<bool>: wait_list::Lock`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `wake_one` exists for struct `LockedExclusive<'wait_list, std::sync::Mutex<bool>, (), ()>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:103:22
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let _ = list.wake_one(());
[INFO] [stdout]     |                      ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `std::sync::Mutex<bool>: wait_list::Lock`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock_exclusive` exists for struct `WaitList<std::sync::Mutex<bool>, (), ()>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:125:46
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut waiters = self.mutex.waiters.lock_exclusive();
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^ method cannot be called on `WaitList<std::sync::Mutex<bool>, (), ()>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `std::sync::Mutex<bool>: wait_list::Lock`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e7caa57f2680540b3f6fdd827d851f124a958b4ee777c75101dc63521df0340b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7caa57f2680540b3f6fdd827d851f124a958b4ee777c75101dc63521df0340b", kill_on_drop: false }`
[INFO] [stdout] e7caa57f2680540b3f6fdd827d851f124a958b4ee777c75101dc63521df0340b
