[INFO] cloning repository https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.rand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.rand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98a77b394abb2d9edbb58139f62b1735afd6c3ab [INFO] checking msft-mirror-aosp/platform.external.rust.crates.rand against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.rand" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand 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 git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand [INFO] finished tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand [INFO] tweaked toml for git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded quote v1.0.8 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded wasi v0.10.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded syn v1.0.59 [INFO] [stderr] Downloaded libc v0.2.82 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded rand_pcg v0.3.0 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.120 [INFO] [stderr] Downloaded packed_simd_2 v0.3.4 [INFO] [stderr] Downloaded serde v1.0.120 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2e5e9034226aa68f4d9fbdfa53c94bb82e55d72005b376748b362e798fe0fd0a [INFO] running `Command { std: "docker" "start" "-a" "2e5e9034226aa68f4d9fbdfa53c94bb82e55d72005b376748b362e798fe0fd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5e9034226aa68f4d9fbdfa53c94bb82e55d72005b376748b362e798fe0fd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5e9034226aa68f4d9fbdfa53c94bb82e55d72005b376748b362e798fe0fd0a", kill_on_drop: false }` [INFO] [stdout] 2e5e9034226aa68f4d9fbdfa53c94bb82e55d72005b376748b362e798fe0fd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9fe037cab951b56499507693379df9de528023c651f904d84b6bfb0d928f3f95 [INFO] running `Command { std: "docker" "start" "-a" "9fe037cab951b56499507693379df9de528023c651f904d84b6bfb0d928f3f95", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_pcg v0.3.0 [INFO] [stderr] Checking rand_hc v0.3.0 [INFO] [stderr] Checking rand v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.50s [INFO] running `Command { std: "docker" "inspect" "9fe037cab951b56499507693379df9de528023c651f904d84b6bfb0d928f3f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe037cab951b56499507693379df9de528023c651f904d84b6bfb0d928f3f95", kill_on_drop: false }` [INFO] [stdout] 9fe037cab951b56499507693379df9de528023c651f904d84b6bfb0d928f3f95 [INFO] checking msft-mirror-aosp/platform.external.rust.crates.rand against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.rand" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand 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 git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand [INFO] finished tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand [INFO] tweaked toml for git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.rand already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8325fb9eff83036f8dbd86c7d305bb32be79cd45a91ccc7c023c80b987df092f [INFO] running `Command { std: "docker" "start" "-a" "8325fb9eff83036f8dbd86c7d305bb32be79cd45a91ccc7c023c80b987df092f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8325fb9eff83036f8dbd86c7d305bb32be79cd45a91ccc7c023c80b987df092f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8325fb9eff83036f8dbd86c7d305bb32be79cd45a91ccc7c023c80b987df092f", kill_on_drop: false }` [INFO] [stdout] 8325fb9eff83036f8dbd86c7d305bb32be79cd45a91ccc7c023c80b987df092f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f4b1fe30219a4143fc28233cb4b1688c4a91c5b5009eafe05f0a61102f5c9047 [INFO] running `Command { std: "docker" "start" "-a" "f4b1fe30219a4143fc28233cb4b1688c4a91c5b5009eafe05f0a61102f5c9047", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_pcg v0.3.0 [INFO] [stderr] Checking rand_hc v0.3.0 [INFO] [stderr] Checking rand v0.8.3 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | #![cfg_attr(doc_cfg, 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(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see 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: `doc_cfg` [INFO] [stdout] --> src/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/distributions/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/distributions/mod.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(features = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(feature = "nightly")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/distributions/weighted_index.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/distributions/weighted_index.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 424 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/distributions/utils.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(not(std))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(std)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/distributions/utils.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | #[cfg(not(std))] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | scalar_float_impl!(f32, u32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(std)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `scalar_float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/distributions/utils.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | #[cfg(not(std))] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | scalar_float_impl!(f64, u64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(std)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `scalar_float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/rngs/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/rngs/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg_attr(doc_cfg, doc(cfg(feature = "getrandom")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/rngs/std.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std_rng")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/rngs/thread.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/rngs/thread.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 623 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/index.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/seq/mod.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(doc_cfg)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rand` (lib) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f4b1fe30219a4143fc28233cb4b1688c4a91c5b5009eafe05f0a61102f5c9047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b1fe30219a4143fc28233cb4b1688c4a91c5b5009eafe05f0a61102f5c9047", kill_on_drop: false }` [INFO] [stdout] f4b1fe30219a4143fc28233cb4b1688c4a91c5b5009eafe05f0a61102f5c9047