[INFO] cloning repository https://github.com/MoonL1ght/Rust-Markov-Chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoonL1ght/Rust-Markov-Chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoonL1ght%2FRust-Markov-Chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoonL1ght%2FRust-Markov-Chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 861e76396c56712e12bf2265597ecccc678b64bf [INFO] building MoonL1ght/Rust-Markov-Chain against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoonL1ght%2FRust-Markov-Chain" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MoonL1ght/Rust-Markov-Chain on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MoonL1ght/Rust-Markov-Chain [INFO] finished tweaking git repo https://github.com/MoonL1ght/Rust-Markov-Chain [INFO] tweaked toml for git repo https://github.com/MoonL1ght/Rust-Markov-Chain written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MoonL1ght/Rust-Markov-Chain 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b265a3735416defb4ac87ef6ecc33dd048318cbbbcfc35a768a9117e753b3ab1 [INFO] running `Command { std: "docker" "start" "-a" "b265a3735416defb4ac87ef6ecc33dd048318cbbbcfc35a768a9117e753b3ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b265a3735416defb4ac87ef6ecc33dd048318cbbbcfc35a768a9117e753b3ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b265a3735416defb4ac87ef6ecc33dd048318cbbbcfc35a768a9117e753b3ab1", kill_on_drop: false }` [INFO] [stdout] b265a3735416defb4ac87ef6ecc33dd048318cbbbcfc35a768a9117e753b3ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d02921a1d8d508a651d4a74e228d573081213cb23961853fe1c4dafc46aaf32 [INFO] running `Command { std: "docker" "start" "-a" "9d02921a1d8d508a651d4a74e228d573081213cb23961853fe1c4dafc46aaf32", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 (/opt/rustwide/workdir/libs/libc) [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> libs/libc/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] --> libs/libc/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] --> libs/libc/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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | #![cfg_attr(stdbuild, feature(no_std, core, core_slice_ext, staged_api, custom_attribute, cfg_target_vendor))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `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`, `ub_checks`, `unix`, and `windows` [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | #![cfg_attr(stdbuild, feature(link_cfg))] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | #![cfg_attr(stdbuild, no_std)] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | #![cfg_attr(stdbuild, staged_api)] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | #![cfg_attr(stdbuild, allow(warnings))] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #![cfg_attr(stdbuild, unstable(feature = "libc", [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(all(not(stdbuild), not(dox), feature = "use_std"))] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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] --> libs/libc/src/lib.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(all(not(stdbuild), 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] --> libs/libc/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] --> libs/libc/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] --> libs/libc/src/unix/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | 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 name: `stdbuild` [INFO] [stdout] --> libs/libc/src/unix/mod.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | } else if #[cfg(all(not(stdbuild), feature = "use_std"))] { [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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] --> libs/libc/src/unix/mod.rs:219:47 [INFO] [stdout] | [INFO] [stdout] 219 | } 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] --> libs/libc/src/unix/mod.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | 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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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] --> libs/libc/src/unix/mod.rs:852:25 [INFO] [stdout] | [INFO] [stdout] 852 | 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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/mod.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / f! { [INFO] [stdout] 757 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 758 | | let fd = fd as usize; [INFO] [stdout] 759 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 814 | | } [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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/mod.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / f! { [INFO] [stdout] 757 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 758 | | let fd = fd as usize; [INFO] [stdout] 759 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 814 | | } [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] --> libs/libc/src/unix/notbsd/mod.rs:313:36 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 313 - pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] 313 + 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] --> libs/libc/src/unix/notbsd/mod.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] 314 + 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] --> libs/libc/src/unix/notbsd/mod.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] 315 + 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] --> libs/libc/src/unix/notbsd/mod.rs:316:38 [INFO] [stdout] | [INFO] [stdout] 316 | pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] 316 + 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] --> libs/libc/src/unix/notbsd/mod.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 - pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] 317 + 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] --> libs/libc/src/unix/notbsd/mod.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 - pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] 318 + pub const LC_MESSAGES_MASK: ::c_int = 1 << LC_MESSAGES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> libs/libc/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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/linux/mod.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | / f! { [INFO] [stdout] 696 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 697 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 698 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 725 | | } [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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/linux/mod.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | / f! { [INFO] [stdout] 696 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 697 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 698 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 725 | | } [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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 213 - pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] 213 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] 214 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 - pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] 215 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] 216 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:217:42 [INFO] [stdout] | [INFO] [stdout] 217 | pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] 217 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] 218 + pub const LC_IDENTIFICATION_MASK: ::c_int = 1 << LC_IDENTIFICATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.3.15 (/opt/rustwide/workdir/libs/rand) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> libs/rand/src/distributions/gamma.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | 0.0 ... 1.0 => Small(GammaSmallShape::new_raw(shape, scale)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> libs/rand/src/distributions/mod.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn ind_sample(&self, &mut R) -> Support; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> libs/rand/src/os.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | not(target_os = "nacl"), [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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [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 value: `nacl` [INFO] [stdout] --> libs/rand/src/os.rs:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(target_os = "nacl")] [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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> libs/rand/src/os.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | let reader = try!(File::open("/dev/urandom")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> libs/rand/src/read.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | match try!(r.read(buf)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> libs/rand/src/lib.rs:668:26 [INFO] [stdout] | [INFO] [stdout] 668 | fn reseed(&mut self, Seed); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Seed` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | static CHECKER: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 147 | static CHECKER: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | static AVAILABLE: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 148 | static AVAILABLE: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/rand/src/os.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | fn next_u32(mut fill_buf: &mut FnMut(&mut [u8])) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn next_u32(mut fill_buf: &mut dyn FnMut(&mut [u8])) -> u32 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/rand/src/os.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_u64(mut fill_buf: &mut FnMut(&mut [u8])) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn next_u64(mut fill_buf: &mut dyn FnMut(&mut [u8])) -> u64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/rand/src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | fn fill(r: &mut Read, mut buf: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | fn fill(r: &mut dyn Read, mut buf: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libs/rand/src/os.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | fn next_u32(mut fill_buf: &mut FnMut(&mut [u8])) -> u32 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libs/rand/src/os.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_u64(mut fill_buf: &mut FnMut(&mut [u8])) -> u64 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling markov_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | panic!("{:?}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "9d02921a1d8d508a651d4a74e228d573081213cb23961853fe1c4dafc46aaf32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d02921a1d8d508a651d4a74e228d573081213cb23961853fe1c4dafc46aaf32", kill_on_drop: false }` [INFO] [stdout] 9d02921a1d8d508a651d4a74e228d573081213cb23961853fe1c4dafc46aaf32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be615e1f7b46046309cf84da4d0ca18e6cd35dfb32faa398619ee19c5565dead [INFO] running `Command { std: "docker" "start" "-a" "be615e1f7b46046309cf84da4d0ca18e6cd35dfb32faa398619ee19c5565dead", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> libs/libc/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] --> libs/libc/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] --> libs/libc/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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | #![cfg_attr(stdbuild, feature(no_std, core, core_slice_ext, staged_api, custom_attribute, cfg_target_vendor))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `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`, `ub_checks`, `unix`, and `windows` [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | #![cfg_attr(stdbuild, feature(link_cfg))] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | #![cfg_attr(stdbuild, no_std)] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | #![cfg_attr(stdbuild, staged_api)] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | #![cfg_attr(stdbuild, allow(warnings))] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #![cfg_attr(stdbuild, unstable(feature = "libc", [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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: `stdbuild` [INFO] [stdout] --> libs/libc/src/lib.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(all(not(stdbuild), not(dox), feature = "use_std"))] [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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] --> libs/libc/src/lib.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(all(not(stdbuild), 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] --> libs/libc/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] --> libs/libc/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] --> libs/libc/src/unix/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | 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 name: `stdbuild` [INFO] [stdout] --> libs/libc/src/unix/mod.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | } else if #[cfg(all(not(stdbuild), feature = "use_std"))] { [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(stdbuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stdbuild)");` 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] --> libs/libc/src/unix/mod.rs:219:47 [INFO] [stdout] | [INFO] [stdout] 219 | } 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] --> libs/libc/src/unix/mod.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | 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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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] --> libs/libc/src/unix/mod.rs:852:25 [INFO] [stdout] | [INFO] [stdout] 852 | 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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/mod.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / f! { [INFO] [stdout] 757 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 758 | | let fd = fd as usize; [INFO] [stdout] 759 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 814 | | } [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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/mod.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / f! { [INFO] [stdout] 757 | | pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { [INFO] [stdout] 758 | | let fd = fd as usize; [INFO] [stdout] 759 | | let size = mem::size_of_val(&(*set).fds_bits[0]) * 8; [INFO] [stdout] ... | [INFO] [stdout] 814 | | } [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] --> libs/libc/src/unix/notbsd/mod.rs:313:36 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 313 - pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] 313 + 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] --> libs/libc/src/unix/notbsd/mod.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] 314 + 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] --> libs/libc/src/unix/notbsd/mod.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] 315 + 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] --> libs/libc/src/unix/notbsd/mod.rs:316:38 [INFO] [stdout] | [INFO] [stdout] 316 | pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] 316 + 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] --> libs/libc/src/unix/notbsd/mod.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 - pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] 317 + 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] --> libs/libc/src/unix/notbsd/mod.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 - pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] 318 + pub const LC_MESSAGES_MASK: ::c_int = 1 << LC_MESSAGES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> libs/libc/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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/linux/mod.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | / f! { [INFO] [stdout] 696 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 697 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 698 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 725 | | } [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] --> libs/libc/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] ::: libs/libc/src/unix/notbsd/linux/mod.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | / f! { [INFO] [stdout] 696 | | pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { [INFO] [stdout] 697 | | for slot in cpuset.bits.iter_mut() { [INFO] [stdout] 698 | | *slot = 0; [INFO] [stdout] ... | [INFO] [stdout] 725 | | } [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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 213 - pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] 213 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] 214 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 - pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] 215 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] 216 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:217:42 [INFO] [stdout] | [INFO] [stdout] 217 | pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] 217 + 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] --> libs/libc/src/unix/notbsd/linux/other/mod.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] 218 + pub const LC_IDENTIFICATION_MASK: ::c_int = 1 << LC_IDENTIFICATION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling markov_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> libs/rand/src/distributions/gamma.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | 0.0 ... 1.0 => Small(GammaSmallShape::new_raw(shape, scale)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> libs/rand/src/distributions/mod.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn ind_sample(&self, &mut R) -> Support; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> libs/rand/src/os.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | not(target_os = "nacl"), [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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [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 value: `nacl` [INFO] [stdout] --> libs/rand/src/os.rs:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(target_os = "nacl")] [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`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> libs/rand/src/os.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | let reader = try!(File::open("/dev/urandom")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> libs/rand/src/read.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | match try!(r.read(buf)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> libs/rand/src/lib.rs:668:26 [INFO] [stdout] | [INFO] [stdout] 668 | fn reseed(&mut self, Seed); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Seed` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | static CHECKER: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 147 | static CHECKER: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> libs/rand/src/os.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | static AVAILABLE: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 148 | static AVAILABLE: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/rand/src/os.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | fn next_u32(mut fill_buf: &mut FnMut(&mut [u8])) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn next_u32(mut fill_buf: &mut dyn FnMut(&mut [u8])) -> u32 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/rand/src/os.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_u64(mut fill_buf: &mut FnMut(&mut [u8])) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn next_u64(mut fill_buf: &mut dyn FnMut(&mut [u8])) -> u64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/rand/src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | fn fill(r: &mut Read, mut buf: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | fn fill(r: &mut dyn Read, mut buf: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libs/rand/src/os.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | fn next_u32(mut fill_buf: &mut FnMut(&mut [u8])) -> u32 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libs/rand/src/os.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_u64(mut fill_buf: &mut FnMut(&mut [u8])) -> u64 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | panic!("{:?}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "be615e1f7b46046309cf84da4d0ca18e6cd35dfb32faa398619ee19c5565dead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be615e1f7b46046309cf84da4d0ca18e6cd35dfb32faa398619ee19c5565dead", kill_on_drop: false }` [INFO] [stdout] be615e1f7b46046309cf84da4d0ca18e6cd35dfb32faa398619ee19c5565dead