[INFO] cloning repository https://github.com/a5ob7r/toyterm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a5ob7r/toyterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa5ob7r%2Ftoyterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa5ob7r%2Ftoyterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3f0d3c20c654cb3dc33f66ed2fa476c3886006 [INFO] checking a5ob7r/toyterm against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa5ob7r%2Ftoyterm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a5ob7r/toyterm 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/a5ob7r/toyterm [INFO] finished tweaking git repo https://github.com/a5ob7r/toyterm [INFO] tweaked toml for git repo https://github.com/a5ob7r/toyterm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/a5ob7r/toyterm 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fd62118d13e166799a988fa85994e67757248ce54e88f4937a8b23118e08ba6a [INFO] running `Command { std: "docker" "start" "-a" "fd62118d13e166799a988fa85994e67757248ce54e88f4937a8b23118e08ba6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd62118d13e166799a988fa85994e67757248ce54e88f4937a8b23118e08ba6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd62118d13e166799a988fa85994e67757248ce54e88f4937a8b23118e08ba6a", kill_on_drop: false }` [INFO] [stdout] fd62118d13e166799a988fa85994e67757248ce54e88f4937a8b23118e08ba6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0420cd73403f6b286e9a3158d93f6f593622a0d08b48ae0b75858930fe915a4b [INFO] running `Command { std: "docker" "start" "-a" "0420cd73403f6b286e9a3158d93f6f593622a0d08b48ae0b75858930fe915a4b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking toyterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `screen`, `root`, and `cmap` are never read [INFO] [stdout] --> src/main.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct X11 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 198 | display: *mut xlib::Display, [INFO] [stdout] 199 | screen: raw::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 200 | root: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | cmap: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `X11` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen`, `root`, and `cmap` are never read [INFO] [stdout] --> src/main.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct X11 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 198 | display: *mut xlib::Display, [INFO] [stdout] 199 | screen: raw::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 200 | root: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | cmap: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `X11` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XColor` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | let mut color = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XColor` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | let mut color = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "0420cd73403f6b286e9a3158d93f6f593622a0d08b48ae0b75858930fe915a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0420cd73403f6b286e9a3158d93f6f593622a0d08b48ae0b75858930fe915a4b", kill_on_drop: false }` [INFO] [stdout] 0420cd73403f6b286e9a3158d93f6f593622a0d08b48ae0b75858930fe915a4b [INFO] checking a5ob7r/toyterm 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%2Fa5ob7r%2Ftoyterm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a5ob7r/toyterm 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/a5ob7r/toyterm [INFO] finished tweaking git repo https://github.com/a5ob7r/toyterm [INFO] tweaked toml for git repo https://github.com/a5ob7r/toyterm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/a5ob7r/toyterm 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4595fb8c8ac753e5f3ed0d27119b508b8a0d41c358ab27330e5e5e54eb9d2138 [INFO] running `Command { std: "docker" "start" "-a" "4595fb8c8ac753e5f3ed0d27119b508b8a0d41c358ab27330e5e5e54eb9d2138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4595fb8c8ac753e5f3ed0d27119b508b8a0d41c358ab27330e5e5e54eb9d2138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4595fb8c8ac753e5f3ed0d27119b508b8a0d41c358ab27330e5e5e54eb9d2138", kill_on_drop: false }` [INFO] [stdout] 4595fb8c8ac753e5f3ed0d27119b508b8a0d41c358ab27330e5e5e54eb9d2138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 023d5c0cb3d05064d0abb6cabb2b60ea9cdb94c97d32fc673c4676716449e85b [INFO] running `Command { std: "docker" "start" "-a" "023d5c0cb3d05064d0abb6cabb2b60ea9cdb94c97d32fc673c4676716449e85b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking toyterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `screen`, `root`, and `cmap` are never read [INFO] [stdout] --> src/main.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct X11 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 198 | display: *mut xlib::Display, [INFO] [stdout] 199 | screen: raw::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 200 | root: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | cmap: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `X11` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen`, `root`, and `cmap` are never read [INFO] [stdout] --> src/main.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct X11 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 198 | display: *mut xlib::Display, [INFO] [stdout] 199 | screen: raw::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 200 | root: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | cmap: raw::c_ulong, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `X11` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 58 | let master = pty::posix_openpt(OFlag::O_RDWR | OFlag::O_NOCTTY)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { master, slave }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 58 | let master = pty::posix_openpt(OFlag::O_RDWR | OFlag::O_NOCTTY)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { master, slave }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/main.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 233 | let font_name = ffi::CString::new("fixed")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let font = unsafe { xlib::XLoadQueryFont(display, font_name.as_ptr()) }; [INFO] [stdout] 235 | let c = ffi::CString::new("m")?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let bg = ffi::CString::new("#000000")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let fg = ffi::CString::new("#aaaaaa")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | let term = Term::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | let title = ffi::CString::new("toyterm")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 299 | | display, [INFO] [stdout] 300 | | screen, [INFO] [stdout] 301 | | root, [INFO] [stdout] ... | [INFO] [stdout] 313 | | gc, [INFO] [stdout] 314 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/main.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 233 | let font_name = ffi::CString::new("fixed")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let font = unsafe { xlib::XLoadQueryFont(display, font_name.as_ptr()) }; [INFO] [stdout] 235 | let c = ffi::CString::new("m")?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let bg = ffi::CString::new("#000000")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let fg = ffi::CString::new("#aaaaaa")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | let term = Term::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | let title = ffi::CString::new("toyterm")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 299 | | display, [INFO] [stdout] 300 | | screen, [INFO] [stdout] 301 | | root, [INFO] [stdout] ... | [INFO] [stdout] 313 | | gc, [INFO] [stdout] 314 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XColor` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | let mut color = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XColor` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | let mut color = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { mem::MaybeUninit::uninit().assume_init() }; [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: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toyterm` (bin "toyterm") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `toyterm` (bin "toyterm" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "023d5c0cb3d05064d0abb6cabb2b60ea9cdb94c97d32fc673c4676716449e85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023d5c0cb3d05064d0abb6cabb2b60ea9cdb94c97d32fc673c4676716449e85b", kill_on_drop: false }` [INFO] [stdout] 023d5c0cb3d05064d0abb6cabb2b60ea9cdb94c97d32fc673c4676716449e85b