[INFO] fetching crate lector 0.2.1... [INFO] checking lector-0.2.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate lector 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate lector 0.2.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lector 0.2.1 [INFO] finished tweaking crates.io crate lector 0.2.1 [INFO] tweaked toml for crates.io crate lector 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate lector 0.2.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7c5c2f458b766e267241448fbbeb13968736773688685f2ab48d8b2b69bf64b [INFO] running `Command { std: "docker" "start" "-a" "c7c5c2f458b766e267241448fbbeb13968736773688685f2ab48d8b2b69bf64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7c5c2f458b766e267241448fbbeb13968736773688685f2ab48d8b2b69bf64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c5c2f458b766e267241448fbbeb13968736773688685f2ab48d8b2b69bf64b", kill_on_drop: false }` [INFO] [stdout] c7c5c2f458b766e267241448fbbeb13968736773688685f2ab48d8b2b69bf64b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96aa91cbb7b03be80d43a069153d9e9f20ae8f81cb421603f9eccf7131a7b23f [INFO] running `Command { std: "docker" "start" "-a" "96aa91cbb7b03be80d43a069153d9e9f20ae8f81cb421603f9eccf7131a7b23f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling rlua v0.19.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking vte v0.13.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking termsize v0.1.6 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling rlua-lua54-sys v0.1.6 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking vt100 v0.15.2 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking emojis v0.6.1 [INFO] [stderr] Checking ptyprocess v0.4.1 [INFO] [stderr] Checking clap v4.4.13 [INFO] [stderr] Checking lector v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lua/meta.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn setup<'lua, 'scope>( [INFO] [stdout] 8 | | ctx: &Context<'lua>, [INFO] [stdout] 9 | | scope: &Scope<'lua, 'scope>, [INFO] [stdout] 10 | | sr: &'scope RefCell<&mut ScreenReader>, [INFO] [stdout] 11 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: LuaUserData` will fail [INFO] [stdout] --> src/lua/meta.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | .call(tbl_callbacks)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lua/meta.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn setup<'lua, 'scope>( [INFO] [stdout] 8 | | ctx: &Context<'lua>, [INFO] [stdout] 9 | | scope: &Scope<'lua, 'scope>, [INFO] [stdout] 10 | | sr: &'scope RefCell<&mut ScreenReader>, [INFO] [stdout] 11 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: LuaUserData` will fail [INFO] [stdout] --> src/lua/meta.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | .call(tbl_callbacks)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lua/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub fn setup(init_lua_file: PathBuf, screen_reader: &mut ScreenReader, after: F) -> Result<()> [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | F: FnOnce(&mut ScreenReader) -> anyhow::Result<()>, [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: LuaUserData` will fail [INFO] [stdout] --> src/lua/mod.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | load_file(&ctx, &init_lua_file)?.call(())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lua/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub fn setup(init_lua_file: PathBuf, screen_reader: &mut ScreenReader, after: F) -> Result<()> [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | F: FnOnce(&mut ScreenReader) -> anyhow::Result<()>, [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: LuaUserData` will fail [INFO] [stdout] --> src/lua/mod.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | load_file(&ctx, &init_lua_file)?.call(())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `signal_hook::iterator::Pending` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:220:35 [INFO] [stdout] | [INFO] [stdout] 109 | let mut pty_stream = process.get_pty_stream().context("get PTY stream")?; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let mut vte_parser = vte::Parser::new(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let ansi_csi_re = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut signals = Signals::new([SIGWINCH])?; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let mut poll = mio::Poll::new()?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let mut stdin = std::io::stdin().lock(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let mut stdout = std::io::stdout().lock(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | for signal in signals.pending() { [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: this value of type `signal_hook::iterator::Pending` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:220:35 [INFO] [stdout] | [INFO] [stdout] 109 | let mut pty_stream = process.get_pty_stream().context("get PTY stream")?; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let mut vte_parser = vte::Parser::new(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let ansi_csi_re = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut signals = Signals::new([SIGWINCH])?; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let mut poll = mio::Poll::new()?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let mut stdin = std::io::stdin().lock(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let mut stdout = std::io::stdout().lock(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | for signal in signals.pending() { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lector` (bin "lector") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lector` (bin "lector" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "96aa91cbb7b03be80d43a069153d9e9f20ae8f81cb421603f9eccf7131a7b23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96aa91cbb7b03be80d43a069153d9e9f20ae8f81cb421603f9eccf7131a7b23f", kill_on_drop: false }` [INFO] [stdout] 96aa91cbb7b03be80d43a069153d9e9f20ae8f81cb421603f9eccf7131a7b23f