[INFO] fetching crate futures-locks 0.7.1... [INFO] testing futures-locks-0.7.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate futures-locks 0.7.1 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate futures-locks 0.7.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 47 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2873e7130730f3ce1a218615e88cbe555f96499af5a7c3aba0dd7fe686e42978 [INFO] running `Command { std: "docker" "start" "-a" "2873e7130730f3ce1a218615e88cbe555f96499af5a7c3aba0dd7fe686e42978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2873e7130730f3ce1a218615e88cbe555f96499af5a7c3aba0dd7fe686e42978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2873e7130730f3ce1a218615e88cbe555f96499af5a7c3aba0dd7fe686e42978", kill_on_drop: false }` [INFO] [stdout] 2873e7130730f3ce1a218615e88cbe555f96499af5a7c3aba0dd7fe686e42978 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 88796387caf4117509a82f8d85d3f9c10bf7435aed150d33eff45958ebae2918 [INFO] running `Command { std: "docker" "start" "-a" "88796387caf4117509a82f8d85d3f9c10bf7435aed150d33eff45958ebae2918", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-locks v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: 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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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: `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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.39s [INFO] running `Command { std: "docker" "inspect" "88796387caf4117509a82f8d85d3f9c10bf7435aed150d33eff45958ebae2918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88796387caf4117509a82f8d85d3f9c10bf7435aed150d33eff45958ebae2918", kill_on_drop: false }` [INFO] [stdout] 88796387caf4117509a82f8d85d3f9c10bf7435aed150d33eff45958ebae2918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5bcbad96e32cf5217ea1376514cfb454f3e8e7ef441daa0183ce0aa86d64829e [INFO] running `Command { std: "docker" "start" "-a" "5bcbad96e32cf5217ea1376514cfb454f3e8e7ef441daa0183ce0aa86d64829e", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stdout] warning: 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: 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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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: `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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling futures-locks v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: 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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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: `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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 [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(rustdoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/mutex.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | format!("{:?}", &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = format!("{:?}", &m); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/rwlock.rs:671:9 [INFO] [stdout] | [INFO] [stdout] 671 | format!("{:?}", &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 671 | let _ = format!("{:?}", &m); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.07s [INFO] running `Command { std: "docker" "inspect" "5bcbad96e32cf5217ea1376514cfb454f3e8e7ef441daa0183ce0aa86d64829e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcbad96e32cf5217ea1376514cfb454f3e8e7ef441daa0183ce0aa86d64829e", kill_on_drop: false }` [INFO] [stdout] 5bcbad96e32cf5217ea1376514cfb454f3e8e7ef441daa0183ce0aa86d64829e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cf5f046d4c0cb16e35f9b93f6d45dbdf4b26756f3a78e0ec12c95401041a95a0 [INFO] running `Command { std: "docker" "start" "-a" "cf5f046d4c0cb16e35f9b93f6d45dbdf4b26756f3a78e0ec12c95401041a95a0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/mutex.rs:369:46 [INFO] [stderr] | [INFO] [stderr] 369 | #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))] [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/mutex.rs:409:46 [INFO] [stderr] | [INFO] [stderr] 409 | #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/rwlock.rs:504:46 [INFO] [stderr] | [INFO] [stderr] 504 | #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/rwlock.rs:544:46 [INFO] [stderr] | [INFO] [stderr] 544 | #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/rwlock.rs:594:46 [INFO] [stderr] | [INFO] [stderr] 594 | #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/rwlock.rs:635:46 [INFO] [stderr] | [INFO] [stderr] 635 | #[cfg(any(feature = "tokio", all(docsrs, rustdoc)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `futures-locks` (lib) generated 6 warnings [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> src/mutex.rs:445:9 [INFO] [stderr] | [INFO] [stderr] 445 | format!("{:?}", &m); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 445 | let _ = format!("{:?}", &m); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> src/rwlock.rs:671:9 [INFO] [stderr] | [INFO] [stderr] 671 | format!("{:?}", &m); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 671 | let _ = format!("{:?}", &m); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `futures-locks` (lib test) generated 8 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/futures_locks-d42d775aa68d7d5d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test mutex::t::debug ... ok [INFO] [stdout] test mutex::t::test_default ... ok [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/functional-3ce4ffde4ebfa3f7) [INFO] [stdout] test rwlock::t::debug ... ok [INFO] [stdout] test rwlock::t::test_default ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test mutex::drop_when_ready ... ok [INFO] [stdout] test mutex::get_mut_cloned ... ok [INFO] [stdout] test mutex::get_mut ... ok [INFO] [stdout] test mutex::lock_uncontested ... ok [INFO] [stdout] test mutex::drop_before_ready ... ok [INFO] [stdout] test mutex::lock_order ... ok [INFO] [stdout] test mutex::lock_multithreaded ... ok [INFO] [stdout] test mutex::mutex_eq_ptr_false ... ok [INFO] [stdout] test mutex::lock_contested ... ok [INFO] [stdout] test mutex::mutex_weak_none ... ok [INFO] [stdout] test mutex::mutex_eq_ptr_true ... ok [INFO] [stdout] test mutex::try_lock_contested ... ok [INFO] [stdout] test mutex::try_unwrap_multiply_referenced ... ok [INFO] [stdout] test mutex::with_err ... ok [INFO] [stdout] test mutex::with_local_ok ... ok [INFO] [stdout] test rwlock::drop_exclusive_before_ready_2 ... ok [INFO] [stdout] test rwlock::drop_shared_before_poll_returns_ready ... ok [INFO] [stdout] test rwlock::get_mut_cloned ... ok [INFO] [stdout] test rwlock::drop_shared_before_ready ... ok [INFO] [stdout] test rwlock::read_shared ... ok [INFO] [stdout] test rwlock::read_write_contested ... ok [INFO] [stdout] test rwlock::try_read_contested ... ok [INFO] [stdout] test rwlock::read_uncontested ... ok [INFO] [stdout] test rwlock::try_read_uncontested ... ok [INFO] [stdout] test rwlock::drop_exclusive_before_poll_returns_ready ... ok [INFO] [stdout] test mutex::mutex_weak_some ... ok [INFO] [stdout] test mutex::try_lock_uncontested ... ok [INFO] [stdout] test mutex::with_ok ... ok [INFO] [stdout] test rwlock::drop_exclusive_before_ready ... ok [INFO] [stdout] test rwlock::get_mut ... ok [INFO] [stdout] test rwlock::try_write_contested ... ok [INFO] [stdout] test rwlock::try_unwrap_multiply_referenced ... ok [INFO] [stdout] test rwlock::try_write_uncontested ... ok [INFO] [stdout] test rwlock::with_read_local_ok ... ok [INFO] [stdout] test rwlock::with_read_ok ... ok [INFO] [stdout] test rwlock::with_write_err ... ok [INFO] [stdout] test rwlock::with_write_local_ok ... ok [INFO] [stdout] test rwlock::with_write_ok ... ok [INFO] [stdout] test rwlock::write_contested ... ok [INFO] [stdout] test rwlock::write_read_contested ... ok [INFO] [stdout] test rwlock::with_read_err ... ok [INFO] [stdout] test rwlock::write_order ... ok [INFO] [stdout] test rwlock::write_uncontested ... ok [INFO] [stdout] test rwlock::multithreaded ... ok [INFO] [stdout] test rwlock::with_write_threadpool ... ok [INFO] [stdout] test mutex::with_threadpool ... ok [INFO] [stderr] Doc-tests futures_locks [INFO] [stdout] test rwlock::with_read_threadpool ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/mutex.rs - mutex::Mutex::get_mut (line 265) ... ok [INFO] [stdout] test src/mutex.rs - mutex::MutexWeak (line 144) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::try_write (line 412) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::try_read (line 385) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::try_lock (line 297) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::read (line 341) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex (line 195) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::get_mut (line 314) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::write (line 363) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::with (line 353) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::with_read_local (line 527) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::with_read (line 489) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::with_write_local (line 617) ... ok [INFO] [stdout] test src/rwlock.rs - rwlock::RwLock::with_write (line 578) ... ok [INFO] [stdout] test src/mutex.rs - mutex::Mutex::with_local (line 391) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf5f046d4c0cb16e35f9b93f6d45dbdf4b26756f3a78e0ec12c95401041a95a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5f046d4c0cb16e35f9b93f6d45dbdf4b26756f3a78e0ec12c95401041a95a0", kill_on_drop: false }` [INFO] [stdout] cf5f046d4c0cb16e35f9b93f6d45dbdf4b26756f3a78e0ec12c95401041a95a0