[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/7c7ca1b3178c4ea9d477d097a7b334c04a2089a6 against master#67944d6bec6b8fbbc3870e5365ab73cf88a9de62 for pr-148545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thunderseethe/mira on toolchain 67944d6bec6b8fbbc3870e5365ab73cf88a9de62 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67944d6bec6b8fbbc3870e5365ab73cf88a9de62" "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" "+67944d6bec6b8fbbc3870e5365ab73cf88a9de62" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.20.11 [INFO] [stderr] Downloaded glutin v0.17.0 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded pkg-config v0.3.12 [INFO] [stderr] Downloaded wayland-client v0.20.11 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded core-foundation-sys v0.6.1 [INFO] [stderr] Downloaded android_glue v0.2.3 [INFO] [stderr] Downloaded gl v0.10.0 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded gleam v0.6.0 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded xml-rs v0.7.0 [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded wayland-protocols v0.20.11 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.6 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded winit v0.16.2 [INFO] [stderr] Downloaded rand v0.5.4 [INFO] [stderr] Downloaded tempfile v3.0.3 [INFO] [stderr] Downloaded x11-dl v2.18.0 [INFO] [stderr] Downloaded gl_generator v0.9.0 [INFO] [stderr] Downloaded cocoa v0.15.0 [INFO] [stderr] Downloaded smallvec v0.6.3 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded wayland-commons v0.20.11 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded core-foundation v0.6.1 [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded objc v0.2.3 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded lock_api v0.1.3 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded wayland-scanner v0.20.11 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+67944d6bec6b8fbbc3870e5365ab73cf88a9de62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ddc23e84d0f718cde9faced73cd2e6f19b2bc2787f0ba9aec8fcd1b39d09b07 [INFO] running `Command { std: "docker" "start" "-a" "4ddc23e84d0f718cde9faced73cd2e6f19b2bc2787f0ba9aec8fcd1b39d09b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ddc23e84d0f718cde9faced73cd2e6f19b2bc2787f0ba9aec8fcd1b39d09b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddc23e84d0f718cde9faced73cd2e6f19b2bc2787f0ba9aec8fcd1b39d09b07", kill_on_drop: false }` [INFO] [stdout] 4ddc23e84d0f718cde9faced73cd2e6f19b2bc2787f0ba9aec8fcd1b39d09b07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+67944d6bec6b8fbbc3870e5365ab73cf88a9de62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e3586f44e248bc7b9ba3c5aaf89bd30048eeebf8004e20a65f18f2aeecff049 [INFO] running `Command { std: "docker" "start" "-a" "0e3586f44e248bc7b9ba3c5aaf89bd30048eeebf8004e20a65f18f2aeecff049", 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 remove_dir_all v0.5.1 [INFO] [stderr] Checking scopeguard v0.3.3 [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 owning_ref v0.3.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.20.11 [INFO] [stderr] Compiling gl_generator v0.9.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] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.11 [INFO] [stderr] Checking wayland-commons v0.20.11 [INFO] [stderr] Compiling wayland-client v0.20.11 [INFO] [stderr] Compiling wayland-protocols v0.20.11 [INFO] [stderr] Checking tempfile v3.0.3 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.6.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: 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:52:9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:52:9 [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: direct cast of function item into an integer [INFO] [stdout] --> src/tty.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | libc::signal(SIGCHLD, sigchld as _); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 254 | libc::signal(SIGCHLD, sigchld as *const () as _); [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: direct cast of function item into an integer [INFO] [stdout] --> src/tty.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | libc::signal(SIGCHLD, sigchld as _); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 254 | libc::signal(SIGCHLD, sigchld as *const () as _); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.79s [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 2` [INFO] running `Command { std: "docker" "inspect" "0e3586f44e248bc7b9ba3c5aaf89bd30048eeebf8004e20a65f18f2aeecff049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3586f44e248bc7b9ba3c5aaf89bd30048eeebf8004e20a65f18f2aeecff049", kill_on_drop: false }` [INFO] [stdout] 0e3586f44e248bc7b9ba3c5aaf89bd30048eeebf8004e20a65f18f2aeecff049