[INFO] fetching crate wait-list 0.1.1... [INFO] testing wait-list-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wait-list 0.1.1 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wait-list 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pinned-aliasable v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6d26e567a2ab2ff76a8728d95e694390155ad688be89ab1d27ba380332cb70f [INFO] running `Command { std: "docker" "start" "-a" "f6d26e567a2ab2ff76a8728d95e694390155ad688be89ab1d27ba380332cb70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6d26e567a2ab2ff76a8728d95e694390155ad688be89ab1d27ba380332cb70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d26e567a2ab2ff76a8728d95e694390155ad688be89ab1d27ba380332cb70f", kill_on_drop: false }` [INFO] [stdout] f6d26e567a2ab2ff76a8728d95e694390155ad688be89ab1d27ba380332cb70f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3d727ae867c6e36b6fb9f527321884c4c2c6a43a44103ac990566491eefa478 [INFO] running `Command { std: "docker" "start" "-a" "c3d727ae867c6e36b6fb9f527321884c4c2c6a43a44103ac990566491eefa478", 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 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.35s [INFO] running `Command { std: "docker" "inspect" "c3d727ae867c6e36b6fb9f527321884c4c2c6a43a44103ac990566491eefa478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d727ae867c6e36b6fb9f527321884c4c2c6a43a44103ac990566491eefa478", kill_on_drop: false }` [INFO] [stdout] c3d727ae867c6e36b6fb9f527321884c4c2c6a43a44103ac990566491eefa478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2650167a0c37d139a71eb55406a64a6a4e29b12783366c54efaf21fc3aaa77fd [INFO] running `Command { std: "docker" "start" "-a" "2650167a0c37d139a71eb55406a64a6a4e29b12783366c54efaf21fc3aaa77fd", kill_on_drop: false }` [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 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: `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 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 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "2650167a0c37d139a71eb55406a64a6a4e29b12783366c54efaf21fc3aaa77fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2650167a0c37d139a71eb55406a64a6a4e29b12783366c54efaf21fc3aaa77fd", kill_on_drop: false }` [INFO] [stdout] 2650167a0c37d139a71eb55406a64a6a4e29b12783366c54efaf21fc3aaa77fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed6da7a4c9aa1cdc72ba111fa5a56cee5759a5fb914cfecb53eb0f6beb61bb9b [INFO] running `Command { std: "docker" "start" "-a" "ed6da7a4c9aa1cdc72ba111fa5a56cee5759a5fb914cfecb53eb0f6beb61bb9b", 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 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 { [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-bc21a9199a986799) [INFO] [stderr] Doc-tests wait_list [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] [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: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 17 | waiters: WaitList, (), ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `WaitList` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct WaitList { [INFO] [stdout] | ^^^^ required by this bound in `WaitList` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 41 | inner: wait_list::Wait<'mutex, std::sync::Mutex, (), (), TryForward>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 78 | / fn on_cancel( [INFO] [stdout] 79 | | self, [INFO] [stdout] 80 | | mut list: wait_list::LockedExclusive<'wait_list, std::sync::Mutex, (), ()>, [INFO] [stdout] 81 | | output: (), [INFO] [stdout] 82 | | ) { [INFO] [stdout] | |_____^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `LockedExclusive` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 75 | impl<'wait_list> wait_list::CancelCallback<'wait_list, std::sync::Mutex, (), ()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `CancelCallback` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 80 | mut list: wait_list::LockedExclusive<'wait_list, std::sync::Mutex, (), ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `LockedExclusive` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 113 | assert_send(mutex.lock()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [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] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] = note: required for `wait_list::WaitInner<'_, std::sync::Mutex, (), (), TryForward>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Option, (), (), TryForward>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `Wait<'_, std::sync::Mutex, (), (), TryForward>` [INFO] [stdout] --> /opt/rustwide/workdir/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] 38 | 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] 111 | fn assert_send(_: T) {} [INFO] [stdout] | ^^^^ required by this bound in `assert_send` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 26 | waiters: WaitList::new(std::sync::Mutex::new(false)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `WaitList` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct WaitList { [INFO] [stdout] | ^^^^ required by this bound in `WaitList` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 26 | waiters: WaitList::new(std::sync::Mutex::new(false)), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [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] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `WaitList::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | as Iterator>::Item: Lock, [INFO] [stdout] | ^^^^ required by this bound in `WaitList::::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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 32 | inner: wait_list::Wait::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 32 | inner: wait_list::Wait::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pin_project! { [INFO] [stdout] 38 | | pub struct Lock<'mutex, T> { [INFO] [stdout] 39 | | mutex: &'mutex Mutex, [INFO] [stdout] 40 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pin_project! { [INFO] [stdout] 38 | | pub struct Lock<'mutex, T> { [INFO] [stdout] 39 | | mutex: &'mutex Mutex, [INFO] [stdout] 40 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pin_project! { [INFO] [stdout] 38 | | pub struct Lock<'mutex, T> { [INFO] [stdout] 39 | | mutex: &'mutex Mutex, [INFO] [stdout] 40 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pin_project! { [INFO] [stdout] 38 | | pub struct Lock<'mutex, T> { [INFO] [stdout] 39 | | mutex: &'mutex Mutex, [INFO] [stdout] 40 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 50 | let mut waiters = if this.inner.as_ref().is_completed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0599]: the method `is_completed` exists for struct `Pin<&Wait<'_, std::sync::Mutex, (), (), TryForward>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 50 | 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: wait_list::Lock` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lock_exclusive` exists for struct `WaitList, (), ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 52 | this.mutex.waiters.lock_exclusive() [INFO] [stdout] | ^^^^^^^^^^^^^^ method cannot be called on `WaitList, (), ()>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex: wait_list::Lock` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Mutex: wait_list::Lock` is not satisfied [INFO] [stdout] --> src/lib.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 55 | match this.inner.as_mut().poll(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `wait_list::Lock` is not implemented for `std::sync::Mutex` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wait_list::Lock`: [INFO] [stdout] &L [INFO] [stdout] &mut L [INFO] [stdout] Local [INFO] [stdout] RefCell [INFO] [stdout] note: required by a bound in `Wait` [INFO] [stdout] --> /opt/rustwide/workdir/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] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut Wait<'_, std::sync::Mutex, (), (), TryForward>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 55 | match this.inner.as_mut().poll(cx) { [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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: wait_list::Lock` [INFO] [stdout] which is required by `Wait<'_, std::sync::Mutex, (), (), TryForward>: Future` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `init` exists for struct `Pin<&mut Wait<'_, std::sync::Mutex, (), (), TryForward>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 68 | 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: wait_list::Lock` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `wake_one` exists for struct `LockedExclusive<'wait_list, std::sync::Mutex, (), ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 83 | 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: wait_list::Lock` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lock_exclusive` exists for struct `WaitList, (), ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 105 | let mut waiters = self.mutex.waiters.lock_exclusive(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method cannot be called on `WaitList, (), ()>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::Mutex: 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.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ed6da7a4c9aa1cdc72ba111fa5a56cee5759a5fb914cfecb53eb0f6beb61bb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6da7a4c9aa1cdc72ba111fa5a56cee5759a5fb914cfecb53eb0f6beb61bb9b", kill_on_drop: false }` [INFO] [stdout] ed6da7a4c9aa1cdc72ba111fa5a56cee5759a5fb914cfecb53eb0f6beb61bb9b