[INFO] cloning repository https://github.com/dgkf/R [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgkf/R" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgkf%2FR", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgkf%2FR'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcbafb93afbebbd9ee254b75e13f33f8bca4832d [INFO] checking dgkf/R/fcbafb93afbebbd9ee254b75e13f33f8bca4832d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgkf%2FR" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgkf/R on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dgkf/R [INFO] finished tweaking git repo https://github.com/dgkf/R [INFO] tweaked toml for git repo https://github.com/dgkf/R written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dgkf/R 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9ee77246c022240d1ebf19658934edf63d61b9a791333b7ff4cb030a38467f6 [INFO] running `Command { std: "docker" "start" "-a" "a9ee77246c022240d1ebf19658934edf63d61b9a791333b7ff4cb030a38467f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ee77246c022240d1ebf19658934edf63d61b9a791333b7ff4cb030a38467f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ee77246c022240d1ebf19658934edf63d61b9a791333b7ff4cb030a38467f6", kill_on_drop: false }` [INFO] [stdout] a9ee77246c022240d1ebf19658934edf63d61b9a791333b7ff4cb030a38467f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 725fbe3ccfb9d51a31526fd631bbeaccf5a990f2cac39e2f3d5544a3060628c5 [INFO] running `Command { std: "docker" "start" "-a" "725fbe3ccfb9d51a31526fd631bbeaccf5a990f2cac39e2f3d5544a3060628c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling r_derive v0.1.0 (/tmp/fixit/r_derive) [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Compiling r v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.18 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking reedline v0.22.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `r` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/error.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | ( $x:expr_2021 ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | ( $x:expr ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ( $x:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/core.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some((Some(_), _)) = formals.remove_named(argname) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/core.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match formals.remove_named(argname) { Some((Some(_), _)) => { [INFO] [stdout] 52 | break 'inner; [INFO] [stdout] 53 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/core.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some((Some(param), _)) = next_unassigned_formal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/core.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match next_unassigned_formal { Some((Some(param), _)) => { [INFO] [stdout] 86 | matched_args [INFO] [stdout] 87 | .values [INFO] [stdout] 88 | .with_inner_mut(|vals| vals.push((Some(param), value))); [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | ellipsis [INFO] [stdout] 91 | .values [INFO] [stdout] 92 | .with_inner_mut(|vals| vals.push((None, value))); [INFO] [stdout] 93 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/core.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(Expr::Ellipsis(Some(name))) = remainder.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/core.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } else if !remainder.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match remainder.get(0) { Some(Expr::Ellipsis(Some(name))) => { [INFO] [stdout] 109 | matched_args [INFO] [stdout] 110 | .values [INFO] [stdout] 111 | .with_inner_mut(|v| v.push((Some(name), Obj::List(ellipsis.clone())))) [INFO] [stdout] 112 ~ } _ => if !remainder.is_empty() { [INFO] [stdout] 113 | matched_args [INFO] [stdout] 114 | .values [INFO] [stdout] 115 | .with_inner_mut(|v| v.push((Some("...".to_string()), Obj::List(ellipsis.clone())))) [INFO] [stdout] 116 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(else_expr) = args.values.get(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 40 ~ match args.values.get(2) { Some(else_expr) => { [INFO] [stdout] 41 | format!( [INFO] [stdout] ... [INFO] [stdout] 44 | ) [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | format!("if ({}) {}", args.values[0], args.values[1]) [INFO] [stdout] 47 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | while let Some(value) = iter.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | if let Expr::Primitive(p) = *what { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match *what { Expr::Primitive(p) => { [INFO] [stdout] 286 | if p == (Box::new(InfixColon) as Box) { [INFO] [stdout] 287 | return Some(largs.clone().unnamed_binary_args()); [INFO] [stdout] 288 | } [INFO] [stdout] 289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | if let Some((llhs, lrhs)) = colon_args(&arg1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 302 | } else if let Some((_, arg3)) = argstream.next() { [INFO] [stdout] | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | } else if let Some((_, arg3)) = argstream.next() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 296 ~ match colon_args(&arg1) { Some((llhs, lrhs)) => { [INFO] [stdout] 297 | // since we're rearranging calls here, we might need to modify the call stack [INFO] [stdout] ... [INFO] [stdout] 301 | // tertiary case [INFO] [stdout] 302 ~ } _ => { match argstream.next() { Some((_, arg3)) => { [INFO] [stdout] 303 | // currently always returns double vector [INFO] [stdout] ... [INFO] [stdout] 330 | // binary case [INFO] [stdout] 331 ~ } _ => { [INFO] [stdout] 332 | let start: i32 = stack.eval(arg1)?.as_integer()?.try_into()?; [INFO] [stdout] ... [INFO] [stdout] 341 | }))); [INFO] [stdout] 342 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | if let Ok(Obj::List(ellipsis)) = self.get_ellipsis() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match self.get_ellipsis() { Ok(Obj::List(ellipsis)) => { [INFO] [stdout] 78 | Ok(ellipsis.values.into_iter()) [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | Ok(CowObj::from(vec![]).into_iter()) [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(Obj::List(more)) = self.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match self.get(name) { Ok(Obj::List(more)) => { [INFO] [stdout] 85 | Ok(more.values.into_iter()) [INFO] [stdout] 86 ~ } _ => { [INFO] [stdout] 87 | internal_err!() [INFO] [stdout] 88 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(elem) = self.eval(v) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match self.eval(v) { Ok(elem) => { [INFO] [stdout] 105 | Ok(CowObj::from(vec![(k, elem)]).into_iter()) [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | internal_err!() [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | if let Ok(Obj::List(ellipsis)) = self.get_ellipsis() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match self.get_ellipsis() { Ok(Obj::List(ellipsis)) => { [INFO] [stdout] 124 | Ok(ellipsis.values.into_iter()) [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | Ok(CowObj::from(vec![]).into_iter()) [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | if let Ok(Obj::List(more)) = self.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 130 ~ match self.get(name) { Ok(Obj::List(more)) => { [INFO] [stdout] 131 | Ok(more.values.into_iter()) [INFO] [stdout] 132 ~ } _ => { [INFO] [stdout] 133 | Ok(CowObj::from(vec![]).into_iter()) [INFO] [stdout] 134 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:673:20 [INFO] [stdout] | [INFO] [stdout] 673 | if let Some(parent) = &env.parent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 673 ~ match &env.parent { Some(parent) => { [INFO] [stdout] 674 | env = parent.clone(); [INFO] [stdout] 675 | continue; [INFO] [stdout] 676 ~ } _ => { [INFO] [stdout] 677 | break; [INFO] [stdout] 678 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(prim) = BUILTIN.get(name.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:698:9 [INFO] [stdout] | [INFO] [stdout] 698 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 693 ~ match BUILTIN.get(name.as_str()) { Some(prim) => { [INFO] [stdout] 694 | Result::Ok(( [INFO] [stdout] ... [INFO] [stdout] 697 | )) [INFO] [stdout] 698 ~ } _ => { [INFO] [stdout] 699 | Result::Err(Signal::Error(Error::VariableNotFound(name))) [INFO] [stdout] 700 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | if let Some(frame) = self.frames.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 722 ~ match self.frames.last() { Some(frame) => { [INFO] [stdout] 723 | frame.clone() [INFO] [stdout] 724 ~ } _ => { [INFO] [stdout] 725 | panic!("We've somehow exhausted the entire call stack and are still evaluating") [INFO] [stdout] 726 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:882:15 [INFO] [stdout] | [INFO] [stdout] 882 | while let Err(Tail(expr, _vis)) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:986:23 [INFO] [stdout] | [INFO] [stdout] 986 | while let Err(Tail(Expr::Call(what, args), _vis)) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:1007:17 [INFO] [stdout] | [INFO] [stdout] 1007 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:1011:19 [INFO] [stdout] | [INFO] [stdout] 1011 | while let Err(Tail(expr, _vis)) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/ast.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | if let Some(v) = self.values.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/ast.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 187 ~ match self.values.pop() { Some(v) => { [INFO] [stdout] 188 | return Some((k, v)); [INFO] [stdout] 189 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/environment.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(value) = env.values.borrow().get(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 88 | } else if let Some(parent) = &env.parent { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 93 | } else if let Some(prim) = BUILTIN.get(name.as_str()) { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/environment.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | } else if let Some(parent) = &env.parent { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/environment.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | } else if let Some(prim) = BUILTIN.get(name.as_str()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/environment.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ match env.values.borrow().get(&name) { Some(value) => { [INFO] [stdout] 77 | let result = value.view_mut(); [INFO] [stdout] ... [INFO] [stdout] 87 | // if not found, search through parent if available [INFO] [stdout] 88 ~ } _ => { match &env.parent { Some(parent) => { [INFO] [stdout] 89 | env = parent; [INFO] [stdout] ... [INFO] [stdout] 92 | // if we're at the top level, fall back to primitives if available [INFO] [stdout] 93 ~ } _ => { match BUILTIN.get(name.as_str()) { Some(prim) => { [INFO] [stdout] 94 | let x = Obj::Function( [INFO] [stdout] ... [INFO] [stdout] 102 | // otherwise, throw error [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | return Result::Err(Signal::Error(Error::VariableNotFound(name))); [INFO] [stdout] 105 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/vector/subset.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let OptionNA::Some(to_first) = i.clone().borrow().first().expect(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/vector/subset.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match i.clone().borrow().first().expect(msg) { OptionNA::Some(to_first) => { [INFO] [stdout] 86 | Box::new(iter.skip(*to_first as usize).take(1)) [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | let (i_orig, _) = iter.next().unwrap_or((0, None)); [INFO] [stdout] 89 | Box::new(vec![(i_orig, None)].into_iter()) [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/list.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | if let (Some(value), Some(i)) = (any.get(any_i), i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/list.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ match (any.get(any_i), i) { (Some(value), Some(i)) => { [INFO] [stdout] 146 | v[i].1 = value; [INFO] [stdout] 147 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/list.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some((i, _)) = Subsets(subsets) [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | _______________________________________| [INFO] [stdout] 214 | || .bind_names(self.names.clone()) [INFO] [stdout] 215 | || .into_iter() [INFO] [stdout] | ||________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 216 | | .next() [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/list.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 213 ~ match Subsets(subsets) [INFO] [stdout] 214 | .bind_names(self.names.clone()) [INFO] [stdout] 215 | .into_iter() [INFO] [stdout] 216 | .next() [INFO] [stdout] 217 ~ { Some((i, _)) => { [INFO] [stdout] 218 | self.values.with_inner_mut(|v| { [INFO] [stdout] ... [INFO] [stdout] 221 | }) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | Ok(Obj::Null) [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `r` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/error.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | ( $x:expr_2021 ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | ( $x:expr ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ( $x:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/core.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some((Some(_), _)) = formals.remove_named(argname) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/core.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match formals.remove_named(argname) { Some((Some(_), _)) => { [INFO] [stdout] 52 | break 'inner; [INFO] [stdout] 53 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/core.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some((Some(param), _)) = next_unassigned_formal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/core.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match next_unassigned_formal { Some((Some(param), _)) => { [INFO] [stdout] 86 | matched_args [INFO] [stdout] 87 | .values [INFO] [stdout] 88 | .with_inner_mut(|vals| vals.push((Some(param), value))); [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | ellipsis [INFO] [stdout] 91 | .values [INFO] [stdout] 92 | .with_inner_mut(|vals| vals.push((None, value))); [INFO] [stdout] 93 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/core.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(Expr::Ellipsis(Some(name))) = remainder.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/core.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } else if !remainder.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match remainder.get(0) { Some(Expr::Ellipsis(Some(name))) => { [INFO] [stdout] 109 | matched_args [INFO] [stdout] 110 | .values [INFO] [stdout] 111 | .with_inner_mut(|v| v.push((Some(name), Obj::List(ellipsis.clone())))) [INFO] [stdout] 112 ~ } _ => if !remainder.is_empty() { [INFO] [stdout] 113 | matched_args [INFO] [stdout] 114 | .values [INFO] [stdout] 115 | .with_inner_mut(|v| v.push((Some("...".to_string()), Obj::List(ellipsis.clone())))) [INFO] [stdout] 116 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(else_expr) = args.values.get(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 40 ~ match args.values.get(2) { Some(else_expr) => { [INFO] [stdout] 41 | format!( [INFO] [stdout] ... [INFO] [stdout] 44 | ) [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | format!("if ({}) {}", args.values[0], args.values[1]) [INFO] [stdout] 47 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | while let Some(value) = iter.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/keywords.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | if let Expr::Primitive(p) = *what { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match *what { Expr::Primitive(p) => { [INFO] [stdout] 286 | if p == (Box::new(InfixColon) as Box) { [INFO] [stdout] 287 | return Some(largs.clone().unnamed_binary_args()); [INFO] [stdout] 288 | } [INFO] [stdout] 289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | if let Some((llhs, lrhs)) = colon_args(&arg1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 302 | } else if let Some((_, arg3)) = argstream.next() { [INFO] [stdout] | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | } else if let Some((_, arg3)) = argstream.next() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/callable/operators.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 296 ~ match colon_args(&arg1) { Some((llhs, lrhs)) => { [INFO] [stdout] 297 | // since we're rearranging calls here, we might need to modify the call stack [INFO] [stdout] ... [INFO] [stdout] 301 | // tertiary case [INFO] [stdout] 302 ~ } _ => { match argstream.next() { Some((_, arg3)) => { [INFO] [stdout] 303 | // currently always returns double vector [INFO] [stdout] ... [INFO] [stdout] 330 | // binary case [INFO] [stdout] 331 ~ } _ => { [INFO] [stdout] 332 | let start: i32 = stack.eval(arg1)?.as_integer()?.try_into()?; [INFO] [stdout] ... [INFO] [stdout] 341 | }))); [INFO] [stdout] 342 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | if let Ok(Obj::List(ellipsis)) = self.get_ellipsis() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match self.get_ellipsis() { Ok(Obj::List(ellipsis)) => { [INFO] [stdout] 78 | Ok(ellipsis.values.into_iter()) [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | Ok(CowObj::from(vec![]).into_iter()) [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(Obj::List(more)) = self.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match self.get(name) { Ok(Obj::List(more)) => { [INFO] [stdout] 85 | Ok(more.values.into_iter()) [INFO] [stdout] 86 ~ } _ => { [INFO] [stdout] 87 | internal_err!() [INFO] [stdout] 88 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(elem) = self.eval(v) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match self.eval(v) { Ok(elem) => { [INFO] [stdout] 105 | Ok(CowObj::from(vec![(k, elem)]).into_iter()) [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | internal_err!() [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | if let Ok(Obj::List(ellipsis)) = self.get_ellipsis() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match self.get_ellipsis() { Ok(Obj::List(ellipsis)) => { [INFO] [stdout] 124 | Ok(ellipsis.values.into_iter()) [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | Ok(CowObj::from(vec![]).into_iter()) [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context/core.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | if let Ok(Obj::List(more)) = self.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context/core.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 130 ~ match self.get(name) { Ok(Obj::List(more)) => { [INFO] [stdout] 131 | Ok(more.values.into_iter()) [INFO] [stdout] 132 ~ } _ => { [INFO] [stdout] 133 | Ok(CowObj::from(vec![]).into_iter()) [INFO] [stdout] 134 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:673:20 [INFO] [stdout] | [INFO] [stdout] 673 | if let Some(parent) = &env.parent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 673 ~ match &env.parent { Some(parent) => { [INFO] [stdout] 674 | env = parent.clone(); [INFO] [stdout] 675 | continue; [INFO] [stdout] 676 ~ } _ => { [INFO] [stdout] 677 | break; [INFO] [stdout] 678 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(prim) = BUILTIN.get(name.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:698:9 [INFO] [stdout] | [INFO] [stdout] 698 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 693 ~ match BUILTIN.get(name.as_str()) { Some(prim) => { [INFO] [stdout] 694 | Result::Ok(( [INFO] [stdout] ... [INFO] [stdout] 697 | )) [INFO] [stdout] 698 ~ } _ => { [INFO] [stdout] 699 | Result::Err(Signal::Error(Error::VariableNotFound(name))) [INFO] [stdout] 700 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | if let Some(frame) = self.frames.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 722 ~ match self.frames.last() { Some(frame) => { [INFO] [stdout] 723 | frame.clone() [INFO] [stdout] 724 ~ } _ => { [INFO] [stdout] 725 | panic!("We've somehow exhausted the entire call stack and are still evaluating") [INFO] [stdout] 726 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:882:15 [INFO] [stdout] | [INFO] [stdout] 882 | while let Err(Tail(expr, _vis)) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:986:23 [INFO] [stdout] | [INFO] [stdout] 986 | while let Err(Tail(Expr::Call(what, args), _vis)) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:1007:17 [INFO] [stdout] | [INFO] [stdout] 1007 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang.rs:1011:19 [INFO] [stdout] | [INFO] [stdout] 1011 | while let Err(Tail(expr, _vis)) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/ast.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | if let Some(v) = self.values.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/ast.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 187 ~ match self.values.pop() { Some(v) => { [INFO] [stdout] 188 | return Some((k, v)); [INFO] [stdout] 189 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/environment.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(value) = env.values.borrow().get(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 88 | } else if let Some(parent) = &env.parent { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 93 | } else if let Some(prim) = BUILTIN.get(name.as_str()) { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/environment.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | } else if let Some(parent) = &env.parent { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/environment.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | } else if let Some(prim) = BUILTIN.get(name.as_str()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/environment.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ match env.values.borrow().get(&name) { Some(value) => { [INFO] [stdout] 77 | let result = value.view_mut(); [INFO] [stdout] ... [INFO] [stdout] 87 | // if not found, search through parent if available [INFO] [stdout] 88 ~ } _ => { match &env.parent { Some(parent) => { [INFO] [stdout] 89 | env = parent; [INFO] [stdout] ... [INFO] [stdout] 92 | // if we're at the top level, fall back to primitives if available [INFO] [stdout] 93 ~ } _ => { match BUILTIN.get(name.as_str()) { Some(prim) => { [INFO] [stdout] 94 | let x = Obj::Function( [INFO] [stdout] ... [INFO] [stdout] 102 | // otherwise, throw error [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | return Result::Err(Signal::Error(Error::VariableNotFound(name))); [INFO] [stdout] 105 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/vector/subset.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let OptionNA::Some(to_first) = i.clone().borrow().first().expect(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/vector/subset.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match i.clone().borrow().first().expect(msg) { OptionNA::Some(to_first) => { [INFO] [stdout] 86 | Box::new(iter.skip(*to_first as usize).take(1)) [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | let (i_orig, _) = iter.next().unwrap_or((0, None)); [INFO] [stdout] 89 | Box::new(vec![(i_orig, None)].into_iter()) [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/list.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | if let (Some(value), Some(i)) = (any.get(any_i), i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/list.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ match (any.get(any_i), i) { (Some(value), Some(i)) => { [INFO] [stdout] 146 | v[i].1 = value; [INFO] [stdout] 147 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object/list.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some((i, _)) = Subsets(subsets) [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | _______________________________________| [INFO] [stdout] 214 | || .bind_names(self.names.clone()) [INFO] [stdout] 215 | || .into_iter() [INFO] [stdout] | ||________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 216 | | .next() [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/object/list.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 213 ~ match Subsets(subsets) [INFO] [stdout] 214 | .bind_names(self.names.clone()) [INFO] [stdout] 215 | .into_iter() [INFO] [stdout] 216 | .next() [INFO] [stdout] 217 ~ { Some((i, _)) => { [INFO] [stdout] 218 | self.values.with_inner_mut(|v| { [INFO] [stdout] ... [INFO] [stdout] 221 | }) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | Ok(Obj::Null) [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/parsing.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/numerics.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling r v0.4.0 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "725fbe3ccfb9d51a31526fd631bbeaccf5a990f2cac39e2f3d5544a3060628c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725fbe3ccfb9d51a31526fd631bbeaccf5a990f2cac39e2f3d5544a3060628c5", kill_on_drop: false }` [INFO] [stdout] 725fbe3ccfb9d51a31526fd631bbeaccf5a990f2cac39e2f3d5544a3060628c5