[INFO] cloning repository https://github.com/thunderseethe/mira [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thunderseethe/mira" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c7ca1b3178c4ea9d477d097a7b334c04a2089a6 [INFO] checking thunderseethe/mira against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thunderseethe/mira [INFO] finished tweaking git repo https://github.com/thunderseethe/mira [INFO] tweaked toml for git repo https://github.com/thunderseethe/mira written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thunderseethe/mira on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thunderseethe/mira 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.18.0 [INFO] [stderr] Downloaded objc v0.2.3 [INFO] [stderr] Downloaded wayland-scanner v0.20.11 [INFO] [stderr] Downloaded wayland-commons v0.20.11 [INFO] [stderr] Downloaded wayland-client v0.20.11 [INFO] [stderr] Downloaded wayland-protocols v0.20.11 [INFO] [stderr] Downloaded wayland-sys v0.20.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d4e57bfd84124da0fd5bfa085581a6fefcd03dee8f19a4ededf5ea93178f797 [INFO] running `Command { std: "docker" "start" "-a" "6d4e57bfd84124da0fd5bfa085581a6fefcd03dee8f19a4ededf5ea93178f797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d4e57bfd84124da0fd5bfa085581a6fefcd03dee8f19a4ededf5ea93178f797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4e57bfd84124da0fd5bfa085581a6fefcd03dee8f19a4ededf5ea93178f797", kill_on_drop: false }` [INFO] [stdout] 6d4e57bfd84124da0fd5bfa085581a6fefcd03dee8f19a4ededf5ea93178f797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d536cc642968e730766795a8b40a57f2344653120cd6d24e0e161be7513a8ee1 [INFO] running `Command { std: "docker" "start" "-a" "d536cc642968e730766795a8b40a57f2344653120cd6d24e0e161be7513a8ee1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Compiling wayland-scanner v0.20.11 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Compiling wayland-client v0.20.11 [INFO] [stderr] Compiling wayland-protocols v0.20.11 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.11 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking wayland-commons v0.20.11 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking tempfile v3.0.3 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking symare v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OsStr` [INFO] [stdout] --> src/tty.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, OsStr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tty.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/tty.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsStr` [INFO] [stdout] --> src/tty.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CStr, OsStr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tty.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/tty.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | builder.before_exec(move || { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/tty.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/tty.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | builder.before_exec(move || { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buf: [u8; 1024] = [0; 1024]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_count` [INFO] [stdout] --> src/main.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(read_count) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buf: [u8; 1024] = [0; 1024]; [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: function `test_window` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_window() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_should_exit` is never used [INFO] [stdout] --> src/tty.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process_should_exit() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read [INFO] [stdout] --> src/tty.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct Passwd<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 122 | name: &'a str, [INFO] [stdout] 123 | passwd: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | uid: libc::uid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 125 | gid: libc::gid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 126 | gecos: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_args` is never used [INFO] [stdout] --> src/data.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Shell<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_with_args(program: S, args: Vec) -> Shell<'a> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/tty.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | die!("Waiting for pid {} failed: {}\n", PID, errno()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tty.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized [INFO] [stdout] --> src/tty.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buf: [u8; 1024] = [0; 1024]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_count` [INFO] [stdout] --> src/main.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(read_count) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buf: [u8; 1024] = [0; 1024]; [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: function `test_window` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_window() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_should_exit` is never used [INFO] [stdout] --> src/tty.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process_should_exit() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `passwd`, `uid`, `gid`, and `gecos` are never read [INFO] [stdout] --> src/tty.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct Passwd<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 122 | name: &'a str, [INFO] [stdout] 123 | passwd: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | uid: libc::uid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 125 | gid: libc::gid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 126 | gecos: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_args` is never used [INFO] [stdout] --> src/data.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Shell<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_with_args(program: S, args: Vec) -> Shell<'a> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/tty.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | die!("Waiting for pid {} failed: {}\n", PID, errno()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tty.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `passwd` does not permit being left uninitialized [INFO] [stdout] --> src/tty.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d536cc642968e730766795a8b40a57f2344653120cd6d24e0e161be7513a8ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d536cc642968e730766795a8b40a57f2344653120cd6d24e0e161be7513a8ee1", kill_on_drop: false }` [INFO] [stdout] d536cc642968e730766795a8b40a57f2344653120cd6d24e0e161be7513a8ee1