[INFO] cloning repository https://github.com/PkmX/liblibc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PkmX/liblibc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPkmX%2Fliblibc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPkmX%2Fliblibc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bccb53e3a15d70b5062a8e8343cee475579a782e [INFO] checking PkmX/liblibc/bccb53e3a15d70b5062a8e8343cee475579a782e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPkmX%2Fliblibc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PkmX/liblibc on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PkmX/liblibc [INFO] finished tweaking git repo https://github.com/PkmX/liblibc [INFO] tweaked toml for git repo https://github.com/PkmX/liblibc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PkmX/liblibc 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/libc-test/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/ctest` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extprim v1.4.0 [INFO] [stderr] Downloaded rustc_version v0.2.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86bc863b4f2af463e5b727f0e41efaf04fe65c17bfed445fbd60099066accb60 [INFO] running `Command { std: "docker" "start" "-a" "86bc863b4f2af463e5b727f0e41efaf04fe65c17bfed445fbd60099066accb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86bc863b4f2af463e5b727f0e41efaf04fe65c17bfed445fbd60099066accb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86bc863b4f2af463e5b727f0e41efaf04fe65c17bfed445fbd60099066accb60", kill_on_drop: false }` [INFO] [stdout] 86bc863b4f2af463e5b727f0e41efaf04fe65c17bfed445fbd60099066accb60 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 794b40999b95d22340342c996c5430ad59ce522b94a8a29d14f62df1e565201e [INFO] running `Command { std: "docker" "start" "-a" "794b40999b95d22340342c996c5430ad59ce522b94a8a29d14f62df1e565201e", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/libc-test/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Checking libc v0.2.33 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #![cfg_attr(dox, feature(no_core, lang_items))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(dox, no_core)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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 value: `bitrig` [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #![cfg_attr(target_os = "bitrig", doc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asmjs` [INFO] [stdout] --> src/lib.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | #![cfg_attr(all(target_os = "emscripten", target_arch = "asmjs"), doc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `xparc64` [INFO] [stdout] --> src/lib.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | #![cfg_attr(all(target_os = "linux", target_arch = "xparc64"), doc( [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"sparc64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | #![cfg_attr(feature = "stdbuild", feature(no_std, staged_api, custom_attribute, cfg_target_vendor))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | #![cfg_attr(feature = "stdbuild", feature(link_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | #![cfg_attr(feature = "stdbuild", no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | #![cfg_attr(feature = "stdbuild", staged_api)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | #![cfg_attr(feature = "stdbuild", allow(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | #![cfg_attr(feature = "stdbuild", unstable(feature = "libc", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/lib.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(all(not(dox), feature = "use_std"))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/dox.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(dox))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/dox.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(dox)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/unix/mod.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | if #[cfg(dox)] { [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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 value: `rumprun` [INFO] [stdout] --> src/unix/mod.rs:284:47 [INFO] [stdout] | [INFO] [stdout] 284 | } else if #[cfg(all(target_os = "netbsd", target_vendor = "rumprun"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_vendor` are: `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/unix/mod.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | target_os = "bitrig"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/unix/mod.rs:929:25 [INFO] [stdout] | [INFO] [stdout] 929 | target_os = "bitrig"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(dox))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/mod.rs:806:1 [INFO] [stdout] | [INFO] [stdout] 806 | / f! { [INFO] [stdout] 807 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 808 | | let fd = fd as usize; [INFO] [stdout] 809 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 867 | | } [INFO] [stdout] 868 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(dox)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/mod.rs:806:1 [INFO] [stdout] | [INFO] [stdout] 806 | / f! { [INFO] [stdout] 807 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 808 | | let fd = fd as usize; [INFO] [stdout] 809 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 867 | | } [INFO] [stdout] 868 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] 319 + pub const LC_CTYPE_MASK: ::c_int = 1 << LC_CTYPE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] 320 + pub const LC_NUMERIC_MASK: ::c_int = 1 << LC_NUMERIC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 321 - pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] 321 + pub const LC_TIME_MASK: ::c_int = 1 << LC_TIME; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 322 - pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] 322 + pub const LC_COLLATE_MASK: ::c_int = 1 << LC_COLLATE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] 323 + pub const LC_MONETARY_MASK: ::c_int = 1 << LC_MONETARY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] 324 + pub const LC_MESSAGES_MASK: ::c_int = 1 << LC_MESSAGES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | $($body);* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(dox))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/linux/mod.rs:1038:1 [INFO] [stdout] | [INFO] [stdout] 1038 | / f! { [INFO] [stdout] 1039 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 1040 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 1041 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 1092 | | } [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(dox)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/linux/mod.rs:1038:1 [INFO] [stdout] | [INFO] [stdout] 1038 | / f! { [INFO] [stdout] 1039 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 1040 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 1041 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 1092 | | } [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] 217 + pub const LC_PAPER_MASK: ::c_int = 1 << LC_PAPER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] 218 + pub const LC_NAME_MASK: ::c_int = 1 << LC_NAME; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] 219 + pub const LC_ADDRESS_MASK: ::c_int = 1 << LC_ADDRESS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:220:40 [INFO] [stdout] | [INFO] [stdout] 220 | pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 220 - pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] 220 + pub const LC_TELEPHONE_MASK: ::c_int = 1 << LC_TELEPHONE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] 221 + pub const LC_MEASUREMENT_MASK: ::c_int = 1 << LC_MEASUREMENT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] 222 + pub const LC_IDENTIFICATION_MASK: ::c_int = 1 << LC_IDENTIFICATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.1 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #![cfg_attr(dox, feature(no_core, lang_items))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(dox, no_core)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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 value: `bitrig` [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #![cfg_attr(target_os = "bitrig", doc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asmjs` [INFO] [stdout] --> src/lib.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | #![cfg_attr(all(target_os = "emscripten", target_arch = "asmjs"), doc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `xparc64` [INFO] [stdout] --> src/lib.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | #![cfg_attr(all(target_os = "linux", target_arch = "xparc64"), doc( [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"sparc64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | #![cfg_attr(feature = "stdbuild", feature(no_std, staged_api, custom_attribute, cfg_target_vendor))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | #![cfg_attr(feature = "stdbuild", feature(link_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | #![cfg_attr(feature = "stdbuild", no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | #![cfg_attr(feature = "stdbuild", staged_api)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | #![cfg_attr(feature = "stdbuild", allow(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdbuild` [INFO] [stdout] --> src/lib.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | #![cfg_attr(feature = "stdbuild", unstable(feature = "libc", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `use_std` [INFO] [stdout] = help: consider adding `stdbuild` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/lib.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(all(not(dox), feature = "use_std"))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/dox.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(dox))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/dox.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(dox)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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: `dox` [INFO] [stdout] --> src/unix/mod.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | if #[cfg(dox)] { [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` 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 value: `rumprun` [INFO] [stdout] --> src/unix/mod.rs:284:47 [INFO] [stdout] | [INFO] [stdout] 284 | } else if #[cfg(all(target_os = "netbsd", target_vendor = "rumprun"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_vendor` are: `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/unix/mod.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | target_os = "bitrig"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/unix/mod.rs:929:25 [INFO] [stdout] | [INFO] [stdout] 929 | target_os = "bitrig"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(dox))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/mod.rs:806:1 [INFO] [stdout] | [INFO] [stdout] 806 | / f! { [INFO] [stdout] 807 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 808 | | let fd = fd as usize; [INFO] [stdout] 809 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 867 | | } [INFO] [stdout] 868 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(dox)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/mod.rs:806:1 [INFO] [stdout] | [INFO] [stdout] 806 | / f! { [INFO] [stdout] 807 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 808 | | let fd = fd as usize; [INFO] [stdout] 809 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 867 | | } [INFO] [stdout] 868 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] 319 + pub const LC_CTYPE_MASK: ::c_int = 1 << LC_CTYPE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] 320 + pub const LC_NUMERIC_MASK: ::c_int = 1 << LC_NUMERIC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 321 - pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] 321 + pub const LC_TIME_MASK: ::c_int = 1 << LC_TIME; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 322 - pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] 322 + pub const LC_COLLATE_MASK: ::c_int = 1 << LC_COLLATE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] 323 + pub const LC_MONETARY_MASK: ::c_int = 1 << LC_MONETARY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] 324 + pub const LC_MESSAGES_MASK: ::c_int = 1 << LC_MESSAGES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | $($body);* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(dox))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/linux/mod.rs:1038:1 [INFO] [stdout] | [INFO] [stdout] 1038 | / f! { [INFO] [stdout] 1039 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 1040 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 1041 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 1092 | | } [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/macros.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(dox)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] ::: src/unix/notbsd/linux/mod.rs:1038:1 [INFO] [stdout] | [INFO] [stdout] 1038 | / f! { [INFO] [stdout] 1039 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 1040 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 1041 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 1092 | | } [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_- in this macro invocation [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(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] 217 + pub const LC_PAPER_MASK: ::c_int = 1 << LC_PAPER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] 218 + pub const LC_NAME_MASK: ::c_int = 1 << LC_NAME; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] 219 + pub const LC_ADDRESS_MASK: ::c_int = 1 << LC_ADDRESS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:220:40 [INFO] [stdout] | [INFO] [stdout] 220 | pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 220 - pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] 220 + pub const LC_TELEPHONE_MASK: ::c_int = 1 << LC_TELEPHONE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] 221 + pub const LC_MEASUREMENT_MASK: ::c_int = 1 << LC_MEASUREMENT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] 222 + pub const LC_IDENTIFICATION_MASK: ::c_int = 1 << LC_IDENTIFICATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling extprim v1.4.0 [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.16 [INFO] [stderr] Compiling serde v1.0.16 [INFO] [stderr] Compiling syntex_pos v0.59.1 [INFO] [stderr] Compiling serde_json v1.0.4 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/extprim-1.4.0/src/lib.rs:60:76 [INFO] [stdout] | [INFO] [stdout] 60 | #![cfg_attr(extprim_channel="unstable", feature(asm, test, specialization, const_fn, i128_type))] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/extprim-1.4.0/src/u128.rs:872:9 [INFO] [stdout] | [INFO] [stdout] 872 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extprim` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "794b40999b95d22340342c996c5430ad59ce522b94a8a29d14f62df1e565201e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794b40999b95d22340342c996c5430ad59ce522b94a8a29d14f62df1e565201e", kill_on_drop: false }` [INFO] [stdout] 794b40999b95d22340342c996c5430ad59ce522b94a8a29d14f62df1e565201e