[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#3139ff09e9d07f7700f8d15ed25a231e29c43627 for pr-121848-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/thunderseethe/mira on toolchain 3139ff09e9d07f7700f8d15ed25a231e29c43627
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-1-tc1/source/Cargo.toml
[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" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86ff92dbdafcf9fe662e20ff51f02d7a98ad2c7fa77c07629fcb0949cac9f152
[INFO] running `Command { std: "docker" "start" "-a" "86ff92dbdafcf9fe662e20ff51f02d7a98ad2c7fa77c07629fcb0949cac9f152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86ff92dbdafcf9fe662e20ff51f02d7a98ad2c7fa77c07629fcb0949cac9f152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86ff92dbdafcf9fe662e20ff51f02d7a98ad2c7fa77c07629fcb0949cac9f152", kill_on_drop: false }`
[INFO] [stdout] 86ff92dbdafcf9fe662e20ff51f02d7a98ad2c7fa77c07629fcb0949cac9f152
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae7b5f0e166d22f817371b51c27cfbbb0c4a33f992aeb0ef3b2e54a8b91e4f28
[INFO] running `Command { std: "docker" "start" "-a" "ae7b5f0e166d22f817371b51c27cfbbb0c4a33f992aeb0ef3b2e54a8b91e4f28", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[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]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]     Checking downcast-rs v1.0.3
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]    Compiling pkg-config v0.3.12
[INFO] [stderr]     Checking stable_deref_trait v1.1.0
[INFO] [stderr]     Checking smallvec v0.6.3
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]     Checking remove_dir_all v0.5.1
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking lock_api v0.1.3
[INFO] [stderr]     Checking percent-encoding v1.0.1
[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]    Compiling x11-dl v2.18.0
[INFO] [stderr]    Compiling wayland-scanner v0.20.11
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking parking_lot_core v0.2.14
[INFO] [stderr]    Compiling wayland-client v0.20.11
[INFO] [stderr]    Compiling wayland-protocols v0.20.11
[INFO] [stderr]     Checking parking_lot v0.6.3
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]    Compiling glutin v0.17.0
[INFO] [stderr]     Checking tempfile v3.0.3
[INFO] [stderr]     Checking wayland-sys v0.20.11
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]     Checking errno v0.2.4
[INFO] [stderr]     Checking wayland-commons v0.20.11
[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: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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: `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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: 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: 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: 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: 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: 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<S>(program: S, args: Vec<String>) -> Shell<'a>
[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<S>(program: S, args: Vec<String>) -> Shell<'a>
[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<T>` 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: 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<T>` 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: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.90s
[INFO] running `Command { std: "docker" "inspect" "ae7b5f0e166d22f817371b51c27cfbbb0c4a33f992aeb0ef3b2e54a8b91e4f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae7b5f0e166d22f817371b51c27cfbbb0c4a33f992aeb0ef3b2e54a8b91e4f28", kill_on_drop: false }`
[INFO] [stdout] ae7b5f0e166d22f817371b51c27cfbbb0c4a33f992aeb0ef3b2e54a8b91e4f28
