[INFO] fetching crate futures-locks 0.7.1...
[INFO] checking futures-locks-0.7.1 against nightly-2024-02-05 for check-cfg-2
[INFO] extracting crate futures-locks 0.7.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate futures-locks 0.7.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate futures-locks 0.7.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate futures-locks 0.7.1
[INFO] tweaked toml for crates.io crate futures-locks 0.7.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-test v0.4.3
[INFO] [stderr]   Downloaded async-stream-impl v0.3.5
[INFO] [stderr]   Downloaded tokio-stream v0.1.14
[INFO] [stderr]   Downloaded async-stream v0.3.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c76fef13d7c458232cee75fd050da2824f6c7128e3830d6576b841a60121cfcb
[INFO] running `Command { std: "docker" "start" "-a" "c76fef13d7c458232cee75fd050da2824f6c7128e3830d6576b841a60121cfcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c76fef13d7c458232cee75fd050da2824f6c7128e3830d6576b841a60121cfcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c76fef13d7c458232cee75fd050da2824f6c7128e3830d6576b841a60121cfcb", kill_on_drop: false }`
[INFO] [stdout] c76fef13d7c458232cee75fd050da2824f6c7128e3830d6576b841a60121cfcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04fcbe0c824f20ec0ff3edc67abda240dd44c6621f658c476d57e327d6bdd20e
[INFO] running `Command { std: "docker" "start" "-a" "04fcbe0c824f20ec0ff3edc67abda240dd44c6621f658c476d57e327d6bdd20e", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking futures-locks v0.7.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-test v0.4.3
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.38s
[INFO] running `Command { std: "docker" "inspect" "04fcbe0c824f20ec0ff3edc67abda240dd44c6621f658c476d57e327d6bdd20e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04fcbe0c824f20ec0ff3edc67abda240dd44c6621f658c476d57e327d6bdd20e", kill_on_drop: false }`
[INFO] [stdout] 04fcbe0c824f20ec0ff3edc67abda240dd44c6621f658c476d57e327d6bdd20e
[INFO] checking futures-locks-0.7.1 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2
[INFO] extracting crate futures-locks 0.7.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate futures-locks 0.7.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate futures-locks 0.7.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate futures-locks 0.7.1
[INFO] tweaked toml for crates.io crate futures-locks 0.7.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98760d4c137403c5a725d7968e731b86eacfcadf45b8121087beb34df2bdf401
[INFO] running `Command { std: "docker" "start" "-a" "98760d4c137403c5a725d7968e731b86eacfcadf45b8121087beb34df2bdf401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98760d4c137403c5a725d7968e731b86eacfcadf45b8121087beb34df2bdf401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98760d4c137403c5a725d7968e731b86eacfcadf45b8121087beb34df2bdf401", kill_on_drop: false }`
[INFO] [stdout] 98760d4c137403c5a725d7968e731b86eacfcadf45b8121087beb34df2bdf401
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 31f2ef2c7ad7e5d3ca9d2a787ac2b0a11672edc923856f55b2d69785ebce0ffd
[INFO] running `Command { std: "docker" "start" "-a" "31f2ef2c7ad7e5d3ca9d2a787ac2b0a11672edc923856f55b2d69785ebce0ffd", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking futures-locks v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]   --> src/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | #![cfg_attr(docsrs, feature(doc_cfg))]
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/mutex.rs:369:38
[INFO] [stdout]     |
[INFO] [stdout] 369 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustdoc`
[INFO] [stdout]    --> src/mutex.rs:369:46
[INFO] [stdout]     |
[INFO] [stdout] 369 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustdoc)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/mutex.rs:370:16
[INFO] [stdout]     |
[INFO] [stdout] 370 |     #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/mutex.rs:409:38
[INFO] [stdout]     |
[INFO] [stdout] 409 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustdoc`
[INFO] [stdout]    --> src/mutex.rs:409:46
[INFO] [stdout]     |
[INFO] [stdout] 409 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustdoc)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/mutex.rs:410:16
[INFO] [stdout]     |
[INFO] [stdout] 410 |     #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:504:38
[INFO] [stdout]     |
[INFO] [stdout] 504 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustdoc`
[INFO] [stdout]    --> src/rwlock.rs:504:46
[INFO] [stdout]     |
[INFO] [stdout] 504 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustdoc)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:505:16
[INFO] [stdout]     |
[INFO] [stdout] 505 |     #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:544:38
[INFO] [stdout]     |
[INFO] [stdout] 544 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustdoc`
[INFO] [stdout]    --> src/rwlock.rs:544:46
[INFO] [stdout]     |
[INFO] [stdout] 544 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustdoc)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:545:16
[INFO] [stdout]     |
[INFO] [stdout] 545 |     #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:594:38
[INFO] [stdout]     |
[INFO] [stdout] 594 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustdoc`
[INFO] [stdout]    --> src/rwlock.rs:594:46
[INFO] [stdout]     |
[INFO] [stdout] 594 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustdoc)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:595:16
[INFO] [stdout]     |
[INFO] [stdout] 595 |     #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:635:38
[INFO] [stdout]     |
[INFO] [stdout] 635 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustdoc`
[INFO] [stdout]    --> src/rwlock.rs:635:46
[INFO] [stdout]     |
[INFO] [stdout] 635 |     #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))]
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustdoc)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `docsrs`
[INFO] [stdout]    --> src/rwlock.rs:636:16
[INFO] [stdout]     |
[INFO] [stdout] 636 |     #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(docsrs)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `futures-locks` (lib) due to 20 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "31f2ef2c7ad7e5d3ca9d2a787ac2b0a11672edc923856f55b2d69785ebce0ffd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31f2ef2c7ad7e5d3ca9d2a787ac2b0a11672edc923856f55b2d69785ebce0ffd", kill_on_drop: false }`
[INFO] [stdout] 31f2ef2c7ad7e5d3ca9d2a787ac2b0a11672edc923856f55b2d69785ebce0ffd
