[INFO] fetching crate lector 0.2.1... [INFO] checking lector-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lector 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate lector 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adb443ec9eebdf30090f7ccd8d3fcafb8316d6cc7bf01067f4698946553201a3 [INFO] running `Command { std: "docker" "start" "-a" "adb443ec9eebdf30090f7ccd8d3fcafb8316d6cc7bf01067f4698946553201a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adb443ec9eebdf30090f7ccd8d3fcafb8316d6cc7bf01067f4698946553201a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb443ec9eebdf30090f7ccd8d3fcafb8316d6cc7bf01067f4698946553201a3", kill_on_drop: false }` [INFO] [stdout] adb443ec9eebdf30090f7ccd8d3fcafb8316d6cc7bf01067f4698946553201a3 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f7e15ebcec18ae77965220427107fadd9ea0251b7d82d181698ef444754796d [INFO] running `Command { std: "docker" "start" "-a" "5f7e15ebcec18ae77965220427107fadd9ea0251b7d82d181698ef444754796d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling rlua v0.19.8 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking signal-hook-registry v1.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 dirs-sys v0.4.1 [INFO] [stderr] Compiling rlua-lua54-sys v0.1.6 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking vt100 v0.15.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking termsize v0.1.6 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking vte v0.13.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [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] 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/lua/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn setup(init_lua_file: PathBuf, screen_reader: &mut ScreenReader, after: F) -> Result<()> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | let lua = Lua::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | lua.context(|ctx| { [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | let globals = ctx.globals(); [INFO] [stdout] 18 | | ctx.scope(|scope| { [INFO] [stdout] 19 | | let tbl_lector = ctx.create_table()?; [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] 38 | | }) [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/lua/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn setup(init_lua_file: PathBuf, screen_reader: &mut ScreenReader, after: F) -> Result<()> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | let lua = Lua::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | lua.context(|ctx| { [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | let globals = ctx.globals(); [INFO] [stdout] 18 | | ctx.scope(|scope| { [INFO] [stdout] 19 | | let tbl_lector = ctx.create_table()?; [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] 38 | | }) [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/lua/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn setup(init_lua_file: PathBuf, screen_reader: &mut ScreenReader, after: F) -> Result<()> [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let globals = ctx.globals(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ctx.scope(|scope| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 19 | | let tbl_lector = ctx.create_table()?; [INFO] [stdout] 20 | | let tbl_api = ctx.create_table()?; [INFO] [stdout] 21 | | add_callbacks(&tbl_api, &scope, &sr)?; [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(()) [INFO] [stdout] 37 | | }) [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/lua/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 47 | let mut f = File::open(path) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | ctx.load(&s).set_name(&path_string)?.into_function() [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] | [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/lua/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut sr = screen_reader.borrow_mut(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | sr.speech.speak(&text, interrupt).to_lua_result() [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/lua/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn setup(init_lua_file: PathBuf, screen_reader: &mut ScreenReader, after: F) -> Result<()> [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let globals = ctx.globals(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ctx.scope(|scope| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 19 | | let tbl_lector = ctx.create_table()?; [INFO] [stdout] 20 | | let tbl_api = ctx.create_table()?; [INFO] [stdout] 21 | | add_callbacks(&tbl_api, &scope, &sr)?; [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(()) [INFO] [stdout] 37 | | }) [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/lua/meta.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | scope.create_function_mut(|_, (key, value): (String, rlua::Value)| { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let mut sr = screen_reader.borrow_mut(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | set_option(&mut sr, &key, value).to_lua_result() [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/lua/meta.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 36 | let sr = screen_reader.borrow(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | get_option(ctx, &sr, &key).to_lua_result() [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/lua/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 47 | let mut f = File::open(path) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | ctx.load(&s).set_name(&path_string)?.into_function() [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] | [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/lua/meta.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | fn set_option(sr: &mut ScreenReader, option: &str, value: rlua::Value) -> anyhow::Result<()> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | use rlua::Value::*; [INFO] [stdout] 104 | / match option { [INFO] [stdout] 105 | | "speech_rate" => match value { [INFO] [stdout] 106 | | Number(v) => sr.speech.set_rate(v as f32), [INFO] [stdout] 107 | | _ => Err(anyhow!("value must be a number")), [INFO] [stdout] ... | [INFO] [stdout] 137 | | _ => Err(anyhow!("unknown option")), [INFO] [stdout] 138 | | } [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/lua/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut sr = screen_reader.borrow_mut(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | sr.speech.speak(&text, interrupt).to_lua_result() [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/lua/meta.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | scope.create_function_mut(|_, (key, value): (String, rlua::Value)| { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let mut sr = screen_reader.borrow_mut(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | set_option(&mut sr, &key, value).to_lua_result() [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/lua/meta.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 36 | let sr = screen_reader.borrow(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | get_option(ctx, &sr, &key).to_lua_result() [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/lua/meta.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | fn set_option(sr: &mut ScreenReader, option: &str, value: rlua::Value) -> anyhow::Result<()> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | use rlua::Value::*; [INFO] [stdout] 104 | / match option { [INFO] [stdout] 105 | | "speech_rate" => match value { [INFO] [stdout] 106 | | Number(v) => sr.speech.set_rate(v as f32), [INFO] [stdout] 107 | | _ => Err(anyhow!("value must be a number")), [INFO] [stdout] ... | [INFO] [stdout] 137 | | _ => Err(anyhow!("unknown option")), [INFO] [stdout] 138 | | } [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: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lector` (lib) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lector` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f7e15ebcec18ae77965220427107fadd9ea0251b7d82d181698ef444754796d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7e15ebcec18ae77965220427107fadd9ea0251b7d82d181698ef444754796d", kill_on_drop: false }` [INFO] [stdout] 5f7e15ebcec18ae77965220427107fadd9ea0251b7d82d181698ef444754796d