[INFO] fetching crate jex 0.2.0... [INFO] checking jex-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jex 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate jex 0.2.0 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 jex 0.2.0 [INFO] finished tweaking crates.io crate jex 0.2.0 [INFO] tweaked toml for crates.io crate jex 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate jex 0.2.0 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3b20a00712bd55302b664effbb7ad194ef728caa8d20d4238d9f9f69fbf0301d [INFO] running `Command { std: "docker" "start" "-a" "3b20a00712bd55302b664effbb7ad194ef728caa8d20d4238d9f9f69fbf0301d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b20a00712bd55302b664effbb7ad194ef728caa8d20d4238d9f9f69fbf0301d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b20a00712bd55302b664effbb7ad194ef728caa8d20d4238d9f9f69fbf0301d", kill_on_drop: false }` [INFO] [stdout] 3b20a00712bd55302b664effbb7ad194ef728caa8d20d4238d9f9f69fbf0301d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 39d972ad57a797a5c0e316471c3a70d3f6ac0321ea14dfb1a5159d27c0df84b9 [INFO] running `Command { std: "docker" "start" "-a" "39d972ad57a797a5c0e316471c3a70d3f6ac0321ea14dfb1a5159d27c0df84b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling autotools v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling jq-src v0.4.1 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling unicode-general-category v0.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling jq-sys v0.2.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling cpuprofiler v0.0.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking simplelog v0.9.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking tui v0.12.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Checking argh v0.1.3 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking jex v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/cursor.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | ) => (index == other_index && json == other_json), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - ) => (index == other_index && json == other_json), [INFO] [stdout] 84 + ) => index == other_index && json == other_json, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/cursor.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | ) => (index == other_index && json == other_json && key == other_key), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - ) => (index == other_index && json == other_json && key == other_key), [INFO] [stdout] 95 + ) => index == other_index && json == other_json && key == other_key, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/cursor.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | ) => (index == other_index && json == other_json), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - ) => (index == other_index && json == other_json), [INFO] [stdout] 84 + ) => index == other_index && json == other_json, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/cursor.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | ) => (index == other_index && json == other_json && key == other_key), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - ) => (index == other_index && json == other_json && key == other_key), [INFO] [stdout] 95 + ) => index == other_index && json == other_json && key == other_key, [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/cursor.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn new(jsons: Rc<[JV]>, width: u16, folds: &HashSet<(usize, Vec)>) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let cursor = LeafCursor::new(jsons)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let line = cursor.current_line(folds, width); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | let line_cursor = LineCursor::new_at_start(line.render(), width); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | Some(GlobalCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 287 | | value_cursor: cursor, [INFO] [stdout] 288 | | line_cursor, [INFO] [stdout] 289 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/cursor.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 292 | jsons: Rc<[JV]>, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let cursor = LeafCursor::new_end(jsons)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let line = cursor.current_line(folds, width); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let line_cursor = LineCursor::new_at_start(line.render(), width); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | Some(GlobalCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 300 | | value_cursor: cursor, [INFO] [stdout] 301 | | line_cursor, [INFO] [stdout] 302 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/cursor.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn new(jsons: Rc<[JV]>) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | let focus = jsons.first()?.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let focus_position = FocusPosition::starting(&focus); [INFO] [stdout] 401 | Some(LeafCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 402 | | jsons, [INFO] [stdout] 403 | | top_index: 0, [INFO] [stdout] 404 | | frames: Vec::new(), [INFO] [stdout] 405 | | focus, [INFO] [stdout] 406 | | focus_position, [INFO] [stdout] 407 | | }) [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/cursor.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn new_end(jsons: Rc<[JV]>) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | let top_index = jsons.len() - 1; [INFO] [stdout] 411 | let focus = jsons.last()?.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | let focus_position = FocusPosition::ending(&focus); [INFO] [stdout] 413 | Some(LeafCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 414 | | jsons, [INFO] [stdout] 415 | | top_index, [INFO] [stdout] 416 | | frames: Vec::new(), [INFO] [stdout] 417 | | focus, [INFO] [stdout] 418 | | focus_position, [INFO] [stdout] 419 | | }) [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/jq/jv.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn set(&mut self, i: i32, v: JV) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | self.0.array_set(i, v.into()) [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/jq/jv.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn set(&mut self, k: &str, v: JV) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | self.0.object_set(k, v.into()) [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/jq/jv.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 336 | fn visit_seq(self, mut visitor: V) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let mut arr = JVArray::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | Ok(arr.into()) [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/jq/jv.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 351 | fn visit_map(self, mut visitor: V) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let mut obj = JVObject::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | Ok(obj.into()) [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/jq/jv_raw.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|(k, v)| (k.as_str(), JVRaw::from_serde(v))) [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/jq/jv_raw.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 250 | let k = JVRaw { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | let v = JVRaw { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | Some(( [INFO] [stdout] | ______________^ [INFO] [stdout] 262 | | // Safety: While k will be dropped at the end of this function call, at least one copy [INFO] [stdout] 263 | | // of it will remain as a part of obj as long as obj lives. As such, it's safe to cast [INFO] [stdout] 264 | | // the lifetime to 'a. [INFO] [stdout] 265 | | unsafe { std::mem::transmute(k.string_value()) }, [INFO] [stdout] 266 | | v.try_into().expect("Object should not contain invalid JV"), [INFO] [stdout] 267 | | )) [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/jq/jv_raw.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 291 | let k_raw = JVRaw { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let v_raw = JVRaw { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | let k = if let Ok(JV::String(k)) = k_raw.try_into() { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | Some(( [INFO] [stdout] | ______________^ [INFO] [stdout] 308 | | k, [INFO] [stdout] 309 | | v_raw [INFO] [stdout] 310 | | .try_into() [INFO] [stdout] 311 | | .expect("Object should not contain invalid JV"), [INFO] [stdout] 312 | | )) [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/jq/jv_raw.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 333 | let v = JVRaw { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | Some(v.try_into().expect("Object should not contain invalid JV")) [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/lines.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 295 | fn new>(s: S, is_escaped: bool, style: StyleType) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | LineFragment { [INFO] [stdout] 297 | string: s.into(), [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/lines.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 302 | fn new_unstyled>(s: S, is_escaped: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | LineFragment { [INFO] [stdout] 304 | string: s.into(), [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/view_tree.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn new>>(values: V, view_rect: Rect) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let json_rect = Block::default().borders(Borders::ALL).inner(view_rect); [INFO] [stdout] 301 | View::Json(JsonView::new(values, json_rect)) [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/view_tree.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn new>>(values: V, rect: Rect) -> Option { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | let values: Rc<[JV]> = values.into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | let cursor = LeafCursor::new(values.clone())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | let folds = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | let scroll = GlobalCursor::new(values.clone(), rect.width, &folds)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | Some(JsonView { [INFO] [stdout] | ______________^ [INFO] [stdout] 346 | | scroll, [INFO] [stdout] 347 | | values, [INFO] [stdout] 348 | | cursor, [INFO] [stdout] 349 | | folds, [INFO] [stdout] 350 | | rect, [INFO] [stdout] 351 | | }) [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] | [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 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jex` (lib) due to 17 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/cursor.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn new(jsons: Rc<[JV]>, width: u16, folds: &HashSet<(usize, Vec)>) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let cursor = LeafCursor::new(jsons)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let line = cursor.current_line(folds, width); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | let line_cursor = LineCursor::new_at_start(line.render(), width); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | Some(GlobalCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 287 | | value_cursor: cursor, [INFO] [stdout] 288 | | line_cursor, [INFO] [stdout] 289 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/cursor.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 292 | jsons: Rc<[JV]>, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let cursor = LeafCursor::new_end(jsons)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let line = cursor.current_line(folds, width); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let line_cursor = LineCursor::new_at_start(line.render(), width); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | Some(GlobalCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 300 | | value_cursor: cursor, [INFO] [stdout] 301 | | line_cursor, [INFO] [stdout] 302 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/cursor.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn new(jsons: Rc<[JV]>) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | let focus = jsons.first()?.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let focus_position = FocusPosition::starting(&focus); [INFO] [stdout] 401 | Some(LeafCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 402 | | jsons, [INFO] [stdout] 403 | | top_index: 0, [INFO] [stdout] 404 | | frames: Vec::new(), [INFO] [stdout] 405 | | focus, [INFO] [stdout] 406 | | focus_position, [INFO] [stdout] 407 | | }) [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/cursor.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn new_end(jsons: Rc<[JV]>) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | let top_index = jsons.len() - 1; [INFO] [stdout] 411 | let focus = jsons.last()?.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | let focus_position = FocusPosition::ending(&focus); [INFO] [stdout] 413 | Some(LeafCursor { [INFO] [stdout] | ______________^ [INFO] [stdout] 414 | | jsons, [INFO] [stdout] 415 | | top_index, [INFO] [stdout] 416 | | frames: Vec::new(), [INFO] [stdout] 417 | | focus, [INFO] [stdout] 418 | | focus_position, [INFO] [stdout] 419 | | }) [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/jq/jv.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn set(&mut self, i: i32, v: JV) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | self.0.array_set(i, v.into()) [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/jq/jv.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn set(&mut self, k: &str, v: JV) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | self.0.object_set(k, v.into()) [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/jq/jv.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 336 | fn visit_seq(self, mut visitor: V) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let mut arr = JVArray::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | Ok(arr.into()) [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/jq/jv.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 351 | fn visit_map(self, mut visitor: V) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let mut obj = JVObject::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | Ok(obj.into()) [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/jq/jv_raw.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|(k, v)| (k.as_str(), JVRaw::from_serde(v))) [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/jq/jv_raw.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 250 | let k = JVRaw { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | let v = JVRaw { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | Some(( [INFO] [stdout] | ______________^ [INFO] [stdout] 262 | | // Safety: While k will be dropped at the end of this function call, at least one copy [INFO] [stdout] 263 | | // of it will remain as a part of obj as long as obj lives. As such, it's safe to cast [INFO] [stdout] 264 | | // the lifetime to 'a. [INFO] [stdout] 265 | | unsafe { std::mem::transmute(k.string_value()) }, [INFO] [stdout] 266 | | v.try_into().expect("Object should not contain invalid JV"), [INFO] [stdout] 267 | | )) [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/jq/jv_raw.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 291 | let k_raw = JVRaw { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let v_raw = JVRaw { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | let k = if let Ok(JV::String(k)) = k_raw.try_into() { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | Some(( [INFO] [stdout] | ______________^ [INFO] [stdout] 308 | | k, [INFO] [stdout] 309 | | v_raw [INFO] [stdout] 310 | | .try_into() [INFO] [stdout] 311 | | .expect("Object should not contain invalid JV"), [INFO] [stdout] 312 | | )) [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/jq/jv_raw.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 333 | let v = JVRaw { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | Some(v.try_into().expect("Object should not contain invalid JV")) [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/lines.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 295 | fn new>(s: S, is_escaped: bool, style: StyleType) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | LineFragment { [INFO] [stdout] 297 | string: s.into(), [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/lines.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 302 | fn new_unstyled>(s: S, is_escaped: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | LineFragment { [INFO] [stdout] 304 | string: s.into(), [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/lines.rs:743:14 [INFO] [stdout] | [INFO] [stdout] 740 | arb_fragments().prop_flat_map(|f| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 741 | let x = byte_offset_in_fragments(&f); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 742 | let y = byte_offset_in_fragments(&f); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 743 | (Just(f), x, y) [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/view_tree.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn new>>(values: V, view_rect: Rect) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let json_rect = Block::default().borders(Borders::ALL).inner(view_rect); [INFO] [stdout] 301 | View::Json(JsonView::new(values, json_rect)) [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/view_tree.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn new>>(values: V, rect: Rect) -> Option { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | let values: Rc<[JV]> = values.into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | let cursor = LeafCursor::new(values.clone())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | let folds = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | let scroll = GlobalCursor::new(values.clone(), rect.width, &folds)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | Some(JsonView { [INFO] [stdout] | ______________^ [INFO] [stdout] 346 | | scroll, [INFO] [stdout] 347 | | values, [INFO] [stdout] 348 | | cursor, [INFO] [stdout] 349 | | folds, [INFO] [stdout] 350 | | rect, [INFO] [stdout] 351 | | }) [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] | [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 17 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jex` (lib test) due to 18 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39d972ad57a797a5c0e316471c3a70d3f6ac0321ea14dfb1a5159d27c0df84b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d972ad57a797a5c0e316471c3a70d3f6ac0321ea14dfb1a5159d27c0df84b9", kill_on_drop: false }` [INFO] [stdout] 39d972ad57a797a5c0e316471c3a70d3f6ac0321ea14dfb1a5159d27c0df84b9