[INFO] fetching crate over 0.6.5... [INFO] checking over-0.6.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate over 0.6.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate over 0.6.5 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 over 0.6.5 [INFO] finished tweaking crates.io crate over 0.6.5 [INFO] tweaked toml for crates.io crate over 0.6.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e11f9e885ec9fb7599fb04b82c738d7ad40539ce608ce3a47b1815715becf3e7 [INFO] running `Command { std: "docker" "start" "-a" "e11f9e885ec9fb7599fb04b82c738d7ad40539ce608ce3a47b1815715becf3e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e11f9e885ec9fb7599fb04b82c738d7ad40539ce608ce3a47b1815715becf3e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11f9e885ec9fb7599fb04b82c738d7ad40539ce608ce3a47b1815715becf3e7", kill_on_drop: false }` [INFO] [stdout] e11f9e885ec9fb7599fb04b82c738d7ad40539ce608ce3a47b1815715becf3e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4d108d246e8a2dcd27eb12be55105354fd52d6a2b688a97b1a0f80036180a93 [INFO] running `Command { std: "docker" "start" "-a" "a4d108d246e8a2dcd27eb12be55105354fd52d6a2b688a97b1a0f80036180a93", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking over v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/util.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/util.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/parse/char_stream.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | file: Option, [INFO] [stdout] 15 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arr.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_vec(vec: Vec) -> OverResult { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let mut tcur = Type::Any; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(Arr { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | inner: Arc::new(ArrInner { vec, inner_t: tcur }), [INFO] [stdout] 48 | | }) [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/arr.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_vec_unchecked(vec: Vec, inner_t: Type) -> Arr { [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] 57 | Arr { [INFO] [stdout] 58 | inner: Arc::new(ArrInner { vec, inner_t }), [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/obj.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_map(obj_map: HashMap) -> OverResult { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Obj { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | inner: Arc::new(ObjInner { [INFO] [stdout] 79 | | map: obj_map, [INFO] [stdout] 80 | | parent: None, [INFO] [stdout] 81 | | id, [INFO] [stdout] 82 | | }), [INFO] [stdout] 83 | | }) [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/obj.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn from_map_with_parent(obj_map: HashMap, parent: Obj) -> OverResult { [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] 99 | Ok(Obj { [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | inner: Arc::new(ObjInner { [INFO] [stdout] 101 | | map: obj_map, [INFO] [stdout] 102 | | parent: Some(parent), [INFO] [stdout] 103 | | id, [INFO] [stdout] 104 | | }), [INFO] [stdout] 105 | | }) [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/obj.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn from_map_unchecked(obj_map: HashMap) -> Obj { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | inner: Arc::new(ObjInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 119 | | map: obj_map, [INFO] [stdout] 120 | | parent: None, [INFO] [stdout] 121 | | id, [INFO] [stdout] 122 | | }), [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/obj.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn from_map_with_parent_unchecked(obj_map: HashMap, parent: Obj) -> Obj { [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] 136 | inner: Arc::new(ObjInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 137 | | map: obj_map, [INFO] [stdout] 138 | | parent: Some(parent), [INFO] [stdout] 139 | | id, [INFO] [stdout] 140 | | }), [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/tup.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_vec(values: Vec) -> Tup { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let tvec: Vec = values.iter().map(|val| val.get_type()).collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | inner: Arc::new(TupInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | vec: values, [INFO] [stdout] 32 | | inner_tvec: tvec, [INFO] [stdout] 33 | | }), [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/types.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | Self::most_specific(t1, t2).map(|(t, any)| (Arr(Box::new(t)), any)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | tvec.map(|tvec| (Tup(tvec), has_any)) [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/value.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 264 | fn from(inner: $type) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Value::$fn(inner.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | impl_from!(arr::Arr, Arr); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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/value.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 264 | fn from(inner: $type) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Value::$fn(inner.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | impl_from!(tup::Tup, Tup); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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/value.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 264 | fn from(inner: $type) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Value::$fn(inner.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | impl_from!(obj::Obj, Obj); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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/parse/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_err(file: Option, kind: ParseErrorKind) -> ParseResult { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Err(ParseError { file, kind }) [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/parse/error.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 243 | fn from(e: io::Error) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | kind: ParseErrorKind::IoError(format!("{}", e)), [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/parse/parser.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | parse_obj_stream(stream, &mut (HashMap::new(), HashSet::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse/parser.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | parse_obj_stream(stream, &mut (HashMap::new(), HashSet::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse/parser.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 55 | let mut obj: ObjMap = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut globals: GlobalMap = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut parent = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(match parent { [INFO] [stdout] | ________^ [INFO] [stdout] 77 | | Some(parent) => Obj::from_map_with_parent_unchecked(obj, parent), [INFO] [stdout] 78 | | None => Obj::from_map_unchecked(obj), [INFO] [stdout] 79 | | }) [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/parse/parser.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 103 | let mut obj: ObjMap = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut parent = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let obj = match parent { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Some(parent) => Obj::from_map_with_parent_unchecked(obj, parent), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | 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/parse/parser.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 285 | let mut vec = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | let mut tcur = Type::Any; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let arr = Arr::from_vec_unchecked(vec, tcur); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | [INFO] [stdout] 347 | 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/parse/parser.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 354 | let mut vec: Vec = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let obj: ObjMap = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | let mut globals: GlobalMap = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | Ok(vec.into()) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse/parser.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 401 | let mut vec = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | let tup = Tup::from_vec(vec); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | [INFO] [stdout] 439 | Ok(tup.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/parse/parser.rs:1170:8 [INFO] [stdout] | [INFO] [stdout] 1161 | val: Value, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1168 | let t = val.get_type(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | [INFO] [stdout] 1170 | Ok(match op { [INFO] [stdout] | ________^ [INFO] [stdout] 1171 | | '+' => match t { [INFO] [stdout] 1172 | | Int | Frac => val, [INFO] [stdout] 1173 | | _ => return parse_err(stream.file(), UnaryOperatorError(t, op, line, col)), [INFO] [stdout] ... | [INFO] [stdout] 1180 | | _ => return parse_err(stream.file(), UnaryOperatorError(t, op, line, col)), [INFO] [stdout] 1181 | | }) [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/parse/parser.rs:1206:8 [INFO] [stdout] | [INFO] [stdout] 1187 | mut val1: Value, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1188 | mut val2: Value, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1195 | let (mut type1, mut type2) = (val1.get_type(), val2.get_type()); [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] 1206 | Ok(match op { [INFO] [stdout] | ________^ [INFO] [stdout] 1207 | | '+' => { [INFO] [stdout] 1208 | | match type1 { [INFO] [stdout] 1209 | | Int if type2 == Int => (val1.get_int().unwrap() + val2.get_int().unwrap()).into(), [INFO] [stdout] ... | [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | }) [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 23 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `over` (lib) due to 24 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/parse/char_stream.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | file: Option, [INFO] [stdout] 15 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arr.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_vec(vec: Vec) -> OverResult { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let mut tcur = Type::Any; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(Arr { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | inner: Arc::new(ArrInner { vec, inner_t: tcur }), [INFO] [stdout] 48 | | }) [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/arr.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_vec_unchecked(vec: Vec, inner_t: Type) -> Arr { [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] 57 | Arr { [INFO] [stdout] 58 | inner: Arc::new(ArrInner { vec, inner_t }), [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/obj.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_map(obj_map: HashMap) -> OverResult { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Obj { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | inner: Arc::new(ObjInner { [INFO] [stdout] 79 | | map: obj_map, [INFO] [stdout] 80 | | parent: None, [INFO] [stdout] 81 | | id, [INFO] [stdout] 82 | | }), [INFO] [stdout] 83 | | }) [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/obj.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn from_map_with_parent(obj_map: HashMap, parent: Obj) -> OverResult { [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] 99 | Ok(Obj { [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | inner: Arc::new(ObjInner { [INFO] [stdout] 101 | | map: obj_map, [INFO] [stdout] 102 | | parent: Some(parent), [INFO] [stdout] 103 | | id, [INFO] [stdout] 104 | | }), [INFO] [stdout] 105 | | }) [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/obj.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn from_map_unchecked(obj_map: HashMap) -> Obj { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | inner: Arc::new(ObjInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 119 | | map: obj_map, [INFO] [stdout] 120 | | parent: None, [INFO] [stdout] 121 | | id, [INFO] [stdout] 122 | | }), [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/obj.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn from_map_with_parent_unchecked(obj_map: HashMap, parent: Obj) -> Obj { [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] 136 | inner: Arc::new(ObjInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 137 | | map: obj_map, [INFO] [stdout] 138 | | parent: Some(parent), [INFO] [stdout] 139 | | id, [INFO] [stdout] 140 | | }), [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/tup.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_vec(values: Vec) -> Tup { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let tvec: Vec = values.iter().map(|val| val.get_type()).collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | inner: Arc::new(TupInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | vec: values, [INFO] [stdout] 32 | | inner_tvec: tvec, [INFO] [stdout] 33 | | }), [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/types.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | Self::most_specific(t1, t2).map(|(t, any)| (Arr(Box::new(t)), any)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | tvec.map(|tvec| (Tup(tvec), has_any)) [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/value.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 264 | fn from(inner: $type) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Value::$fn(inner.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | impl_from!(arr::Arr, Arr); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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/value.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 264 | fn from(inner: $type) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Value::$fn(inner.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | impl_from!(tup::Tup, Tup); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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/value.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 264 | fn from(inner: $type) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Value::$fn(inner.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | impl_from!(obj::Obj, Obj); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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/parse/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_err(file: Option, kind: ParseErrorKind) -> ParseResult { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Err(ParseError { file, kind }) [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/parse/error.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 243 | fn from(e: io::Error) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | kind: ParseErrorKind::IoError(format!("{}", e)), [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/parse/parser.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | parse_obj_stream(stream, &mut (HashMap::new(), HashSet::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse/parser.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | parse_obj_stream(stream, &mut (HashMap::new(), HashSet::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse/parser.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 55 | let mut obj: ObjMap = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut globals: GlobalMap = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut parent = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(match parent { [INFO] [stdout] | ________^ [INFO] [stdout] 77 | | Some(parent) => Obj::from_map_with_parent_unchecked(obj, parent), [INFO] [stdout] 78 | | None => Obj::from_map_unchecked(obj), [INFO] [stdout] 79 | | }) [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/parse/parser.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 103 | let mut obj: ObjMap = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut parent = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let obj = match parent { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Some(parent) => Obj::from_map_with_parent_unchecked(obj, parent), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | 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/parse/parser.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 285 | let mut vec = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | let mut tcur = Type::Any; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let arr = Arr::from_vec_unchecked(vec, tcur); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | [INFO] [stdout] 347 | 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/parse/parser.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 354 | let mut vec: Vec = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let obj: ObjMap = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | let mut globals: GlobalMap = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | Ok(vec.into()) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse/parser.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 401 | let mut vec = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | let tup = Tup::from_vec(vec); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | [INFO] [stdout] 439 | Ok(tup.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/parse/parser.rs:1170:8 [INFO] [stdout] | [INFO] [stdout] 1161 | val: Value, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1168 | let t = val.get_type(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | [INFO] [stdout] 1170 | Ok(match op { [INFO] [stdout] | ________^ [INFO] [stdout] 1171 | | '+' => match t { [INFO] [stdout] 1172 | | Int | Frac => val, [INFO] [stdout] 1173 | | _ => return parse_err(stream.file(), UnaryOperatorError(t, op, line, col)), [INFO] [stdout] ... | [INFO] [stdout] 1180 | | _ => return parse_err(stream.file(), UnaryOperatorError(t, op, line, col)), [INFO] [stdout] 1181 | | }) [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/parse/parser.rs:1206:8 [INFO] [stdout] | [INFO] [stdout] 1187 | mut val1: Value, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1188 | mut val2: Value, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1195 | let (mut type1, mut type2) = (val1.get_type(), val2.get_type()); [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] 1206 | Ok(match op { [INFO] [stdout] | ________^ [INFO] [stdout] 1207 | | '+' => { [INFO] [stdout] 1208 | | match type1 { [INFO] [stdout] 1209 | | Int if type2 == Int => (val1.get_int().unwrap() + val2.get_int().unwrap()).into(), [INFO] [stdout] ... | [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 37 | test_eq!(obj.get("null").unwrap(), Value::Null); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 42 | test_eq!(obj.get_bool("bool").unwrap(), true); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 60 | test_eq!(obj.get("str1").unwrap(), "hello"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 61 | test_eq!(obj.get("str2").unwrap(), yo); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 65 | test_eq!(obj.get("arr").unwrap(), arr![-5, 0, 1]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 105 | test_eq!(obj, obj2); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 110 | test_eq!(v, true); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 114 | test_eq!(v, false); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 118 | test_eq!(v, true); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 123 | test_eq!(obj.get("test1").unwrap(), "hi"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 124 | test_eq!(obj.get("test2").unwrap(), "bye"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [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/tests.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 129 | let obj = obj! { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let null = Value::Null; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let tup_type = Type::Tup(vec![ [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | obj.get("bool").unwrap().get_type(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let mut _map = ::std::collections::HashMap::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let mut _parent: Option<$crate::value::Value> = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Some(parent) => match parent.get_obj() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Ok(parent) => Obj::from_map_with_parent(_map, parent), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | e @ Err(_) => e, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 129 | let obj = obj! { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let null = Value::Null; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let tup_type = Type::Tup(vec![ [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | obj.get("str").unwrap().get_type() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let mut _map = ::std::collections::HashMap::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let mut _parent: Option<$crate::value::Value> = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Some(parent) => match parent.get_obj() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Ok(parent) => Obj::from_map_with_parent(_map, parent), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | e @ Err(_) => e, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 140 | test_eq!(null.get_type(), Type::Null); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 144 | test_eq!(obj.get("bool").unwrap().get_type(), Type::Bool); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 148 | test_eq!(obj.get("str").unwrap().get_type(), Type::Str); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 152 | / test_eq!( [INFO] [stdout] 153 | | obj.get("arr_char").unwrap().get_type(), [INFO] [stdout] 154 | | Type::Arr(Box::new(Type::Char)) [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 157 | / test_eq!( [INFO] [stdout] 158 | | obj.get("arr_arr").unwrap().get_type(), [INFO] [stdout] 159 | | Type::Arr(Box::new(Type::Arr(Box::new(Type::Bool)))) [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | | $left, $right [INFO] [stdout] 16 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 174 | test_eq!(obj.get("tup").unwrap().get_type(), tup_type); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `test_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 13 ~ panic!( [INFO] [stdout] 14 | "Left did not equal right.\nLeft: {}\nRight: {}\n", [INFO] [stdout] 15 | $left, $right [INFO] [stdout] 16 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `over` (lib test) due to 26 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4d108d246e8a2dcd27eb12be55105354fd52d6a2b688a97b1a0f80036180a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d108d246e8a2dcd27eb12be55105354fd52d6a2b688a97b1a0f80036180a93", kill_on_drop: false }` [INFO] [stdout] a4d108d246e8a2dcd27eb12be55105354fd52d6a2b688a97b1a0f80036180a93