[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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] validating manifest of git repo https://github.com/thunderseethe/mira on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.20.11 [INFO] [stderr] Downloaded wayland-client v0.20.11 [INFO] [stderr] Downloaded pkg-config v0.3.12 [INFO] [stderr] Downloaded wayland-commons v0.20.11 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded wayland-scanner v0.20.11 [INFO] [stderr] Downloaded objc v0.2.3 [INFO] [stderr] Downloaded gleam v0.6.0 [INFO] [stderr] Downloaded core-foundation-sys v0.6.1 [INFO] [stderr] Downloaded core-foundation v0.6.1 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded x11-dl v2.18.0 [INFO] [stderr] Downloaded glutin v0.17.0 [INFO] [stderr] Downloaded wayland-protocols v0.20.11 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.6 [INFO] [stderr] Downloaded winit v0.16.2 [INFO] [stderr] Downloaded cocoa v0.15.0 [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded smallvec v0.6.3 [INFO] [stderr] Downloaded lazy_static v1.0.2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8985c9e128a707c30d5c4a7cc2af60c276eef42bba320af1a7159f36479d7052 [INFO] running `Command { std: "docker" "start" "-a" "8985c9e128a707c30d5c4a7cc2af60c276eef42bba320af1a7159f36479d7052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8985c9e128a707c30d5c4a7cc2af60c276eef42bba320af1a7159f36479d7052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8985c9e128a707c30d5c4a7cc2af60c276eef42bba320af1a7159f36479d7052", kill_on_drop: false }` [INFO] [stdout] 8985c9e128a707c30d5c4a7cc2af60c276eef42bba320af1a7159f36479d7052 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf26947581fb61b8dfe258ef7de02346a15069e9372702e29ed4f60efe7b3f55 [INFO] running `Command { std: "docker" "start" "-a" "bf26947581fb61b8dfe258ef7de02346a15069e9372702e29ed4f60efe7b3f55", 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 downcast-rs v1.0.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [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] Compiling nix v0.11.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking byteorder v1.2.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] Compiling x11-dl v2.18.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking errno v0.2.4 [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] Checking tempfile v3.0.3 [INFO] [stderr] Checking wayland-sys v0.20.11 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling gl v0.10.0 [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: 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)]` 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: 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: 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: 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: 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: 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: 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: 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.78s [INFO] running `Command { std: "docker" "inspect" "bf26947581fb61b8dfe258ef7de02346a15069e9372702e29ed4f60efe7b3f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf26947581fb61b8dfe258ef7de02346a15069e9372702e29ed4f60efe7b3f55", kill_on_drop: false }` [INFO] [stdout] bf26947581fb61b8dfe258ef7de02346a15069e9372702e29ed4f60efe7b3f55 [INFO] checking thunderseethe/mira against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthunderseethe%2Fmira" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thunderseethe/mira on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24d28136b3809ed622164de2204f743af2c4e8aeb52a2219eb65533d8ce8800d [INFO] running `Command { std: "docker" "start" "-a" "24d28136b3809ed622164de2204f743af2c4e8aeb52a2219eb65533d8ce8800d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24d28136b3809ed622164de2204f743af2c4e8aeb52a2219eb65533d8ce8800d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d28136b3809ed622164de2204f743af2c4e8aeb52a2219eb65533d8ce8800d", kill_on_drop: false }` [INFO] [stdout] 24d28136b3809ed622164de2204f743af2c4e8aeb52a2219eb65533d8ce8800d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ddfa7ebca8c4b42725431271fb5425861288e5f38140910cc930cebbb0f00be [INFO] running `Command { std: "docker" "start" "-a" "0ddfa7ebca8c4b42725431271fb5425861288e5f38140910cc930cebbb0f00be", 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 downcast-rs v1.0.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking scopeguard v0.3.3 [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.4.2 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Checking shared_library v0.1.9 [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] Checking errno v0.2.4 [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] Checking tempfile v3.0.3 [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 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: 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)]` 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: 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: 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: 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: 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: 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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tty.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 191 | let mut builder = Command::new(shell.program()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | match builder.spawn() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tty.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 191 | let mut builder = Command::new(shell.program()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | match builder.spawn() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `symare` (bin "symare" test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `symare` (bin "symare") due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ddfa7ebca8c4b42725431271fb5425861288e5f38140910cc930cebbb0f00be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ddfa7ebca8c4b42725431271fb5425861288e5f38140910cc930cebbb0f00be", kill_on_drop: false }` [INFO] [stdout] 0ddfa7ebca8c4b42725431271fb5425861288e5f38140910cc930cebbb0f00be