[INFO] cloning repository https://github.com/david-pikas/exjobb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/david-pikas/exjobb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-pikas%2Fexjobb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-pikas%2Fexjobb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d9f367966826ff3c40fcd494f6fc7c1f8b5124e [INFO] checking david-pikas/exjobb/0d9f367966826ff3c40fcd494f6fc7c1f8b5124e against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-pikas%2Fexjobb" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/david-pikas/exjobb 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 git repo https://github.com/david-pikas/exjobb [INFO] finished tweaking git repo https://github.com/david-pikas/exjobb [INFO] tweaked toml for git repo https://github.com/david-pikas/exjobb written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/david-pikas/exjobb 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c39ab071fbf3077e976271db9b43ade182342e10da69ec56b178efca2dfff7a5 [INFO] running `Command { std: "docker" "start" "-a" "c39ab071fbf3077e976271db9b43ade182342e10da69ec56b178efca2dfff7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39ab071fbf3077e976271db9b43ade182342e10da69ec56b178efca2dfff7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39ab071fbf3077e976271db9b43ade182342e10da69ec56b178efca2dfff7a5", kill_on_drop: false }` [INFO] [stdout] c39ab071fbf3077e976271db9b43ade182342e10da69ec56b178efca2dfff7a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8810032d164e80f4d50488a7d1cf564937619b9e31425a10a2b93cbb1c87fae6 [INFO] running `Command { std: "docker" "start" "-a" "8810032d164e80f4d50488a7d1cf564937619b9e31425a10a2b93cbb1c87fae6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking arbitrary v1.0.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking subprocess v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking filedescriptor v0.8.0 [INFO] [stderr] Checking gag v1.0.0 [INFO] [stderr] Checking rustsmith v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [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/context_arbitrary.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 112 | gen: F [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | gen: Box::new(gen), [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/context_arbitrary.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 131 | gen: F [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | gen: Box::new(gen), [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/context_arbitrary.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let enum_choices = [|ctx, u| Ok(Some(c_arbitrary(ctx, u)?)), |_, _| Ok(None)]; [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/context_arbitrary.rs:220:80 [INFO] [stdout] | [INFO] [stdout] 220 | let enum_choices = [|ctx, u| Ok(Some(c_arbitrary(ctx, u)?)), |_, _| Ok(None)]; [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/choose.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn choose_consume(u: &mut Unstructured, mut choices: I) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | Ok(choices.nth(idx).unwrap()) [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/context.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | scopes: top_scope.clone(), [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/context.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | not_in_use_scopes: None, [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/context.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | operators: operators(), [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/ty_macros.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | (()) => (crate::semantics::Type { [INFO] [stdout] | ______________^ [INFO] [stdout] 97 | | name: vec!["#Unit".into()], [INFO] [stdout] 98 | | lt_generics: vec![], [INFO] [stdout] 99 | | type_generics: vec![], [INFO] [stdout] ... | [INFO] [stdout] 103 | | is_visible: true [INFO] [stdout] 104 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | expected_type: crate::make_type!(()), [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 `crate::make_type` (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/context.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | precomputed_final: None, [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/context.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | branches: None, [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/context.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | reserved_names: HashSet::new(), [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/semantics.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 524 | fn from_iter>(into_iter: Iter) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let mut iter = into_iter.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | match iter.next() { [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/semantics.rs:1049:8 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn pick_type_that<'a, F>(ctx: &Context, u: &mut Unstructured<'a>, pred: F) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1029 | let mut seen = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1049 | Ok(Type { [INFO] [stdout] | ________^ [INFO] [stdout] 1050 | | name: if name == &vec!["!"] { [INFO] [stdout] 1051 | | vec!["#Unit".into()] [INFO] [stdout] 1052 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1066 | | is_visible: kind.is_visible [INFO] [stdout] 1067 | | }) [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/semantics.rs:1141:38 [INFO] [stdout] | [INFO] [stdout] 1140 | let f_iter: InterIter = Box::new(f_args.into_iter()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1141 | values_iter.try_fold((first.as_ref().clone(), f_iter), [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/semantics.rs:1144:30 [INFO] [stdout] | [INFO] [stdout] 1142 | |(acc_ty, acc_iter), (v_ty, v_iter)| [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1143 | -> Option<(Type, InterIter)> { [INFO] [stdout] 1144 | Some((acc_ty.merge(v_ty.as_ref().clone())?, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1145 | | Box::new(acc_iter.into_iter().chain(v_iter)))) [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/semantics.rs:1154:23 [INFO] [stdout] | [INFO] [stdout] 1154 | .map(|gen| Ok((gen.name.clone(), pick_type_impls(ctx, u, &gen.constraints)?))) [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/semantics.rs:1435:45 [INFO] [stdout] | [INFO] [stdout] 1435 | .map(|(name,ty)| (name, Right(ty))) [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/semantics.rs:1459:52 [INFO] [stdout] | [INFO] [stdout] 1459 | invalid_from.as_ref().and_then(|i| i.top().map(|s| s.id)) { [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/semantics.rs:1463:50 [INFO] [stdout] | [INFO] [stdout] 1463 | invalid_to.as_ref().and_then(|i| i.top().map(|s| s.id)) { [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/semantics.rs:1501:26 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [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/semantics.rs:1501:50 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [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/semantics.rs:1502:26 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [INFO] [stdout] 1502 | Box::new(c1.chain(c2)), Box::new(d1.chain(d2)), [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/semantics.rs:1502:50 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [INFO] [stdout] 1502 | Box::new(c1.chain(c2)), Box::new(d1.chain(d2)), [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/semantics.rs:1503:26 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1503 | Box::new(e1.chain(e2))) [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/semantics.rs:1950:24 [INFO] [stdout] | [INFO] [stdout] 1943 | pub fn kind_to_type>(name: S, kind: &Kind) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1950 | type_generics: GEN_STRING[0..(kind.types as usize)].iter() [INFO] [stdout] | ________________________^ [INFO] [stdout] 1951 | | .map(|s| Generic { [INFO] [stdout] 1952 | | name: (*s).into(), [INFO] [stdout] 1953 | | is_arg_for_other: false, [INFO] [stdout] 1954 | | constraints: vec![] [INFO] [stdout] 1955 | | }).collect(), [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/semantics.rs:1957:15 [INFO] [stdout] | [INFO] [stdout] 1943 | pub fn kind_to_type>(name: S, kind: &Kind) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1957 | func: None, [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/semantics.rs:1969:15 [INFO] [stdout] | [INFO] [stdout] 1962 | pub fn name_to_type>(name: S) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1969 | func: None, [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/semantics.rs:1976:47 [INFO] [stdout] | [INFO] [stdout] 1974 | fn report_unconstructable_variable(ty: Type) -> Expr { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1975 | println!("Couldn't find value of type {}", ty); [INFO] [stdout] 1976 | Expr::Macro(vec!["compile_error".into()], MacroBody { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 1977 | | brackets: BracketType::Round, [INFO] [stdout] 1978 | | seperator: Seperator::Comma, [INFO] [stdout] 1979 | | tokens: vec![Token::Expr(Expr::ExactString(format!("Couldn't find value of type {}", ty)))] [INFO] [stdout] 1980 | | }) [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/scopes.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 146 | make_macro!(#(Vec{T}) : vec(|ty_args, ctx, u| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | Ok(MacroBody { [INFO] [stdout] | ________________________^ [INFO] [stdout] 148 | | brackets: if Arbitrary::arbitrary(u)? { [INFO] [stdout] 149 | | BracketType::Round [INFO] [stdout] 150 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 156 | | seperator: Seperator::Comma [INFO] [stdout] 157 | | }) [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/scopes.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 161 | macros.push(make_macro!(#(!) : panic(|_, _, u| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | Ok(MacroBody { [INFO] [stdout] | ________________________^ [INFO] [stdout] 163 | | brackets: BracketType::Round, [INFO] [stdout] 164 | | tokens: vec![Token::Expr(Expr::ExactString(Arbitrary::arbitrary(u)?))], [INFO] [stdout] 165 | | seperator: Seperator::Comma [INFO] [stdout] 166 | | }) [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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | make_struct!((2;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | make_struct!((3;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | make_struct!((4;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | make_struct!((5;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | make_struct!((6;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | make_struct!((7;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | make_struct!((8;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | make_struct!((9;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | make_struct!((10;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | make_struct!((11;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | make_struct!((12;)) [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 `make_struct` (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/syn_arbitrary.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 209 | expr: b.expr.map(|expr| Box::new(parenthesize_block(*expr))), [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/syn_arbitrary.rs:277:50 [INFO] [stdout] | [INFO] [stdout] 277 | from: r.from.map(|from| Box::new(parenthesize_block(*from))), [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/syn_arbitrary.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | to: r.to.map(|to| Box::new(parenthesize_block(*to))), [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/syn_arbitrary.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 323 | fn in_parens(e: Expr) -> Expr { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | Expr::Paren(ExprParen { [INFO] [stdout] | _________________^ [INFO] [stdout] 325 | | attrs: vec![], [INFO] [stdout] 326 | | paren_token: Paren { span: dummy_span() }, [INFO] [stdout] 327 | | expr: Box::new(e) [INFO] [stdout] 328 | | }) [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/syn_arbitrary.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 453 | unnamed: unnamed.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | vis: if field.visible { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 457 | | Visibility::Public(VisPublic { pub_token: parse_quote!(pub) }) [INFO] [stdout] 458 | | } else { [INFO] [stdout] 459 | | Visibility::Inherited [INFO] [stdout] 460 | | }, [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/syn_arbitrary.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 453 | unnamed: unnamed.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 463 | ty: Rc::as_ref(&field.ty).clone().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/syn_arbitrary.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 469 | named: named.into_iter().map(|(name, field)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | vis: if field.visible { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 473 | | Visibility::Public(VisPublic { pub_token: parse_quote!(pub) }) [INFO] [stdout] 474 | | } else { [INFO] [stdout] 475 | | Visibility::Inherited [INFO] [stdout] 476 | | }, [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/syn_arbitrary.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 469 | named: named.into_iter().map(|(name, field)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 479 | ty: Rc::as_ref(&field.ty).clone().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/syn_arbitrary.rs:566:68 [INFO] [stdout] | [INFO] [stdout] 566 | ... .map(|arg| GenericMethodArgument::Type(arg.clone().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/syn_arbitrary.rs:710:8 [INFO] [stdout] | [INFO] [stdout] 708 | fn extract_additional_args(ctx: &mut Context, u: &mut Unstructured, e: sem::Expr) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | -> Result<(Vec<(Ident, sem::Mutability, sem::Type)>, sem::Expr)> { [INFO] [stdout] 710 | Ok(match e { [INFO] [stdout] | ________^ [INFO] [stdout] 711 | | sem::Expr::AdditionalArg(ty, mt) => { [INFO] [stdout] 712 | | let ident = c_arbitrary(ctx, u)?; [INFO] [stdout] 713 | | // we don't want the argument to be shadowed by a local variable [INFO] [stdout] ... | [INFO] [stdout] 828 | | _ => (vec![], e) [INFO] [stdout] 829 | | }) [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/syn_arbitrary.rs:728:28 [INFO] [stdout] | [INFO] [stdout] 723 | .fold(init, |acc, (k, v)| { [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] 724 | let (mut e_args, mut kvs) = acc?; [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] 725 | let (new_args, processed_v) = extract_additional_args(ctx, u, v)?; [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] 728 | Ok((e_args, kvs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 738 | .fold(init, |acc, a| { [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] 739 | let (mut e_as, mut proc_as) = acc?; [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] 740 | let (new_args, processed_arg) = extract_additional_args(ctx, u, a)?; [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] 743 | Ok((e_as, proc_as)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:757:28 [INFO] [stdout] | [INFO] [stdout] 752 | .fold(init, |acc, a| { [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] 753 | let (mut e_as, mut proc_as) = acc?; [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] 754 | let (new_args, processed_arg) = extract_additional_args(ctx, u, a)?; [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] 757 | Ok((e_as, proc_as)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:779:28 [INFO] [stdout] | [INFO] [stdout] 774 | .fold(init, |acc, a| { [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] 775 | let (mut e_as, mut proc_as) = acc?; [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] 776 | let (new_args, processed_arg) = extract_additional_args(ctx, u, a)?; [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] 779 | Ok((e_as, proc_as)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:821:28 [INFO] [stdout] | [INFO] [stdout] 810 | .fold(init, |acc, token| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 811 | let (mut e_as, mut proc_body) = acc?; [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] 812 | let (new_args, processed_token) = match token { [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] 813 | sem::Token::Expr(e) => { [INFO] [stdout] 814 | let (new_args, proc_e) = extract_additional_args(ctx, u, e.clone())?; [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] 821 | Ok((e_as, proc_body)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:846:48 [INFO] [stdout] | [INFO] [stdout] 846 | params: lt_generics.iter().map(|lt| Ok(GenericParam::Lifetime(LifetimeDef { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 847 | | attrs: vec![], [INFO] [stdout] 848 | | lifetime: Lifetime { [INFO] [stdout] 849 | | apostrophe: dummy_span(), [INFO] [stdout] ... | [INFO] [stdout] 854 | | bounds: iter::empty::().collect() [INFO] [stdout] 855 | | }))).collect::>().into_iter().chain(type_generics.iter().map(|ty_gen| Ok(GenericParam::Type(TypeParam { [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/syn_arbitrary.rs:855:89 [INFO] [stdout] | [INFO] [stdout] 855 | }))).collect::>().into_iter().chain(type_generics.iter().map(|ty_gen| Ok(GenericParam::Type(TypeParam { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 856 | | attrs: vec![], [INFO] [stdout] 857 | | ident: name_to_ident_det(ty_gen.name.as_str()), [INFO] [stdout] 858 | | colon_token: parse_quote!(:), [INFO] [stdout] ... | [INFO] [stdout] 870 | | default: None [INFO] [stdout] 871 | | })))).collect::>()?, [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/syn_arbitrary.rs:860:20 [INFO] [stdout] | [INFO] [stdout] 860 | Ok(TypeParamBound::Trait(TraitBound { [INFO] [stdout] | ____________________^ [INFO] [stdout] 861 | | // TODO: when is the paren token needed? [INFO] [stdout] 862 | | paren_token: Some(Paren { span: dummy_span() }), [INFO] [stdout] 863 | | modifier: TraitBoundModifier::None, [INFO] [stdout] 864 | | lifetimes: None, [INFO] [stdout] 865 | | path: from_sem_path(ctx, u, &c.trait_name)? [INFO] [stdout] 866 | | }) [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/syn_arbitrary.rs:890:8 [INFO] [stdout] | [INFO] [stdout] 890 | Ok(make_path(path_suffix, PathArguments::None)) [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/syn_arbitrary.rs:957:67 [INFO] [stdout] | [INFO] [stdout] 957 | args: args.into_iter().map(|ty| GenericArgument::Type(ty.into())).collect(), [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/syn_arbitrary.rs:980:43 [INFO] [stdout] | [INFO] [stdout] 979 | }).chain(ty.type_args.into_iter().map(|ty_arg| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 980 | GenericArgument::Type(ty_arg.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/syn_arbitrary.rs:1043:12 [INFO] [stdout] | [INFO] [stdout] 1023 | let mut items: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1024 | let reserved = c_arbitrary(ctx, u)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1025 | let mut scope = ctx.scopes.top_mut().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1029 | let attrs = crate_attrs(ctx, u)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1043 | Ok(File { [INFO] [stdout] | ____________^ [INFO] [stdout] 1044 | | shebang: None, [INFO] [stdout] 1045 | | attrs, [INFO] [stdout] 1046 | | items, [INFO] [stdout] 1047 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1105:8 [INFO] [stdout] | [INFO] [stdout] 1079 | let (ret_ty, output) = lazy_choose!(u, { [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] 1085 | let sig = Signature { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1090 | fn_token: parse_quote!(fn), [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1091 | ident: parse_quote!(main), [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1105 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 1106 | | attrs: vec![], [INFO] [stdout] 1107 | | vis: Visibility::Inherited, [INFO] [stdout] 1108 | | sig, [INFO] [stdout] ... | [INFO] [stdout] 1114 | | // block: ty_ambigious!(ctx, with_type!(ctx, ret_ty, c_arbitrary(ctx, u)?)) [INFO] [stdout] 1115 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1079:24 [INFO] [stdout] | [INFO] [stdout] 1079 | let (ret_ty, output) = lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1080 | | (make_type!(()), ReturnType::Default), [INFO] [stdout] 1081 | | (make_type!(()), ReturnType::Type(parse_quote!(->), parse_quote!(()))), [INFO] [stdout] 1082 | | (make_type!(Result[#(()), std::io::Error]), [INFO] [stdout] 1083 | | ReturnType::Type(parse_quote!(->), parse_quote!(Result<(), std::io::Error>))), [INFO] [stdout] 1084 | | })?; [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1079:24 [INFO] [stdout] | [INFO] [stdout] 1079 | let (ret_ty, output) = lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1080 | | (make_type!(()), ReturnType::Default), [INFO] [stdout] 1081 | | (make_type!(()), ReturnType::Type(parse_quote!(->), parse_quote!(()))), [INFO] [stdout] 1082 | | (make_type!(Result[#(()), std::io::Error]), [INFO] [stdout] 1083 | | ReturnType::Type(parse_quote!(->), parse_quote!(Result<(), std::io::Error>))), [INFO] [stdout] 1084 | | })?; [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1122:29 [INFO] [stdout] | [INFO] [stdout] 1122 | not_top_level!(ctx, guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________- [INFO] [stdout] 1123 | | ctx.regard_semantics => panic!("Use `from_reserved` instead!"), [INFO] [stdout] 1124 | | !ctx.regard_semantics => Item::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1125 | | !ctx.regard_semantics => Item::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1139 | | // Intentionally omitted: ExternCrate, ForeignMod, Macro, Verbatim [INFO] [stdout] 1140 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1122:29 [INFO] [stdout] | [INFO] [stdout] 1122 | not_top_level!(ctx, guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________- [INFO] [stdout] 1123 | | ctx.regard_semantics => panic!("Use `from_reserved` instead!"), [INFO] [stdout] 1124 | | !ctx.regard_semantics => Item::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1125 | | !ctx.regard_semantics => Item::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1139 | | // Intentionally omitted: ExternCrate, ForeignMod, Macro, Verbatim [INFO] [stdout] 1140 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1210:12 [INFO] [stdout] | [INFO] [stdout] 1151 | let reservations = c_arbitrary_iter_with(ctx, u, |ctx, u| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1198 | let (enums, fns, structs) = reservations.into_iter().fold( [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] 1210 | Ok(Reservations { [INFO] [stdout] | ____________^ [INFO] [stdout] 1211 | | enums, [INFO] [stdout] 1212 | | fns, [INFO] [stdout] 1213 | | structs, [INFO] [stdout] 1214 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | / lazy_choose!(u, { [INFO] [stdout] 1155 | | { [INFO] [stdout] 1156 | | // Enum [INFO] [stdout] 1157 | | let name: StringWrapper = ident_to_name(&c_arbitrary(ctx, u)?).into(); [INFO] [stdout] ... | [INFO] [stdout] 1195 | | } [INFO] [stdout] 1196 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | / lazy_choose!(u, { [INFO] [stdout] 1155 | | { [INFO] [stdout] 1156 | | // Enum [INFO] [stdout] 1157 | | let name: StringWrapper = ident_to_name(&c_arbitrary(ctx, u)?).into(); [INFO] [stdout] ... | [INFO] [stdout] 1195 | | } [INFO] [stdout] 1196 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1278:8 [INFO] [stdout] | [INFO] [stdout] 1257 | ty: sem::Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1262 | let generics = from_sem_generics(ctx, u, &ty.lt_generics, &ty.type_generics)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1263 | let vis = c_arbitrary(ctx, u)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1269 | let ty = kind_to_type(ident_to_name(&ident), &kind); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1270 | let sem_fields = generate_sem_fields( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1277 | let fields = sem_fields.into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1278 | Ok(ItemStruct { [INFO] [stdout] | ________^ [INFO] [stdout] 1279 | | attrs: if ctx.options.print_vars { [INFO] [stdout] 1280 | | vec![parse_quote!(#[derive(Debug)])] [INFO] [stdout] 1281 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1286 | | semi_token: parse_quote!(;) [INFO] [stdout] 1287 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1308 | ty: sem::Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1311 | let vis = c_arbitrary(ctx, u)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1315 | let generics = from_sem_generics(ctx, u, &ty.lt_generics, &ty.type_generics)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1324 | let sem_variants = reserve_names!(ctx, reserved_variants.into_iter().map(|(name, is_tuple)| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1337 | let mut variants = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1338 | let mut struc_map = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1350 | Ok(ItemEnum { [INFO] [stdout] | ________^ [INFO] [stdout] 1351 | | attrs: if ctx.options.print_vars { [INFO] [stdout] 1352 | | vec![parse_quote!(#[derive(Debug)])] [INFO] [stdout] 1353 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1360 | | variants: variants.into_iter().collect() [INFO] [stdout] 1361 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/syn_arbitrary.rs:1335:12 [INFO] [stdout] | [INFO] [stdout] 1330 | let fields = generate_sem_fields( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1335 | Ok((name, fields)) [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] = 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/syn_arbitrary.rs:1371:30 [INFO] [stdout] | [INFO] [stdout] 1369 | named: named.named.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1370 | Field { [INFO] [stdout] 1371 | vis: Visibility::Inherited, [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/syn_arbitrary.rs:1382:30 [INFO] [stdout] | [INFO] [stdout] 1380 | unnamed: unnamed.unnamed.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1381 | Field { [INFO] [stdout] 1382 | vis: Visibility::Inherited, [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/syn_arbitrary.rs:1437:8 [INFO] [stdout] | [INFO] [stdout] 1402 | let fields = c_arbitrary_iter_with(ctx, u, |ctx, u| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1437 | Ok(if !is_tuple { [INFO] [stdout] | ________^ [INFO] [stdout] 1438 | | let fields = reserve_names!(ctx, sem::Fields::Named(fields.into_iter().map(|field| { [INFO] [stdout] 1439 | | let name: StringWrapper = ident_to_name(&c_arbitrary(ctx, u)?).into(); [INFO] [stdout] 1440 | | ctx.reserved_names.insert(name.clone()); [INFO] [stdout] ... | [INFO] [stdout] 1445 | | sem::Fields::Unnamed(fields) [INFO] [stdout] 1446 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1432:12 [INFO] [stdout] | [INFO] [stdout] 1403 | let mut field_ty = pick_type_that( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1432 | Ok(sem::Field { [INFO] [stdout] | ____________^ [INFO] [stdout] 1433 | | ty: Rc::new(field_ty), [INFO] [stdout] 1434 | | visible: vis, [INFO] [stdout] 1435 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1409:24 [INFO] [stdout] | [INFO] [stdout] 1409 | field_ty = guarded_lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1410 | | true => sem::Type { [INFO] [stdout] 1411 | | type_args: vec![field_ty], [INFO] [stdout] 1412 | | ..make_type!(Box) [INFO] [stdout] ... | [INFO] [stdout] 1425 | | } [INFO] [stdout] 1426 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1409:24 [INFO] [stdout] | [INFO] [stdout] 1409 | field_ty = guarded_lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1410 | | true => sem::Type { [INFO] [stdout] 1411 | | type_args: vec![field_ty], [INFO] [stdout] 1412 | | ..make_type!(Box) [INFO] [stdout] ... | [INFO] [stdout] 1425 | | } [INFO] [stdout] 1426 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1441:16 [INFO] [stdout] | [INFO] [stdout] 1438 | let fields = reserve_names!(ctx, sem::Fields::Named(fields.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1441 | Ok((name, field)) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1463:1 [INFO] [stdout] | [INFO] [stdout] 1463 | / lazy_choose!(u, { [INFO] [stdout] 1464 | | Fields::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 1465 | | Fields::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 1466 | | Fields::Unit, [INFO] [stdout] 1467 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1463:1 [INFO] [stdout] | [INFO] [stdout] 1463 | / lazy_choose!(u, { [INFO] [stdout] 1464 | | Fields::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 1465 | | Fields::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 1466 | | Fields::Unit, [INFO] [stdout] 1467 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1531:9 [INFO] [stdout] | [INFO] [stdout] 1531 | / lazy_choose!(u, { [INFO] [stdout] 1532 | | TraitItem::Const(c_arbitrary(ctx, u)?), [INFO] [stdout] 1533 | | TraitItem::Method(c_arbitrary(ctx, u)?), [INFO] [stdout] 1534 | | TraitItem::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1535 | | // intentionally ommited: Macro, Verbatim [INFO] [stdout] 1536 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1531:9 [INFO] [stdout] | [INFO] [stdout] 1531 | / lazy_choose!(u, { [INFO] [stdout] 1532 | | TraitItem::Const(c_arbitrary(ctx, u)?), [INFO] [stdout] 1533 | | TraitItem::Method(c_arbitrary(ctx, u)?), [INFO] [stdout] 1534 | | TraitItem::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1535 | | // intentionally ommited: Macro, Verbatim [INFO] [stdout] 1536 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1582:9 [INFO] [stdout] | [INFO] [stdout] 1582 | / guarded_lazy_choose!(u, { [INFO] [stdout] 1583 | | true => Visibility::Public(VisPublic{ pub_token: parse_quote!(pub), }), [INFO] [stdout] 1584 | | // Still experimental [INFO] [stdout] 1585 | | // |_, _| Ok(Visibility::Crate(VisCrate { crate_token: parse_quote!(crate), })), [INFO] [stdout] ... | [INFO] [stdout] 1595 | | true => Visibility::Inherited, [INFO] [stdout] 1596 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1582:9 [INFO] [stdout] | [INFO] [stdout] 1582 | / guarded_lazy_choose!(u, { [INFO] [stdout] 1583 | | true => Visibility::Public(VisPublic{ pub_token: parse_quote!(pub), }), [INFO] [stdout] 1584 | | // Still experimental [INFO] [stdout] 1585 | | // |_, _| Ok(Visibility::Crate(VisCrate { crate_token: parse_quote!(crate), })), [INFO] [stdout] ... | [INFO] [stdout] 1595 | | true => Visibility::Inherited, [INFO] [stdout] 1596 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1645:12 [INFO] [stdout] | [INFO] [stdout] 1643 | let sig = c_arbitrary(ctx, u)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1644 | let block = no_block_labels!(ctx, c_arbitrary(ctx, u)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1645 | Ok(ItemFn { [INFO] [stdout] | ____________^ [INFO] [stdout] 1646 | | attrs: vec![], [INFO] [stdout] 1647 | | vis: Visibility::Inherited, [INFO] [stdout] 1648 | | sig, [INFO] [stdout] 1649 | | block, [INFO] [stdout] 1650 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/syn_arbitrary.rs:1681:8 [INFO] [stdout] | [INFO] [stdout] 1656 | let mut reserved = ctx.reserved_names.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1659 | let (fn_type, final_expr, additional_arg_names, sig) = type_with_sig(ctx, u, ident)?; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1662 | let ret_type = fn_type.func.clone().unwrap().ret_type; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1668 | let block = with_attrs!(ctx { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1681 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 1682 | | attrs: vec![], [INFO] [stdout] 1683 | | vis: Visibility::Inherited, [INFO] [stdout] 1684 | | sig, [INFO] [stdout] 1685 | | block, [INFO] [stdout] 1686 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $e); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1693:12 [INFO] [stdout] | [INFO] [stdout] 1693 | Ok(ItemType { [INFO] [stdout] | ____________^ [INFO] [stdout] 1694 | | attrs: vec![], [INFO] [stdout] 1695 | | vis: Visibility::Inherited, [INFO] [stdout] 1696 | | type_token: parse_quote!(type), [INFO] [stdout] ... | [INFO] [stdout] 1711 | | semi_token: parse_quote!(;), [INFO] [stdout] 1712 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1718:9 [INFO] [stdout] | [INFO] [stdout] 1718 | / lazy_choose!(u, { [INFO] [stdout] 1719 | | Type::Slice(c_arbitrary(ctx, u)?), [INFO] [stdout] 1720 | | Type::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 1721 | | Type::Ptr(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1732 | | // Intentionally omitted: Macro, Verbatim [INFO] [stdout] 1733 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1718:9 [INFO] [stdout] | [INFO] [stdout] 1718 | / lazy_choose!(u, { [INFO] [stdout] 1719 | | Type::Slice(c_arbitrary(ctx, u)?), [INFO] [stdout] 1720 | | Type::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 1721 | | Type::Ptr(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1732 | | // Intentionally omitted: Macro, Verbatim [INFO] [stdout] 1733 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1822:12 [INFO] [stdout] | [INFO] [stdout] 1816 | let first_bound = TypeParamBound::Trait(c_arbitrary(ctx, u)?); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1817 | let iter: ContextArbitraryIter = c_arbitrary_iter(ctx, u); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1818 | // bounds need at least one trait [INFO] [stdout] 1819 | let bounds = iter::once(Ok(first_bound)) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1822 | Ok(TypeTraitObject { [INFO] [stdout] | ____________^ [INFO] [stdout] 1823 | | dyn_token: maybe(u, parse_quote!(dyn)), [INFO] [stdout] 1824 | | bounds, [INFO] [stdout] 1825 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1858:9 [INFO] [stdout] | [INFO] [stdout] 1858 | / lazy_choose!(u, { [INFO] [stdout] 1859 | | TypeParamBound::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] 1860 | | TypeParamBound::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 1861 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1858:9 [INFO] [stdout] | [INFO] [stdout] 1858 | / lazy_choose!(u, { [INFO] [stdout] 1859 | | TypeParamBound::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] 1860 | | TypeParamBound::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 1861 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1867:9 [INFO] [stdout] | [INFO] [stdout] 1867 | / lazy_choose!(u, { [INFO] [stdout] 1868 | | ReturnType::Default, [INFO] [stdout] 1869 | | ReturnType::Type( [INFO] [stdout] 1870 | | parse_quote!(->), [INFO] [stdout] 1871 | | parens_ty!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 1872 | | ) [INFO] [stdout] 1873 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1867:9 [INFO] [stdout] | [INFO] [stdout] 1867 | / lazy_choose!(u, { [INFO] [stdout] 1868 | | ReturnType::Default, [INFO] [stdout] 1869 | | ReturnType::Type( [INFO] [stdout] 1870 | | parse_quote!(->), [INFO] [stdout] 1871 | | parens_ty!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 1872 | | ) [INFO] [stdout] 1873 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1892:12 [INFO] [stdout] | [INFO] [stdout] 1892 | Ok(BareFnArg { [INFO] [stdout] | ____________^ [INFO] [stdout] 1893 | | attrs: vec![], [INFO] [stdout] 1894 | | name: opt_name.map(|name| (name, parse_quote!(:))), [INFO] [stdout] 1895 | | ty: c_arbitrary(ctx, u)?, [INFO] [stdout] 1896 | | }) [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/syn_arbitrary.rs:2082:8 [INFO] [stdout] | [INFO] [stdout] 1912 | let inputs: Punctuated; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1913 | let output: ReturnType; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1914 | let final_expr; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1915 | let mut input_vec = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1916 | let mut input_tys: Vec = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1917 | let old_reserved = mem::replace(&mut ctx.reserved_names, HashSet::new()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1925 | let reserved_lts = mem::replace(&mut ctx.reserved_names, old_reserved); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1926 | let mut output_ty; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1929 | let mut structs_and_enums = HashSet::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1942 | let type_generics = reserve_names!(ctx, structs_and_enums, c_arbitrary_iter_with(ctx, u, |ctx, u| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1973 | let old_reserved = mem::replace(&mut ctx.reserved_names, HashSet::new()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1998 | let reserved_param_names = mem::replace(&mut ctx.reserved_names, old_reserved); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2050 | let generics = Generics { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2051 | lt_token: parse_quote!(<), [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2074 | gt_token: parse_quote!(>), [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2082 | Ok((sem::Type { [INFO] [stdout] | ________^ [INFO] [stdout] 2083 | | name: vec!["#Fn".into()], [INFO] [stdout] 2084 | | // TODO: generate lifetimes [INFO] [stdout] 2085 | | lt_generics, [INFO] [stdout] ... | [INFO] [stdout] 2105 | | output [INFO] [stdout] 2106 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/syn_arbitrary.rs:1946:12 [INFO] [stdout] | [INFO] [stdout] 1946 | Ok(Generic { [INFO] [stdout] | ____________^ [INFO] [stdout] 1947 | | name, [INFO] [stdout] 1948 | | constraints: vec![], [INFO] [stdout] 1949 | | is_arg_for_other: false [INFO] [stdout] 1950 | | }) [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/syn_arbitrary.rs:2125:12 [INFO] [stdout] | [INFO] [stdout] 2112 | let inputs: Punctuated; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2113 | let output: ReturnType; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2125 | Ok(Signature { [INFO] [stdout] | ____________^ [INFO] [stdout] 2126 | | constness: None, [INFO] [stdout] 2127 | | asyncness: None, [INFO] [stdout] 2128 | | unsafety: None, [INFO] [stdout] ... | [INFO] [stdout] 2136 | | output [INFO] [stdout] 2137 | | }) [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/syn_arbitrary.rs:2152:12 [INFO] [stdout] | [INFO] [stdout] 2143 | let name = lazy_choose!(u, { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2152 | Ok(Abi { [INFO] [stdout] | ____________^ [INFO] [stdout] 2153 | | extern_token: parse_quote!(extern), [INFO] [stdout] 2154 | | name [INFO] [stdout] 2155 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2143:20 [INFO] [stdout] | [INFO] [stdout] 2143 | let name = lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2144 | | None, [INFO] [stdout] 2145 | | Some(parse_quote!("Rust")), [INFO] [stdout] 2146 | | Some(parse_quote!("C")), [INFO] [stdout] ... | [INFO] [stdout] 2150 | | } [INFO] [stdout] 2151 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2143:20 [INFO] [stdout] | [INFO] [stdout] 2143 | let name = lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2144 | | None, [INFO] [stdout] 2145 | | Some(parse_quote!("Rust")), [INFO] [stdout] 2146 | | Some(parse_quote!("C")), [INFO] [stdout] ... | [INFO] [stdout] 2150 | | } [INFO] [stdout] 2151 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2161:1 [INFO] [stdout] | [INFO] [stdout] 2161 | / lazy_choose!(u, { [INFO] [stdout] 2162 | | // only the first token can be a reciever [INFO] [stdout] 2163 | | // FnArg::Receiver(c_arbitrary(ctx, u)?) , [INFO] [stdout] 2164 | | FnArg::Typed(irrefutable!(ctx, c_arbitrary(ctx, u)?)), [INFO] [stdout] 2165 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2161:1 [INFO] [stdout] | [INFO] [stdout] 2161 | / lazy_choose!(u, { [INFO] [stdout] 2162 | | // only the first token can be a reciever [INFO] [stdout] 2163 | | // FnArg::Receiver(c_arbitrary(ctx, u)?) , [INFO] [stdout] 2164 | | FnArg::Typed(irrefutable!(ctx, c_arbitrary(ctx, u)?)), [INFO] [stdout] 2165 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2184:9 [INFO] [stdout] | [INFO] [stdout] 2184 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2185 | | true => Pat::Box(c_arbitrary(ctx, u)?), [INFO] [stdout] 2186 | | true => Pat::Ident(c_arbitrary(ctx, u)?), [INFO] [stdout] 2187 | | true => Pat::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2209 | | range => Pat::Range(c_arbitrary(ctx, u)?) [INFO] [stdout] 2210 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2184:9 [INFO] [stdout] | [INFO] [stdout] 2184 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2185 | | true => Pat::Box(c_arbitrary(ctx, u)?), [INFO] [stdout] 2186 | | true => Pat::Ident(c_arbitrary(ctx, u)?), [INFO] [stdout] 2187 | | true => Pat::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2209 | | range => Pat::Range(c_arbitrary(ctx, u)?) [INFO] [stdout] 2210 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2228:21 [INFO] [stdout] | [INFO] [stdout] 2228 | by_ref: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2229 | | true => None, [INFO] [stdout] 2230 | | !ctx.regard_semantics => parse_quote!(ref) [INFO] [stdout] 2231 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2228:21 [INFO] [stdout] | [INFO] [stdout] 2228 | by_ref: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2229 | | true => None, [INFO] [stdout] 2230 | | !ctx.regard_semantics => parse_quote!(ref) [INFO] [stdout] 2231 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2234:21 [INFO] [stdout] | [INFO] [stdout] 2234 | subpat: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2235 | | true => None, [INFO] [stdout] 2236 | | !ctx.regard_semantics => Some((parse_quote!(@), c_arbitrary(ctx, u)?)) [INFO] [stdout] 2237 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2234:21 [INFO] [stdout] | [INFO] [stdout] 2234 | subpat: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2235 | | true => None, [INFO] [stdout] 2236 | | !ctx.regard_semantics => Some((parse_quote!(@), c_arbitrary(ctx, u)?)) [INFO] [stdout] 2237 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2367:1 [INFO] [stdout] | [INFO] [stdout] 2367 | / lazy_choose!(u, { [INFO] [stdout] 2368 | | RangeLimits::HalfOpen(parse_quote!(..)), [INFO] [stdout] 2369 | | RangeLimits::Closed(parse_quote!(..=)), [INFO] [stdout] 2370 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2367:1 [INFO] [stdout] | [INFO] [stdout] 2367 | / lazy_choose!(u, { [INFO] [stdout] 2368 | | RangeLimits::HalfOpen(parse_quote!(..)), [INFO] [stdout] 2369 | | RangeLimits::Closed(parse_quote!(..=)), [INFO] [stdout] 2370 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:2440:12 [INFO] [stdout] | [INFO] [stdout] 2387 | let stmts: Vec; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2440 | Ok(Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 2441 | | brace_token: Brace { span: dummy_span() }, [INFO] [stdout] 2442 | | stmts, [INFO] [stdout] 2443 | | }) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2425:17 [INFO] [stdout] | [INFO] [stdout] 2425 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2426 | | ctx.expected_type.matches(&make_type!(())) => (), [INFO] [stdout] 2427 | | true => init_stmts.push(Stmt::Expr(c_arbitrary(ctx, u)?)) [INFO] [stdout] 2428 | | })?; [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2425:17 [INFO] [stdout] | [INFO] [stdout] 2425 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2426 | | ctx.expected_type.matches(&make_type!(())) => (), [INFO] [stdout] 2427 | | true => init_stmts.push(Stmt::Expr(c_arbitrary(ctx, u)?)) [INFO] [stdout] 2428 | | })?; [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2449:9 [INFO] [stdout] | [INFO] [stdout] 2449 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2450 | | true => Stmt::Local(c_arbitrary(ctx, u)?), [INFO] [stdout] 2451 | | !ctx.regard_semantics => Stmt::Item(c_arbitrary(ctx, u)?), [INFO] [stdout] 2452 | | true => Stmt::Semi({ [INFO] [stdout] ... | [INFO] [stdout] 2459 | | }, parse_quote!(;)), [INFO] [stdout] 2460 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2449:9 [INFO] [stdout] | [INFO] [stdout] 2449 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2450 | | true => Stmt::Local(c_arbitrary(ctx, u)?), [INFO] [stdout] 2451 | | !ctx.regard_semantics => Stmt::Item(c_arbitrary(ctx, u)?), [INFO] [stdout] 2452 | | true => Stmt::Semi({ [INFO] [stdout] ... | [INFO] [stdout] 2459 | | }, parse_quote!(;)), [INFO] [stdout] 2460 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/context_arbitrary.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 112 | gen: F [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | gen: Box::new(gen), [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/syn_arbitrary.rs:2500:12 [INFO] [stdout] | [INFO] [stdout] 2466 | let pat; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2467 | let init; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2500 | Ok(Local { [INFO] [stdout] | ____________^ [INFO] [stdout] 2501 | | attrs: vec![], [INFO] [stdout] 2502 | | pat, [INFO] [stdout] 2503 | | let_token: parse_quote!(let), [INFO] [stdout] 2504 | | init, [INFO] [stdout] 2505 | | semi_token: parse_quote!(;), [INFO] [stdout] 2506 | | }) [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/context_arbitrary.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 131 | gen: F [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | gen: Box::new(gen), [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/context_arbitrary.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let enum_choices = [|ctx, u| Ok(Some(c_arbitrary(ctx, u)?)), |_, _| Ok(None)]; [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/context_arbitrary.rs:220:80 [INFO] [stdout] | [INFO] [stdout] 220 | let enum_choices = [|ctx, u| Ok(Some(c_arbitrary(ctx, u)?)), |_, _| Ok(None)]; [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/choose.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn choose_consume(u: &mut Unstructured, mut choices: I) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | Ok(choices.nth(idx).unwrap()) [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/context.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | scopes: top_scope.clone(), [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2517:5 [INFO] [stdout] | [INFO] [stdout] 2517 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2518 | | ctx.is_top_pattern => { [INFO] [stdout] 2519 | | let (pat, sub_vars) = sub_pattern!(ctx, pattern_of_type(ctx, u, ty)?); [INFO] [stdout] 2520 | | (Pat::Type(PatType { [INFO] [stdout] ... | [INFO] [stdout] 2569 | | // } [INFO] [stdout] 2570 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/context.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | not_in_use_scopes: None, [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/context.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | operators: operators(), [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/ty_macros.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | (()) => (crate::semantics::Type { [INFO] [stdout] | ______________^ [INFO] [stdout] 97 | | name: vec!["#Unit".into()], [INFO] [stdout] 98 | | lt_generics: vec![], [INFO] [stdout] 99 | | type_generics: vec![], [INFO] [stdout] ... | [INFO] [stdout] 103 | | is_visible: true [INFO] [stdout] 104 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | expected_type: crate::make_type!(()), [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 `crate::make_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2517:5 [INFO] [stdout] | [INFO] [stdout] 2517 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2518 | | ctx.is_top_pattern => { [INFO] [stdout] 2519 | | let (pat, sub_vars) = sub_pattern!(ctx, pattern_of_type(ctx, u, ty)?); [INFO] [stdout] 2520 | | (Pat::Type(PatType { [INFO] [stdout] ... | [INFO] [stdout] 2569 | | // } [INFO] [stdout] 2570 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/context.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | precomputed_final: None, [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/context.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | branches: None, [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/context.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 142 | let top_scope: Stack = Rc::new([ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | reserved_names: HashSet::new(), [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2583:17 [INFO] [stdout] | [INFO] [stdout] 2583 | / weighted_lazy_choose!(u, { [INFO] [stdout] 2584 | | 10 => { [INFO] [stdout] 2585 | | let expr = construct_value( [INFO] [stdout] 2586 | | ctx, u, [INFO] [stdout] ... | [INFO] [stdout] 2593 | | 1 => Expr::Block(c_arbitrary(ctx, u)?) [INFO] [stdout] 2594 | | }) [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `weighted_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 115 - std::mem::drop(i); [INFO] [stdout] 115 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2600:20 [INFO] [stdout] | [INFO] [stdout] 2600 | let expr = guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2601 | | within_depth => Expr::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 2602 | | within_depth => Expr::Tuple(c_arbitrary(ctx, u)?), [INFO] [stdout] 2603 | | within_depth => Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2648 | | place_expr => local_var_expr(ctx, u)?, [INFO] [stdout] 2649 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/semantics.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 524 | fn from_iter>(into_iter: Iter) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let mut iter = into_iter.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | match iter.next() { [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2600:20 [INFO] [stdout] | [INFO] [stdout] 2600 | let expr = guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2601 | | within_depth => Expr::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 2602 | | within_depth => Expr::Tuple(c_arbitrary(ctx, u)?), [INFO] [stdout] 2603 | | within_depth => Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2648 | | place_expr => local_var_expr(ctx, u)?, [INFO] [stdout] 2649 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/semantics.rs:1049:8 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn pick_type_that<'a, F>(ctx: &Context, u: &mut Unstructured<'a>, pred: F) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1029 | let mut seen = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1049 | Ok(Type { [INFO] [stdout] | ________^ [INFO] [stdout] 1050 | | name: if name == &vec!["!"] { [INFO] [stdout] 1051 | | vec!["#Unit".into()] [INFO] [stdout] 1052 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1066 | | is_visible: kind.is_visible [INFO] [stdout] 1067 | | }) [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/syn_arbitrary.rs:2674:8 [INFO] [stdout] | [INFO] [stdout] 2665 | let path = ExprPath { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2674 | Ok(Expr::Path(path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/semantics.rs:1141:38 [INFO] [stdout] | [INFO] [stdout] 1140 | let f_iter: InterIter = Box::new(f_args.into_iter()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1141 | values_iter.try_fold((first.as_ref().clone(), f_iter), [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/syn_arbitrary.rs:2725:12 [INFO] [stdout] | [INFO] [stdout] 2720 | let expr = if op == parse_quote!(*) { [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] 2725 | Ok(ExprUnary { [INFO] [stdout] | ____________^ [INFO] [stdout] 2726 | | attrs: vec![], [INFO] [stdout] 2727 | | op, [INFO] [stdout] 2728 | | expr [INFO] [stdout] 2729 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] ::: src/context.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $e); [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] = 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/syn_arbitrary.rs:2833:12 [INFO] [stdout] | [INFO] [stdout] 2831 | let len = Box::new(choice(ctx, u)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2832 | [INFO] [stdout] 2833 | Ok(ExprRepeat { [INFO] [stdout] | ____________^ [INFO] [stdout] 2834 | | attrs: vec![], [INFO] [stdout] 2835 | | bracket_token: Bracket { span: dummy_span() }, [INFO] [stdout] 2836 | | expr: c_arbitrary(ctx, u)?, [INFO] [stdout] 2837 | | semi_token: parse_quote!(;), [INFO] [stdout] 2838 | | len [INFO] [stdout] 2839 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantics.rs:1144:30 [INFO] [stdout] | [INFO] [stdout] 1142 | |(acc_ty, acc_iter), (v_ty, v_iter)| [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1143 | -> Option<(Type, InterIter)> { [INFO] [stdout] 1144 | Some((acc_ty.merge(v_ty.as_ref().clone())?, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1145 | | Box::new(acc_iter.into_iter().chain(v_iter)))) [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/syn_arbitrary.rs:2827:21 [INFO] [stdout] | [INFO] [stdout] 2827 | |ctx, u| ok(Expr::Lit(c_arbitrary(ctx, u)?)), [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/semantics.rs:1154:23 [INFO] [stdout] | [INFO] [stdout] 1154 | .map(|gen| Ok((gen.name.clone(), pick_type_impls(ctx, u, &gen.constraints)?))) [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/syn_arbitrary.rs:2828:21 [INFO] [stdout] | [INFO] [stdout] 2828 | |ctx, u| ok(Expr::Path(c_arbitrary(ctx, u)?)), [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/semantics.rs:1435:45 [INFO] [stdout] | [INFO] [stdout] 1435 | .map(|(name,ty)| (name, Right(ty))) [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/semantics.rs:1459:52 [INFO] [stdout] | [INFO] [stdout] 1459 | invalid_from.as_ref().and_then(|i| i.top().map(|s| s.id)) { [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/semantics.rs:1463:50 [INFO] [stdout] | [INFO] [stdout] 1463 | invalid_to.as_ref().and_then(|i| i.top().map(|s| s.id)) { [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/semantics.rs:1501:26 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [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/semantics.rs:1501:50 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [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/semantics.rs:1502:26 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [INFO] [stdout] 1502 | Box::new(c1.chain(c2)), Box::new(d1.chain(d2)), [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/syn_arbitrary.rs:2865:12 [INFO] [stdout] | [INFO] [stdout] 2858 | let from = lazy_maybe!(u, parens_ex!(3, ctx, c_arbitrary(ctx, u)?)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2861 | let to = match limits { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2865 | Ok(ExprRange { [INFO] [stdout] | ____________^ [INFO] [stdout] 2866 | | attrs: vec![], [INFO] [stdout] 2867 | | from, [INFO] [stdout] 2868 | | limits, [INFO] [stdout] 2869 | | to, [INFO] [stdout] 2870 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $e); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantics.rs:1502:50 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1501 | (Box::new(a1.chain(a2)), Box::new(b1.chain(b2)), [INFO] [stdout] 1502 | Box::new(c1.chain(c2)), Box::new(d1.chain(d2)), [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/semantics.rs:1503:26 [INFO] [stdout] | [INFO] [stdout] 1500 | |(a1,b1,c1,d1,e1), (a2,b2,c2,d2,e2)| { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1503 | Box::new(e1.chain(e2))) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2907:49 [INFO] [stdout] | [INFO] [stdout] 2907 | GenericMethodArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 2908 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 2909 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 2910 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 2911 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2907:49 [INFO] [stdout] | [INFO] [stdout] 2907 | GenericMethodArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 2908 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 2909 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 2910 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 2911 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/semantics.rs:1950:24 [INFO] [stdout] | [INFO] [stdout] 1943 | pub fn kind_to_type>(name: S, kind: &Kind) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1950 | type_generics: GEN_STRING[0..(kind.types as usize)].iter() [INFO] [stdout] | ________________________^ [INFO] [stdout] 1951 | | .map(|s| Generic { [INFO] [stdout] 1952 | | name: (*s).into(), [INFO] [stdout] 1953 | | is_arg_for_other: false, [INFO] [stdout] 1954 | | constraints: vec![] [INFO] [stdout] 1955 | | }).collect(), [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/semantics.rs:1957:15 [INFO] [stdout] | [INFO] [stdout] 1943 | pub fn kind_to_type>(name: S, kind: &Kind) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1957 | func: None, [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/semantics.rs:1969:15 [INFO] [stdout] | [INFO] [stdout] 1962 | pub fn name_to_type>(name: S) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1969 | func: None, [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/semantics.rs:1976:47 [INFO] [stdout] | [INFO] [stdout] 1974 | fn report_unconstructable_variable(ty: Type) -> Expr { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1975 | println!("Couldn't find value of type {}", ty); [INFO] [stdout] 1976 | Expr::Macro(vec!["compile_error".into()], MacroBody { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 1977 | | brackets: BracketType::Round, [INFO] [stdout] 1978 | | seperator: Seperator::Comma, [INFO] [stdout] 1979 | | tokens: vec![Token::Expr(Expr::ExactString(format!("Couldn't find value of type {}", ty)))] [INFO] [stdout] 1980 | | }) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2901:1 [INFO] [stdout] | [INFO] [stdout] 2901 | / lazy_choose!(u, { [INFO] [stdout] 2902 | | // https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md [INFO] [stdout] 2903 | | // const generics arguments need to be either [INFO] [stdout] 2904 | | // * variables, [INFO] [stdout] ... | [INFO] [stdout] 2912 | | GenericMethodArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 2913 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2901:1 [INFO] [stdout] | [INFO] [stdout] 2901 | / lazy_choose!(u, { [INFO] [stdout] 2902 | | // https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md [INFO] [stdout] 2903 | | // const generics arguments need to be either [INFO] [stdout] 2904 | | // * variables, [INFO] [stdout] ... | [INFO] [stdout] 2912 | | GenericMethodArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 2913 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:2924:12 [INFO] [stdout] | [INFO] [stdout] 2919 | let mut arms = unwrap_nev(c_arbitrary(ctx, u)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2924 | Ok(ExprMatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 2925 | | attrs: vec![], [INFO] [stdout] 2926 | | match_token: parse_quote!(match), [INFO] [stdout] 2927 | | expr: parens_block!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 2928 | | brace_token: Brace { span: dummy_span() }, [INFO] [stdout] 2929 | | arms [INFO] [stdout] 2930 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:2947:12 [INFO] [stdout] | [INFO] [stdout] 2936 | let body = c_arbitrary(ctx, u)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2943 | maybe(u, parse_quote!(,)) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2944 | } else { [INFO] [stdout] 2945 | Some(parse_quote!(,)) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2946 | }; [INFO] [stdout] 2947 | Ok(Arm { [INFO] [stdout] | ____________^ [INFO] [stdout] 2948 | | attrs: vec![], [INFO] [stdout] 2949 | | pat: c_arbitrary(ctx, u)?, [INFO] [stdout] 2950 | | // TODO: Just a guess, but the prescedence should be higher than the binaryor operator [INFO] [stdout] ... | [INFO] [stdout] 2954 | | comma [INFO] [stdout] 2955 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:3017:12 [INFO] [stdout] | [INFO] [stdout] 2995 | let then_branch; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2996 | let else_branch; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2997 | let cond = if !ctx.regard_semantics && Arbitrary::arbitrary(u)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3017 | Ok(ExprIf { [INFO] [stdout] | ____________^ [INFO] [stdout] 3018 | | attrs: vec![], [INFO] [stdout] 3019 | | if_token: parse_quote!(if), [INFO] [stdout] 3020 | | cond, [INFO] [stdout] 3021 | | then_branch, [INFO] [stdout] 3022 | | else_branch, [INFO] [stdout] 3023 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/scopes.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 146 | make_macro!(#(Vec{T}) : vec(|ty_args, ctx, u| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | Ok(MacroBody { [INFO] [stdout] | ________________________^ [INFO] [stdout] 148 | | brackets: if Arbitrary::arbitrary(u)? { [INFO] [stdout] 149 | | BracketType::Round [INFO] [stdout] 150 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 156 | | seperator: Seperator::Comma [INFO] [stdout] 157 | | }) [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/scopes.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 161 | macros.push(make_macro!(#(!) : panic(|_, _, u| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | Ok(MacroBody { [INFO] [stdout] | ________________________^ [INFO] [stdout] 163 | | brackets: BracketType::Round, [INFO] [stdout] 164 | | tokens: vec![Token::Expr(Expr::ExactString(Arbitrary::arbitrary(u)?))], [INFO] [stdout] 165 | | seperator: Seperator::Comma [INFO] [stdout] 166 | | }) [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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | make_struct!((2;)), [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 `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3010:71 [INFO] [stdout] | [INFO] [stdout] 3010 | Box::new(not_fn_block!(ctx, no_block_labels!(ctx, lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________________________- [INFO] [stdout] 3011 | | Expr::Block(c_arbitrary(ctx, u)?), [INFO] [stdout] 3012 | | Expr::If(c_arbitrary(ctx, u)?) [INFO] [stdout] 3013 | | })?))) [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | make_struct!((3;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | make_struct!((4;)), [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 `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3010:71 [INFO] [stdout] | [INFO] [stdout] 3010 | Box::new(not_fn_block!(ctx, no_block_labels!(ctx, lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________________________- [INFO] [stdout] 3011 | | Expr::Block(c_arbitrary(ctx, u)?), [INFO] [stdout] 3012 | | Expr::If(c_arbitrary(ctx, u)?) [INFO] [stdout] 3013 | | })?))) [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | make_struct!((5;)), [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 `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3005:27 [INFO] [stdout] | [INFO] [stdout] 3005 | else_branch = guarded_lazy_choose!(u, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 3006 | | !ctx.regard_semantics || [INFO] [stdout] 3007 | | ctx.expected_type.name == vec![StringWrapper::from("#Unit")] => None, [INFO] [stdout] 3008 | | true => Some(( [INFO] [stdout] ... | [INFO] [stdout] 3014 | | )) [INFO] [stdout] 3015 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | make_struct!((6;)), [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 `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3005:27 [INFO] [stdout] | [INFO] [stdout] 3005 | else_branch = guarded_lazy_choose!(u, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 3006 | | !ctx.regard_semantics || [INFO] [stdout] 3007 | | ctx.expected_type.name == vec![StringWrapper::from("#Unit")] => None, [INFO] [stdout] 3008 | | true => Some(( [INFO] [stdout] ... | [INFO] [stdout] 3014 | | )) [INFO] [stdout] 3015 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | make_struct!((7;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | make_struct!((8;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | make_struct!((9;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | make_struct!((10;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | make_struct!((11;)), [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 `make_struct` (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/ty_macros.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | ty: Rc::new(name_to_type(name.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scopes.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | make_struct!((12;)) [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 `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3065:1 [INFO] [stdout] | [INFO] [stdout] 3065 | / lazy_choose!(u, { [INFO] [stdout] 3066 | | Member::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 3067 | | Member::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3068 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3065:1 [INFO] [stdout] | [INFO] [stdout] 3065 | / lazy_choose!(u, { [INFO] [stdout] 3066 | | Member::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 3067 | | Member::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3068 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3085:12 [INFO] [stdout] | [INFO] [stdout] 3084 | let output = c_arbitrary(ctx, u)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3085 | Ok(ExprClosure { [INFO] [stdout] | ____________^ [INFO] [stdout] 3086 | | attrs: vec![], [INFO] [stdout] 3087 | | asyncness: maybe(u, parse_quote!(async)), [INFO] [stdout] 3088 | | // It's unclear if this feature is actually implemented, dissabling for now [INFO] [stdout] ... | [INFO] [stdout] 3100 | | output [INFO] [stdout] 3101 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 209 | expr: b.expr.map(|expr| Box::new(parenthesize_block(*expr))), [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/syn_arbitrary.rs:3140:8 [INFO] [stdout] | [INFO] [stdout] 3139 | let ident = from_sem_path(ctx, u, &name)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3140 | Ok(Stmt::Semi(Expr::Macro(ExprMacro { [INFO] [stdout] | ________^ [INFO] [stdout] 3141 | | attrs: vec![], [INFO] [stdout] 3142 | | mac: syn::Macro { [INFO] [stdout] 3143 | | path: parse_quote!(println), [INFO] [stdout] ... | [INFO] [stdout] 3147 | | } [INFO] [stdout] 3148 | | }), parse_quote!(;))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:277:50 [INFO] [stdout] | [INFO] [stdout] 277 | from: r.from.map(|from| Box::new(parenthesize_block(*from))), [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3155:20 [INFO] [stdout] | [INFO] [stdout] 3155 | label: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 3156 | | true => None, [INFO] [stdout] 3157 | | // requires #![feature(label_break_value)] [INFO] [stdout] 3158 | | !ctx.regard_semantics && ctx.allow_block_labels => c_arbitrary(ctx, u)? [INFO] [stdout] 3159 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/syn_arbitrary.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | to: r.to.map(|to| Box::new(parenthesize_block(*to))), [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3155:20 [INFO] [stdout] | [INFO] [stdout] 3155 | label: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 3156 | | true => None, [INFO] [stdout] 3157 | | // requires #![feature(label_break_value)] [INFO] [stdout] 3158 | | !ctx.regard_semantics && ctx.allow_block_labels => c_arbitrary(ctx, u)? [INFO] [stdout] 3159 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 323 | fn in_parens(e: Expr) -> Expr { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | Expr::Paren(ExprParen { [INFO] [stdout] | _________________^ [INFO] [stdout] 325 | | attrs: vec![], [INFO] [stdout] 326 | | paren_token: Paren { span: dummy_span() }, [INFO] [stdout] 327 | | expr: Box::new(e) [INFO] [stdout] 328 | | }) [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/syn_arbitrary.rs:3225:12 [INFO] [stdout] | [INFO] [stdout] 3225 | Ok(ExprAssignOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 3226 | | attrs: vec![], [INFO] [stdout] 3227 | | left: place_expression!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 3228 | | right: c_arbitrary(ctx, u)?, [INFO] [stdout] 3229 | | op, [INFO] [stdout] 3230 | | }) [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/syn_arbitrary.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 453 | unnamed: unnamed.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | vis: if field.visible { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 457 | | Visibility::Public(VisPublic { pub_token: parse_quote!(pub) }) [INFO] [stdout] 458 | | } else { [INFO] [stdout] 459 | | Visibility::Inherited [INFO] [stdout] 460 | | }, [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/syn_arbitrary.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 453 | unnamed: unnamed.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 463 | ty: Rc::as_ref(&field.ty).clone().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/syn_arbitrary.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 469 | named: named.into_iter().map(|(name, field)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | vis: if field.visible { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 473 | | Visibility::Public(VisPublic { pub_token: parse_quote!(pub) }) [INFO] [stdout] 474 | | } else { [INFO] [stdout] 475 | | Visibility::Inherited [INFO] [stdout] 476 | | }, [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/syn_arbitrary.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 469 | named: named.into_iter().map(|(name, field)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 479 | ty: Rc::as_ref(&field.ty).clone().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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3219:10 [INFO] [stdout] | [INFO] [stdout] 3219 | let op = lazy_choose!(u, { [INFO] [stdout] | __________- [INFO] [stdout] 3220 | | BinOp::AddEq(parse_quote!(+=)), [INFO] [stdout] 3221 | | BinOp::SubEq(parse_quote!(-=)), [INFO] [stdout] 3222 | | BinOp::MulEq(parse_quote!(*=)), [INFO] [stdout] 3223 | | BinOp::DivEq(parse_quote!(/=)), [INFO] [stdout] 3224 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/syn_arbitrary.rs:566:68 [INFO] [stdout] | [INFO] [stdout] 566 | ... .map(|arg| GenericMethodArgument::Type(arg.clone().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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3219:10 [INFO] [stdout] | [INFO] [stdout] 3219 | let op = lazy_choose!(u, { [INFO] [stdout] | __________- [INFO] [stdout] 3220 | | BinOp::AddEq(parse_quote!(+=)), [INFO] [stdout] 3221 | | BinOp::SubEq(parse_quote!(-=)), [INFO] [stdout] 3222 | | BinOp::MulEq(parse_quote!(*=)), [INFO] [stdout] 3223 | | BinOp::DivEq(parse_quote!(/=)), [INFO] [stdout] 3224 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3238:12 [INFO] [stdout] | [INFO] [stdout] 3238 | Ok(ExprBinary { [INFO] [stdout] | ____________^ [INFO] [stdout] 3239 | | attrs: vec![], [INFO] [stdout] 3240 | | left: parens_ex!(binary_prescedence(&op) + left_assoc, ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 3241 | | op, [INFO] [stdout] 3242 | | right: parens_ex!(binary_prescedence(&op) + right_assoc, ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 3243 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | / lazy_choose!(u, { [INFO] [stdout] 3250 | | parse_quote!(+), [INFO] [stdout] 3251 | | parse_quote!(*), [INFO] [stdout] 3252 | | parse_quote!(/), [INFO] [stdout] 3253 | | parse_quote!(%), [INFO] [stdout] 3254 | | parse_quote!(-), [INFO] [stdout] 3255 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/syn_arbitrary.rs:710:8 [INFO] [stdout] | [INFO] [stdout] 708 | fn extract_additional_args(ctx: &mut Context, u: &mut Unstructured, e: sem::Expr) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | -> Result<(Vec<(Ident, sem::Mutability, sem::Type)>, sem::Expr)> { [INFO] [stdout] 710 | Ok(match e { [INFO] [stdout] | ________^ [INFO] [stdout] 711 | | sem::Expr::AdditionalArg(ty, mt) => { [INFO] [stdout] 712 | | let ident = c_arbitrary(ctx, u)?; [INFO] [stdout] 713 | | // we don't want the argument to be shadowed by a local variable [INFO] [stdout] ... | [INFO] [stdout] 828 | | _ => (vec![], e) [INFO] [stdout] 829 | | }) [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/syn_arbitrary.rs:728:28 [INFO] [stdout] | [INFO] [stdout] 723 | .fold(init, |acc, (k, v)| { [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] 724 | let (mut e_args, mut kvs) = acc?; [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] 725 | let (new_args, processed_v) = extract_additional_args(ctx, u, v)?; [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] 728 | Ok((e_args, kvs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 738 | .fold(init, |acc, a| { [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] 739 | let (mut e_as, mut proc_as) = acc?; [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] 740 | let (new_args, processed_arg) = extract_additional_args(ctx, u, a)?; [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] 743 | Ok((e_as, proc_as)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:757:28 [INFO] [stdout] | [INFO] [stdout] 752 | .fold(init, |acc, a| { [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] 753 | let (mut e_as, mut proc_as) = acc?; [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] 754 | let (new_args, processed_arg) = extract_additional_args(ctx, u, a)?; [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] 757 | Ok((e_as, proc_as)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:779:28 [INFO] [stdout] | [INFO] [stdout] 774 | .fold(init, |acc, a| { [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] 775 | let (mut e_as, mut proc_as) = acc?; [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] 776 | let (new_args, processed_arg) = extract_additional_args(ctx, u, a)?; [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] 779 | Ok((e_as, proc_as)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | / lazy_choose!(u, { [INFO] [stdout] 3250 | | parse_quote!(+), [INFO] [stdout] 3251 | | parse_quote!(*), [INFO] [stdout] 3252 | | parse_quote!(/), [INFO] [stdout] 3253 | | parse_quote!(%), [INFO] [stdout] 3254 | | parse_quote!(-), [INFO] [stdout] 3255 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3303:12 [INFO] [stdout] | [INFO] [stdout] 3291 | let path; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3303 | Ok(ExprPath { [INFO] [stdout] | ____________^ [INFO] [stdout] 3304 | | attrs: vec![], [INFO] [stdout] 3305 | | qself: None, [INFO] [stdout] 3306 | | path [INFO] [stdout] 3307 | | }) [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/syn_arbitrary.rs:821:28 [INFO] [stdout] | [INFO] [stdout] 810 | .fold(init, |acc, token| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 811 | let (mut e_as, mut proc_body) = acc?; [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] 812 | let (new_args, processed_token) = match token { [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] 813 | sem::Token::Expr(e) => { [INFO] [stdout] 814 | let (new_args, proc_e) = extract_additional_args(ctx, u, e.clone())?; [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] 821 | Ok((e_as, proc_body)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:846:48 [INFO] [stdout] | [INFO] [stdout] 846 | params: lt_generics.iter().map(|lt| Ok(GenericParam::Lifetime(LifetimeDef { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 847 | | attrs: vec![], [INFO] [stdout] 848 | | lifetime: Lifetime { [INFO] [stdout] 849 | | apostrophe: dummy_span(), [INFO] [stdout] ... | [INFO] [stdout] 854 | | bounds: iter::empty::().collect() [INFO] [stdout] 855 | | }))).collect::>().into_iter().chain(type_generics.iter().map(|ty_gen| Ok(GenericParam::Type(TypeParam { [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/syn_arbitrary.rs:855:89 [INFO] [stdout] | [INFO] [stdout] 855 | }))).collect::>().into_iter().chain(type_generics.iter().map(|ty_gen| Ok(GenericParam::Type(TypeParam { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 856 | | attrs: vec![], [INFO] [stdout] 857 | | ident: name_to_ident_det(ty_gen.name.as_str()), [INFO] [stdout] 858 | | colon_token: parse_quote!(:), [INFO] [stdout] ... | [INFO] [stdout] 870 | | default: None [INFO] [stdout] 871 | | })))).collect::>()?, [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/syn_arbitrary.rs:860:20 [INFO] [stdout] | [INFO] [stdout] 860 | Ok(TypeParamBound::Trait(TraitBound { [INFO] [stdout] | ____________________^ [INFO] [stdout] 861 | | // TODO: when is the paren token needed? [INFO] [stdout] 862 | | paren_token: Some(Paren { span: dummy_span() }), [INFO] [stdout] 863 | | modifier: TraitBoundModifier::None, [INFO] [stdout] 864 | | lifetimes: None, [INFO] [stdout] 865 | | path: from_sem_path(ctx, u, &c.trait_name)? [INFO] [stdout] 866 | | }) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3313:5 [INFO] [stdout] | [INFO] [stdout] 3313 | / lazy_choose!(u, { [INFO] [stdout] 3314 | | { let data: u32 = Arbitrary::arbitrary(u)?; [INFO] [stdout] 3315 | | parse_quote!(#data) }, [INFO] [stdout] 3316 | | { let data: String = Arbitrary::arbitrary(u)?; [INFO] [stdout] ... | [INFO] [stdout] 3322 | | parse_quote!(#data) }, [INFO] [stdout] 3323 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [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/syn_arbitrary.rs:890:8 [INFO] [stdout] | [INFO] [stdout] 890 | Ok(make_path(path_suffix, PathArguments::None)) [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/syn_arbitrary.rs:957:67 [INFO] [stdout] | [INFO] [stdout] 957 | args: args.into_iter().map(|ty| GenericArgument::Type(ty.into())).collect(), [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/syn_arbitrary.rs:980:43 [INFO] [stdout] | [INFO] [stdout] 979 | }).chain(ty.type_args.into_iter().map(|ty_arg| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 980 | GenericArgument::Type(ty_arg.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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3313:5 [INFO] [stdout] | [INFO] [stdout] 3313 | / lazy_choose!(u, { [INFO] [stdout] 3314 | | { let data: u32 = Arbitrary::arbitrary(u)?; [INFO] [stdout] 3315 | | parse_quote!(#data) }, [INFO] [stdout] 3316 | | { let data: String = Arbitrary::arbitrary(u)?; [INFO] [stdout] ... | [INFO] [stdout] 3322 | | parse_quote!(#data) }, [INFO] [stdout] 3323 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1043:12 [INFO] [stdout] | [INFO] [stdout] 1023 | let mut items: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1024 | let reserved = c_arbitrary(ctx, u)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1025 | let mut scope = ctx.scopes.top_mut().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1029 | let attrs = crate_attrs(ctx, u)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1043 | Ok(File { [INFO] [stdout] | ____________^ [INFO] [stdout] 1044 | | shebang: None, [INFO] [stdout] 1045 | | attrs, [INFO] [stdout] 1046 | | items, [INFO] [stdout] 1047 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3340:9 [INFO] [stdout] | [INFO] [stdout] 3340 | / guarded_lazy_choose!(u, { [INFO] [stdout] 3341 | | true => GenericParam::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3342 | | true => GenericParam::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3343 | | !ctx.regard_semantics => GenericParam::Const(c_arbitrary(ctx, u)?) [INFO] [stdout] 3344 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3340:9 [INFO] [stdout] | [INFO] [stdout] 3340 | / guarded_lazy_choose!(u, { [INFO] [stdout] 3341 | | true => GenericParam::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3342 | | true => GenericParam::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3343 | | !ctx.regard_semantics => GenericParam::Const(c_arbitrary(ctx, u)?) [INFO] [stdout] 3344 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1105:8 [INFO] [stdout] | [INFO] [stdout] 1079 | let (ret_ty, output) = lazy_choose!(u, { [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] 1085 | let sig = Signature { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1090 | fn_token: parse_quote!(fn), [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1091 | ident: parse_quote!(main), [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1105 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 1106 | | attrs: vec![], [INFO] [stdout] 1107 | | vis: Visibility::Inherited, [INFO] [stdout] 1108 | | sig, [INFO] [stdout] ... | [INFO] [stdout] 1114 | | // block: ty_ambigious!(ctx, with_type!(ctx, ret_ty, c_arbitrary(ctx, u)?)) [INFO] [stdout] 1115 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1079:24 [INFO] [stdout] | [INFO] [stdout] 1079 | let (ret_ty, output) = lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1080 | | (make_type!(()), ReturnType::Default), [INFO] [stdout] 1081 | | (make_type!(()), ReturnType::Type(parse_quote!(->), parse_quote!(()))), [INFO] [stdout] 1082 | | (make_type!(Result[#(()), std::io::Error]), [INFO] [stdout] 1083 | | ReturnType::Type(parse_quote!(->), parse_quote!(Result<(), std::io::Error>))), [INFO] [stdout] 1084 | | })?; [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1079:24 [INFO] [stdout] | [INFO] [stdout] 1079 | let (ret_ty, output) = lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1080 | | (make_type!(()), ReturnType::Default), [INFO] [stdout] 1081 | | (make_type!(()), ReturnType::Type(parse_quote!(->), parse_quote!(()))), [INFO] [stdout] 1082 | | (make_type!(Result[#(()), std::io::Error]), [INFO] [stdout] 1083 | | ReturnType::Type(parse_quote!(->), parse_quote!(Result<(), std::io::Error>))), [INFO] [stdout] 1084 | | })?; [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3359:12 [INFO] [stdout] | [INFO] [stdout] 3350 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3354 | let r#default = guarded_lazy_choose!(u, { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3359 | Ok(TypeParam { [INFO] [stdout] | ____________^ [INFO] [stdout] 3360 | | attrs: vec![], [INFO] [stdout] 3361 | | ident: c_arbitrary(ctx, u)?, [INFO] [stdout] 3362 | | colon_token: if bounds.len() > 0 { parse_quote!(=) } else { None }, [INFO] [stdout] ... | [INFO] [stdout] 3365 | | r#default, [INFO] [stdout] 3366 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3350:61 [INFO] [stdout] | [INFO] [stdout] 3350 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________________________________________- [INFO] [stdout] 3351 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3352 | | true => iter::empty::().collect() [INFO] [stdout] 3353 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1122:29 [INFO] [stdout] | [INFO] [stdout] 1122 | not_top_level!(ctx, guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________- [INFO] [stdout] 1123 | | ctx.regard_semantics => panic!("Use `from_reserved` instead!"), [INFO] [stdout] 1124 | | !ctx.regard_semantics => Item::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1125 | | !ctx.regard_semantics => Item::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1139 | | // Intentionally omitted: ExternCrate, ForeignMod, Macro, Verbatim [INFO] [stdout] 1140 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3350:61 [INFO] [stdout] | [INFO] [stdout] 3350 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________________________________________- [INFO] [stdout] 3351 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3352 | | true => iter::empty::().collect() [INFO] [stdout] 3353 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3354:25 [INFO] [stdout] | [INFO] [stdout] 3354 | let r#default = guarded_lazy_choose!(u, { [INFO] [stdout] | _________________________- [INFO] [stdout] 3355 | | !ctx.regard_semantics => Some(c_arbitrary(ctx, u)?), [INFO] [stdout] 3356 | | true => None [INFO] [stdout] 3357 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3354:25 [INFO] [stdout] | [INFO] [stdout] 3354 | let r#default = guarded_lazy_choose!(u, { [INFO] [stdout] | _________________________- [INFO] [stdout] 3355 | | !ctx.regard_semantics => Some(c_arbitrary(ctx, u)?), [INFO] [stdout] 3356 | | true => None [INFO] [stdout] 3357 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1122:29 [INFO] [stdout] | [INFO] [stdout] 1122 | not_top_level!(ctx, guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________- [INFO] [stdout] 1123 | | ctx.regard_semantics => panic!("Use `from_reserved` instead!"), [INFO] [stdout] 1124 | | !ctx.regard_semantics => Item::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1125 | | !ctx.regard_semantics => Item::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1139 | | // Intentionally omitted: ExternCrate, ForeignMod, Macro, Verbatim [INFO] [stdout] 1140 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3376:12 [INFO] [stdout] | [INFO] [stdout] 3372 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3376 | Ok(LifetimeDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 3377 | | attrs: vec![], [INFO] [stdout] 3378 | | lifetime: c_arbitrary(ctx, u)?, [INFO] [stdout] 3379 | | colon_token: if bounds.len() > 0 { parse_quote!(=) } else { None }, [INFO] [stdout] 3380 | | bounds, [INFO] [stdout] 3381 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1210:12 [INFO] [stdout] | [INFO] [stdout] 1151 | let reservations = c_arbitrary_iter_with(ctx, u, |ctx, u| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1198 | let (enums, fns, structs) = reservations.into_iter().fold( [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] 1210 | Ok(Reservations { [INFO] [stdout] | ____________^ [INFO] [stdout] 1211 | | enums, [INFO] [stdout] 1212 | | fns, [INFO] [stdout] 1213 | | structs, [INFO] [stdout] 1214 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | / lazy_choose!(u, { [INFO] [stdout] 1155 | | { [INFO] [stdout] 1156 | | // Enum [INFO] [stdout] 1157 | | let name: StringWrapper = ident_to_name(&c_arbitrary(ctx, u)?).into(); [INFO] [stdout] ... | [INFO] [stdout] 1195 | | } [INFO] [stdout] 1196 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3372:55 [INFO] [stdout] | [INFO] [stdout] 3372 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 3373 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3374 | | true => iter::empty::().collect() [INFO] [stdout] 3375 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3372:55 [INFO] [stdout] | [INFO] [stdout] 3372 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 3373 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3374 | | true => iter::empty::().collect() [INFO] [stdout] 3375 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3421:12 [INFO] [stdout] | [INFO] [stdout] 3421 | arguments: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________- [INFO] [stdout] 3422 | | true => PathArguments::None, [INFO] [stdout] 3423 | | !ctx.no_generics => PathArguments::AngleBracketed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3424 | | // TODO: make sure that Fn(..) and FnOnce(..) type paths can be [INFO] [stdout] 3425 | | // generated where appropriate [INFO] [stdout] 3426 | | // PathArguments::Parenthesized(c_arbitrary(ctx, u)?) [INFO] [stdout] 3427 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3421:12 [INFO] [stdout] | [INFO] [stdout] 3421 | arguments: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________- [INFO] [stdout] 3422 | | true => PathArguments::None, [INFO] [stdout] 3423 | | !ctx.no_generics => PathArguments::AngleBracketed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3424 | | // TODO: make sure that Fn(..) and FnOnce(..) type paths can be [INFO] [stdout] 3425 | | // generated where appropriate [INFO] [stdout] 3426 | | // PathArguments::Parenthesized(c_arbitrary(ctx, u)?) [INFO] [stdout] 3427 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | / lazy_choose!(u, { [INFO] [stdout] 1155 | | { [INFO] [stdout] 1156 | | // Enum [INFO] [stdout] 1157 | | let name: StringWrapper = ident_to_name(&c_arbitrary(ctx, u)?).into(); [INFO] [stdout] ... | [INFO] [stdout] 1195 | | } [INFO] [stdout] 1196 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3451:43 [INFO] [stdout] | [INFO] [stdout] 3451 | GenericArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 3452 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 3453 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 3454 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3451:43 [INFO] [stdout] | [INFO] [stdout] 3451 | GenericArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 3452 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 3453 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 3454 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1278:8 [INFO] [stdout] | [INFO] [stdout] 1257 | ty: sem::Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1262 | let generics = from_sem_generics(ctx, u, &ty.lt_generics, &ty.type_generics)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1263 | let vis = c_arbitrary(ctx, u)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1269 | let ty = kind_to_type(ident_to_name(&ident), &kind); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1270 | let sem_fields = generate_sem_fields( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1277 | let fields = sem_fields.into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1278 | Ok(ItemStruct { [INFO] [stdout] | ________^ [INFO] [stdout] 1279 | | attrs: if ctx.options.print_vars { [INFO] [stdout] 1280 | | vec![parse_quote!(#[derive(Debug)])] [INFO] [stdout] 1281 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1286 | | semi_token: parse_quote!(;) [INFO] [stdout] 1287 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3446:1 [INFO] [stdout] | [INFO] [stdout] 3446 | / lazy_choose!(u, { [INFO] [stdout] 3447 | | GenericArgument::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3448 | | GenericArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3449 | | GenericArgument::Binding(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] 3456 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3446:1 [INFO] [stdout] | [INFO] [stdout] 3446 | / lazy_choose!(u, { [INFO] [stdout] 3447 | | GenericArgument::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3448 | | GenericArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3449 | | GenericArgument::Binding(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] 3456 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1308 | ty: sem::Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1311 | let vis = c_arbitrary(ctx, u)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1315 | let generics = from_sem_generics(ctx, u, &ty.lt_generics, &ty.type_generics)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1324 | let sem_variants = reserve_names!(ctx, reserved_variants.into_iter().map(|(name, is_tuple)| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1337 | let mut variants = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1338 | let mut struc_map = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1350 | Ok(ItemEnum { [INFO] [stdout] | ________^ [INFO] [stdout] 1351 | | attrs: if ctx.options.print_vars { [INFO] [stdout] 1352 | | vec![parse_quote!(#[derive(Debug)])] [INFO] [stdout] 1353 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1360 | | variants: variants.into_iter().collect() [INFO] [stdout] 1361 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/syn_arbitrary.rs:1335:12 [INFO] [stdout] | [INFO] [stdout] 1330 | let fields = generate_sem_fields( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1335 | Ok((name, fields)) [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] = 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/syn_arbitrary.rs:1371:30 [INFO] [stdout] | [INFO] [stdout] 1369 | named: named.named.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1370 | Field { [INFO] [stdout] 1371 | vis: Visibility::Inherited, [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/syn_arbitrary.rs:1382:30 [INFO] [stdout] | [INFO] [stdout] 1380 | unnamed: unnamed.unnamed.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1381 | Field { [INFO] [stdout] 1382 | vis: Visibility::Inherited, [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/syn_arbitrary.rs:1437:8 [INFO] [stdout] | [INFO] [stdout] 1402 | let fields = c_arbitrary_iter_with(ctx, u, |ctx, u| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1437 | Ok(if !is_tuple { [INFO] [stdout] | ________^ [INFO] [stdout] 1438 | | let fields = reserve_names!(ctx, sem::Fields::Named(fields.into_iter().map(|field| { [INFO] [stdout] 1439 | | let name: StringWrapper = ident_to_name(&c_arbitrary(ctx, u)?).into(); [INFO] [stdout] 1440 | | ctx.reserved_names.insert(name.clone()); [INFO] [stdout] ... | [INFO] [stdout] 1445 | | sem::Fields::Unnamed(fields) [INFO] [stdout] 1446 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1432:12 [INFO] [stdout] | [INFO] [stdout] 1403 | let mut field_ty = pick_type_that( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1432 | Ok(sem::Field { [INFO] [stdout] | ____________^ [INFO] [stdout] 1433 | | ty: Rc::new(field_ty), [INFO] [stdout] 1434 | | visible: vis, [INFO] [stdout] 1435 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1409:24 [INFO] [stdout] | [INFO] [stdout] 1409 | field_ty = guarded_lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1410 | | true => sem::Type { [INFO] [stdout] 1411 | | type_args: vec![field_ty], [INFO] [stdout] 1412 | | ..make_type!(Box) [INFO] [stdout] ... | [INFO] [stdout] 1425 | | } [INFO] [stdout] 1426 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1409:24 [INFO] [stdout] | [INFO] [stdout] 1409 | field_ty = guarded_lazy_choose!(u, { [INFO] [stdout] | ________________________- [INFO] [stdout] 1410 | | true => sem::Type { [INFO] [stdout] 1411 | | type_args: vec![field_ty], [INFO] [stdout] 1412 | | ..make_type!(Box) [INFO] [stdout] ... | [INFO] [stdout] 1425 | | } [INFO] [stdout] 1426 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1441:16 [INFO] [stdout] | [INFO] [stdout] 1438 | let fields = reserve_names!(ctx, sem::Fields::Named(fields.into_iter().map(|field| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1441 | Ok((name, field)) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1463:1 [INFO] [stdout] | [INFO] [stdout] 1463 | / lazy_choose!(u, { [INFO] [stdout] 1464 | | Fields::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 1465 | | Fields::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 1466 | | Fields::Unit, [INFO] [stdout] 1467 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1463:1 [INFO] [stdout] | [INFO] [stdout] 1463 | / lazy_choose!(u, { [INFO] [stdout] 1464 | | Fields::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 1465 | | Fields::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 1466 | | Fields::Unit, [INFO] [stdout] 1467 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1531:9 [INFO] [stdout] | [INFO] [stdout] 1531 | / lazy_choose!(u, { [INFO] [stdout] 1532 | | TraitItem::Const(c_arbitrary(ctx, u)?), [INFO] [stdout] 1533 | | TraitItem::Method(c_arbitrary(ctx, u)?), [INFO] [stdout] 1534 | | TraitItem::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1535 | | // intentionally ommited: Macro, Verbatim [INFO] [stdout] 1536 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1531:9 [INFO] [stdout] | [INFO] [stdout] 1531 | / lazy_choose!(u, { [INFO] [stdout] 1532 | | TraitItem::Const(c_arbitrary(ctx, u)?), [INFO] [stdout] 1533 | | TraitItem::Method(c_arbitrary(ctx, u)?), [INFO] [stdout] 1534 | | TraitItem::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 1535 | | // intentionally ommited: Macro, Verbatim [INFO] [stdout] 1536 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1582:9 [INFO] [stdout] | [INFO] [stdout] 1582 | / guarded_lazy_choose!(u, { [INFO] [stdout] 1583 | | true => Visibility::Public(VisPublic{ pub_token: parse_quote!(pub), }), [INFO] [stdout] 1584 | | // Still experimental [INFO] [stdout] 1585 | | // |_, _| Ok(Visibility::Crate(VisCrate { crate_token: parse_quote!(crate), })), [INFO] [stdout] ... | [INFO] [stdout] 1595 | | true => Visibility::Inherited, [INFO] [stdout] 1596 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1582:9 [INFO] [stdout] | [INFO] [stdout] 1582 | / guarded_lazy_choose!(u, { [INFO] [stdout] 1583 | | true => Visibility::Public(VisPublic{ pub_token: parse_quote!(pub), }), [INFO] [stdout] 1584 | | // Still experimental [INFO] [stdout] 1585 | | // |_, _| Ok(Visibility::Crate(VisCrate { crate_token: parse_quote!(crate), })), [INFO] [stdout] ... | [INFO] [stdout] 1595 | | true => Visibility::Inherited, [INFO] [stdout] 1596 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1645:12 [INFO] [stdout] | [INFO] [stdout] 1643 | let sig = c_arbitrary(ctx, u)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1644 | let block = no_block_labels!(ctx, c_arbitrary(ctx, u)?); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1645 | Ok(ItemFn { [INFO] [stdout] | ____________^ [INFO] [stdout] 1646 | | attrs: vec![], [INFO] [stdout] 1647 | | vis: Visibility::Inherited, [INFO] [stdout] 1648 | | sig, [INFO] [stdout] 1649 | | block, [INFO] [stdout] 1650 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/syn_arbitrary.rs:1681:8 [INFO] [stdout] | [INFO] [stdout] 1656 | let mut reserved = ctx.reserved_names.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1659 | let (fn_type, final_expr, additional_arg_names, sig) = type_with_sig(ctx, u, ident)?; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1662 | let ret_type = fn_type.func.clone().unwrap().ret_type; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1668 | let block = with_attrs!(ctx { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1681 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 1682 | | attrs: vec![], [INFO] [stdout] 1683 | | vis: Visibility::Inherited, [INFO] [stdout] 1684 | | sig, [INFO] [stdout] 1685 | | block, [INFO] [stdout] 1686 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $e); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:1693:12 [INFO] [stdout] | [INFO] [stdout] 1693 | Ok(ItemType { [INFO] [stdout] | ____________^ [INFO] [stdout] 1694 | | attrs: vec![], [INFO] [stdout] 1695 | | vis: Visibility::Inherited, [INFO] [stdout] 1696 | | type_token: parse_quote!(type), [INFO] [stdout] ... | [INFO] [stdout] 1711 | | semi_token: parse_quote!(;), [INFO] [stdout] 1712 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1718:9 [INFO] [stdout] | [INFO] [stdout] 1718 | / lazy_choose!(u, { [INFO] [stdout] 1719 | | Type::Slice(c_arbitrary(ctx, u)?), [INFO] [stdout] 1720 | | Type::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 1721 | | Type::Ptr(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1732 | | // Intentionally omitted: Macro, Verbatim [INFO] [stdout] 1733 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1718:9 [INFO] [stdout] | [INFO] [stdout] 1718 | / lazy_choose!(u, { [INFO] [stdout] 1719 | | Type::Slice(c_arbitrary(ctx, u)?), [INFO] [stdout] 1720 | | Type::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 1721 | | Type::Ptr(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 1732 | | // Intentionally omitted: Macro, Verbatim [INFO] [stdout] 1733 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1822:12 [INFO] [stdout] | [INFO] [stdout] 1816 | let first_bound = TypeParamBound::Trait(c_arbitrary(ctx, u)?); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1817 | let iter: ContextArbitraryIter = c_arbitrary_iter(ctx, u); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1818 | // bounds need at least one trait [INFO] [stdout] 1819 | let bounds = iter::once(Ok(first_bound)) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1822 | Ok(TypeTraitObject { [INFO] [stdout] | ____________^ [INFO] [stdout] 1823 | | dyn_token: maybe(u, parse_quote!(dyn)), [INFO] [stdout] 1824 | | bounds, [INFO] [stdout] 1825 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1858:9 [INFO] [stdout] | [INFO] [stdout] 1858 | / lazy_choose!(u, { [INFO] [stdout] 1859 | | TypeParamBound::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] 1860 | | TypeParamBound::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 1861 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1858:9 [INFO] [stdout] | [INFO] [stdout] 1858 | / lazy_choose!(u, { [INFO] [stdout] 1859 | | TypeParamBound::Trait(c_arbitrary(ctx, u)?), [INFO] [stdout] 1860 | | TypeParamBound::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 1861 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1867:9 [INFO] [stdout] | [INFO] [stdout] 1867 | / lazy_choose!(u, { [INFO] [stdout] 1868 | | ReturnType::Default, [INFO] [stdout] 1869 | | ReturnType::Type( [INFO] [stdout] 1870 | | parse_quote!(->), [INFO] [stdout] 1871 | | parens_ty!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 1872 | | ) [INFO] [stdout] 1873 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:1867:9 [INFO] [stdout] | [INFO] [stdout] 1867 | / lazy_choose!(u, { [INFO] [stdout] 1868 | | ReturnType::Default, [INFO] [stdout] 1869 | | ReturnType::Type( [INFO] [stdout] 1870 | | parse_quote!(->), [INFO] [stdout] 1871 | | parens_ty!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 1872 | | ) [INFO] [stdout] 1873 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:1892:12 [INFO] [stdout] | [INFO] [stdout] 1892 | Ok(BareFnArg { [INFO] [stdout] | ____________^ [INFO] [stdout] 1893 | | attrs: vec![], [INFO] [stdout] 1894 | | name: opt_name.map(|name| (name, parse_quote!(:))), [INFO] [stdout] 1895 | | ty: c_arbitrary(ctx, u)?, [INFO] [stdout] 1896 | | }) [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/syn_arbitrary.rs:2082:8 [INFO] [stdout] | [INFO] [stdout] 1912 | let inputs: Punctuated; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1913 | let output: ReturnType; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1914 | let final_expr; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1915 | let mut input_vec = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1916 | let mut input_tys: Vec = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1917 | let old_reserved = mem::replace(&mut ctx.reserved_names, HashSet::new()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1925 | let reserved_lts = mem::replace(&mut ctx.reserved_names, old_reserved); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1926 | let mut output_ty; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1929 | let mut structs_and_enums = HashSet::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1942 | let type_generics = reserve_names!(ctx, structs_and_enums, c_arbitrary_iter_with(ctx, u, |ctx, u| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1973 | let old_reserved = mem::replace(&mut ctx.reserved_names, HashSet::new()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1998 | let reserved_param_names = mem::replace(&mut ctx.reserved_names, old_reserved); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2050 | let generics = Generics { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2051 | lt_token: parse_quote!(<), [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2074 | gt_token: parse_quote!(>), [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2082 | Ok((sem::Type { [INFO] [stdout] | ________^ [INFO] [stdout] 2083 | | name: vec!["#Fn".into()], [INFO] [stdout] 2084 | | // TODO: generate lifetimes [INFO] [stdout] 2085 | | lt_generics, [INFO] [stdout] ... | [INFO] [stdout] 2105 | | output [INFO] [stdout] 2106 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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/syn_arbitrary.rs:1946:12 [INFO] [stdout] | [INFO] [stdout] 1946 | Ok(Generic { [INFO] [stdout] | ____________^ [INFO] [stdout] 1947 | | name, [INFO] [stdout] 1948 | | constraints: vec![], [INFO] [stdout] 1949 | | is_arg_for_other: false [INFO] [stdout] 1950 | | }) [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/syn_arbitrary.rs:2125:12 [INFO] [stdout] | [INFO] [stdout] 2112 | let inputs: Punctuated; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2113 | let output: ReturnType; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2125 | Ok(Signature { [INFO] [stdout] | ____________^ [INFO] [stdout] 2126 | | constness: None, [INFO] [stdout] 2127 | | asyncness: None, [INFO] [stdout] 2128 | | unsafety: None, [INFO] [stdout] ... | [INFO] [stdout] 2136 | | output [INFO] [stdout] 2137 | | }) [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/syn_arbitrary.rs:2152:12 [INFO] [stdout] | [INFO] [stdout] 2143 | let name = lazy_choose!(u, { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2152 | Ok(Abi { [INFO] [stdout] | ____________^ [INFO] [stdout] 2153 | | extern_token: parse_quote!(extern), [INFO] [stdout] 2154 | | name [INFO] [stdout] 2155 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2143:20 [INFO] [stdout] | [INFO] [stdout] 2143 | let name = lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2144 | | None, [INFO] [stdout] 2145 | | Some(parse_quote!("Rust")), [INFO] [stdout] 2146 | | Some(parse_quote!("C")), [INFO] [stdout] ... | [INFO] [stdout] 2150 | | } [INFO] [stdout] 2151 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2143:20 [INFO] [stdout] | [INFO] [stdout] 2143 | let name = lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2144 | | None, [INFO] [stdout] 2145 | | Some(parse_quote!("Rust")), [INFO] [stdout] 2146 | | Some(parse_quote!("C")), [INFO] [stdout] ... | [INFO] [stdout] 2150 | | } [INFO] [stdout] 2151 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2161:1 [INFO] [stdout] | [INFO] [stdout] 2161 | / lazy_choose!(u, { [INFO] [stdout] 2162 | | // only the first token can be a reciever [INFO] [stdout] 2163 | | // FnArg::Receiver(c_arbitrary(ctx, u)?) , [INFO] [stdout] 2164 | | FnArg::Typed(irrefutable!(ctx, c_arbitrary(ctx, u)?)), [INFO] [stdout] 2165 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2161:1 [INFO] [stdout] | [INFO] [stdout] 2161 | / lazy_choose!(u, { [INFO] [stdout] 2162 | | // only the first token can be a reciever [INFO] [stdout] 2163 | | // FnArg::Receiver(c_arbitrary(ctx, u)?) , [INFO] [stdout] 2164 | | FnArg::Typed(irrefutable!(ctx, c_arbitrary(ctx, u)?)), [INFO] [stdout] 2165 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2184:9 [INFO] [stdout] | [INFO] [stdout] 2184 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2185 | | true => Pat::Box(c_arbitrary(ctx, u)?), [INFO] [stdout] 2186 | | true => Pat::Ident(c_arbitrary(ctx, u)?), [INFO] [stdout] 2187 | | true => Pat::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2209 | | range => Pat::Range(c_arbitrary(ctx, u)?) [INFO] [stdout] 2210 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2184:9 [INFO] [stdout] | [INFO] [stdout] 2184 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2185 | | true => Pat::Box(c_arbitrary(ctx, u)?), [INFO] [stdout] 2186 | | true => Pat::Ident(c_arbitrary(ctx, u)?), [INFO] [stdout] 2187 | | true => Pat::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2209 | | range => Pat::Range(c_arbitrary(ctx, u)?) [INFO] [stdout] 2210 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2228:21 [INFO] [stdout] | [INFO] [stdout] 2228 | by_ref: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2229 | | true => None, [INFO] [stdout] 2230 | | !ctx.regard_semantics => parse_quote!(ref) [INFO] [stdout] 2231 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2228:21 [INFO] [stdout] | [INFO] [stdout] 2228 | by_ref: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2229 | | true => None, [INFO] [stdout] 2230 | | !ctx.regard_semantics => parse_quote!(ref) [INFO] [stdout] 2231 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2234:21 [INFO] [stdout] | [INFO] [stdout] 2234 | subpat: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2235 | | true => None, [INFO] [stdout] 2236 | | !ctx.regard_semantics => Some((parse_quote!(@), c_arbitrary(ctx, u)?)) [INFO] [stdout] 2237 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2234:21 [INFO] [stdout] | [INFO] [stdout] 2234 | subpat: guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________- [INFO] [stdout] 2235 | | true => None, [INFO] [stdout] 2236 | | !ctx.regard_semantics => Some((parse_quote!(@), c_arbitrary(ctx, u)?)) [INFO] [stdout] 2237 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2367:1 [INFO] [stdout] | [INFO] [stdout] 2367 | / lazy_choose!(u, { [INFO] [stdout] 2368 | | RangeLimits::HalfOpen(parse_quote!(..)), [INFO] [stdout] 2369 | | RangeLimits::Closed(parse_quote!(..=)), [INFO] [stdout] 2370 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2367:1 [INFO] [stdout] | [INFO] [stdout] 2367 | / lazy_choose!(u, { [INFO] [stdout] 2368 | | RangeLimits::HalfOpen(parse_quote!(..)), [INFO] [stdout] 2369 | | RangeLimits::Closed(parse_quote!(..=)), [INFO] [stdout] 2370 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:2440:12 [INFO] [stdout] | [INFO] [stdout] 2387 | let stmts: Vec; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2440 | Ok(Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 2441 | | brace_token: Brace { span: dummy_span() }, [INFO] [stdout] 2442 | | stmts, [INFO] [stdout] 2443 | | }) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2425:17 [INFO] [stdout] | [INFO] [stdout] 2425 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2426 | | ctx.expected_type.matches(&make_type!(())) => (), [INFO] [stdout] 2427 | | true => init_stmts.push(Stmt::Expr(c_arbitrary(ctx, u)?)) [INFO] [stdout] 2428 | | })?; [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2425:17 [INFO] [stdout] | [INFO] [stdout] 2425 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2426 | | ctx.expected_type.matches(&make_type!(())) => (), [INFO] [stdout] 2427 | | true => init_stmts.push(Stmt::Expr(c_arbitrary(ctx, u)?)) [INFO] [stdout] 2428 | | })?; [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2449:9 [INFO] [stdout] | [INFO] [stdout] 2449 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2450 | | true => Stmt::Local(c_arbitrary(ctx, u)?), [INFO] [stdout] 2451 | | !ctx.regard_semantics => Stmt::Item(c_arbitrary(ctx, u)?), [INFO] [stdout] 2452 | | true => Stmt::Semi({ [INFO] [stdout] ... | [INFO] [stdout] 2459 | | }, parse_quote!(;)), [INFO] [stdout] 2460 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2449:9 [INFO] [stdout] | [INFO] [stdout] 2449 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2450 | | true => Stmt::Local(c_arbitrary(ctx, u)?), [INFO] [stdout] 2451 | | !ctx.regard_semantics => Stmt::Item(c_arbitrary(ctx, u)?), [INFO] [stdout] 2452 | | true => Stmt::Semi({ [INFO] [stdout] ... | [INFO] [stdout] 2459 | | }, parse_quote!(;)), [INFO] [stdout] 2460 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:2500:12 [INFO] [stdout] | [INFO] [stdout] 2466 | let pat; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2467 | let init; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2500 | Ok(Local { [INFO] [stdout] | ____________^ [INFO] [stdout] 2501 | | attrs: vec![], [INFO] [stdout] 2502 | | pat, [INFO] [stdout] 2503 | | let_token: parse_quote!(let), [INFO] [stdout] 2504 | | init, [INFO] [stdout] 2505 | | semi_token: parse_quote!(;), [INFO] [stdout] 2506 | | }) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2517:5 [INFO] [stdout] | [INFO] [stdout] 2517 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2518 | | ctx.is_top_pattern => { [INFO] [stdout] 2519 | | let (pat, sub_vars) = sub_pattern!(ctx, pattern_of_type(ctx, u, ty)?); [INFO] [stdout] 2520 | | (Pat::Type(PatType { [INFO] [stdout] ... | [INFO] [stdout] 2569 | | // } [INFO] [stdout] 2570 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2517:5 [INFO] [stdout] | [INFO] [stdout] 2517 | / guarded_lazy_choose!(u, { [INFO] [stdout] 2518 | | ctx.is_top_pattern => { [INFO] [stdout] 2519 | | let (pat, sub_vars) = sub_pattern!(ctx, pattern_of_type(ctx, u, ty)?); [INFO] [stdout] 2520 | | (Pat::Type(PatType { [INFO] [stdout] ... | [INFO] [stdout] 2569 | | // } [INFO] [stdout] 2570 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2583:17 [INFO] [stdout] | [INFO] [stdout] 2583 | / weighted_lazy_choose!(u, { [INFO] [stdout] 2584 | | 10 => { [INFO] [stdout] 2585 | | let expr = construct_value( [INFO] [stdout] 2586 | | ctx, u, [INFO] [stdout] ... | [INFO] [stdout] 2593 | | 1 => Expr::Block(c_arbitrary(ctx, u)?) [INFO] [stdout] 2594 | | }) [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `weighted_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 115 - std::mem::drop(i); [INFO] [stdout] 115 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2600:20 [INFO] [stdout] | [INFO] [stdout] 2600 | let expr = guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2601 | | within_depth => Expr::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 2602 | | within_depth => Expr::Tuple(c_arbitrary(ctx, u)?), [INFO] [stdout] 2603 | | within_depth => Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2648 | | place_expr => local_var_expr(ctx, u)?, [INFO] [stdout] 2649 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2600:20 [INFO] [stdout] | [INFO] [stdout] 2600 | let expr = guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 2601 | | within_depth => Expr::Array(c_arbitrary(ctx, u)?), [INFO] [stdout] 2602 | | within_depth => Expr::Tuple(c_arbitrary(ctx, u)?), [INFO] [stdout] 2603 | | within_depth => Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 2648 | | place_expr => local_var_expr(ctx, u)?, [INFO] [stdout] 2649 | | })?; [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:2674:8 [INFO] [stdout] | [INFO] [stdout] 2665 | let path = ExprPath { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2674 | Ok(Expr::Path(path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | 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/syn_arbitrary.rs:2725:12 [INFO] [stdout] | [INFO] [stdout] 2720 | let expr = if op == parse_quote!(*) { [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] 2725 | Ok(ExprUnary { [INFO] [stdout] | ____________^ [INFO] [stdout] 2726 | | attrs: vec![], [INFO] [stdout] 2727 | | op, [INFO] [stdout] 2728 | | expr [INFO] [stdout] 2729 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] ::: src/context.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $e); [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] = 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/syn_arbitrary.rs:2833:12 [INFO] [stdout] | [INFO] [stdout] 2831 | let len = Box::new(choice(ctx, u)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2832 | [INFO] [stdout] 2833 | Ok(ExprRepeat { [INFO] [stdout] | ____________^ [INFO] [stdout] 2834 | | attrs: vec![], [INFO] [stdout] 2835 | | bracket_token: Bracket { span: dummy_span() }, [INFO] [stdout] 2836 | | expr: c_arbitrary(ctx, u)?, [INFO] [stdout] 2837 | | semi_token: parse_quote!(;), [INFO] [stdout] 2838 | | len [INFO] [stdout] 2839 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:2827:21 [INFO] [stdout] | [INFO] [stdout] 2827 | |ctx, u| ok(Expr::Lit(c_arbitrary(ctx, u)?)), [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/syn_arbitrary.rs:2828:21 [INFO] [stdout] | [INFO] [stdout] 2828 | |ctx, u| ok(Expr::Path(c_arbitrary(ctx, u)?)), [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/syn_arbitrary.rs:2865:12 [INFO] [stdout] | [INFO] [stdout] 2858 | let from = lazy_maybe!(u, parens_ex!(3, ctx, c_arbitrary(ctx, u)?)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2861 | let to = match limits { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2865 | Ok(ExprRange { [INFO] [stdout] | ____________^ [INFO] [stdout] 2866 | | attrs: vec![], [INFO] [stdout] 2867 | | from, [INFO] [stdout] 2868 | | limits, [INFO] [stdout] 2869 | | to, [INFO] [stdout] 2870 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $e); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2907:49 [INFO] [stdout] | [INFO] [stdout] 2907 | GenericMethodArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 2908 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 2909 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 2910 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 2911 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2907:49 [INFO] [stdout] | [INFO] [stdout] 2907 | GenericMethodArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 2908 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 2909 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 2910 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 2911 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2901:1 [INFO] [stdout] | [INFO] [stdout] 2901 | / lazy_choose!(u, { [INFO] [stdout] 2902 | | // https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md [INFO] [stdout] 2903 | | // const generics arguments need to be either [INFO] [stdout] 2904 | | // * variables, [INFO] [stdout] ... | [INFO] [stdout] 2912 | | GenericMethodArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 2913 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:2901:1 [INFO] [stdout] | [INFO] [stdout] 2901 | / lazy_choose!(u, { [INFO] [stdout] 2902 | | // https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md [INFO] [stdout] 2903 | | // const generics arguments need to be either [INFO] [stdout] 2904 | | // * variables, [INFO] [stdout] ... | [INFO] [stdout] 2912 | | GenericMethodArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 2913 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:2924:12 [INFO] [stdout] | [INFO] [stdout] 2919 | let mut arms = unwrap_nev(c_arbitrary(ctx, u)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2924 | Ok(ExprMatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 2925 | | attrs: vec![], [INFO] [stdout] 2926 | | match_token: parse_quote!(match), [INFO] [stdout] 2927 | | expr: parens_block!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 2928 | | brace_token: Brace { span: dummy_span() }, [INFO] [stdout] 2929 | | arms [INFO] [stdout] 2930 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:2947:12 [INFO] [stdout] | [INFO] [stdout] 2936 | let body = c_arbitrary(ctx, u)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2943 | maybe(u, parse_quote!(,)) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2944 | } else { [INFO] [stdout] 2945 | Some(parse_quote!(,)) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2946 | }; [INFO] [stdout] 2947 | Ok(Arm { [INFO] [stdout] | ____________^ [INFO] [stdout] 2948 | | attrs: vec![], [INFO] [stdout] 2949 | | pat: c_arbitrary(ctx, u)?, [INFO] [stdout] 2950 | | // TODO: Just a guess, but the prescedence should be higher than the binaryor operator [INFO] [stdout] ... | [INFO] [stdout] 2954 | | comma [INFO] [stdout] 2955 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:3017:12 [INFO] [stdout] | [INFO] [stdout] 2995 | let then_branch; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2996 | let else_branch; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2997 | let cond = if !ctx.regard_semantics && Arbitrary::arbitrary(u)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3017 | Ok(ExprIf { [INFO] [stdout] | ____________^ [INFO] [stdout] 3018 | | attrs: vec![], [INFO] [stdout] 3019 | | if_token: parse_quote!(if), [INFO] [stdout] 3020 | | cond, [INFO] [stdout] 3021 | | then_branch, [INFO] [stdout] 3022 | | else_branch, [INFO] [stdout] 3023 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let old_val = std::mem::replace(&mut $obj.$attr, $val); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let result = with_attrs!($obj { $($attrs = $vals),* }, $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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3010:71 [INFO] [stdout] | [INFO] [stdout] 3010 | Box::new(not_fn_block!(ctx, no_block_labels!(ctx, lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________________________- [INFO] [stdout] 3011 | | Expr::Block(c_arbitrary(ctx, u)?), [INFO] [stdout] 3012 | | Expr::If(c_arbitrary(ctx, u)?) [INFO] [stdout] 3013 | | })?))) [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3010:71 [INFO] [stdout] | [INFO] [stdout] 3010 | Box::new(not_fn_block!(ctx, no_block_labels!(ctx, lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________________________- [INFO] [stdout] 3011 | | Expr::Block(c_arbitrary(ctx, u)?), [INFO] [stdout] 3012 | | Expr::If(c_arbitrary(ctx, u)?) [INFO] [stdout] 3013 | | })?))) [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3005:27 [INFO] [stdout] | [INFO] [stdout] 3005 | else_branch = guarded_lazy_choose!(u, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 3006 | | !ctx.regard_semantics || [INFO] [stdout] 3007 | | ctx.expected_type.name == vec![StringWrapper::from("#Unit")] => None, [INFO] [stdout] 3008 | | true => Some(( [INFO] [stdout] ... | [INFO] [stdout] 3014 | | )) [INFO] [stdout] 3015 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3005:27 [INFO] [stdout] | [INFO] [stdout] 3005 | else_branch = guarded_lazy_choose!(u, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 3006 | | !ctx.regard_semantics || [INFO] [stdout] 3007 | | ctx.expected_type.name == vec![StringWrapper::from("#Unit")] => None, [INFO] [stdout] 3008 | | true => Some(( [INFO] [stdout] ... | [INFO] [stdout] 3014 | | )) [INFO] [stdout] 3015 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3065:1 [INFO] [stdout] | [INFO] [stdout] 3065 | / lazy_choose!(u, { [INFO] [stdout] 3066 | | Member::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 3067 | | Member::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3068 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3065:1 [INFO] [stdout] | [INFO] [stdout] 3065 | / lazy_choose!(u, { [INFO] [stdout] 3066 | | Member::Named(c_arbitrary(ctx, u)?), [INFO] [stdout] 3067 | | Member::Unnamed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3068 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3085:12 [INFO] [stdout] | [INFO] [stdout] 3084 | let output = c_arbitrary(ctx, u)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3085 | Ok(ExprClosure { [INFO] [stdout] | ____________^ [INFO] [stdout] 3086 | | attrs: vec![], [INFO] [stdout] 3087 | | asyncness: maybe(u, parse_quote!(async)), [INFO] [stdout] 3088 | | // It's unclear if this feature is actually implemented, dissabling for now [INFO] [stdout] ... | [INFO] [stdout] 3100 | | output [INFO] [stdout] 3101 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syn_arbitrary.rs:3140:8 [INFO] [stdout] | [INFO] [stdout] 3139 | let ident = from_sem_path(ctx, u, &name)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3140 | Ok(Stmt::Semi(Expr::Macro(ExprMacro { [INFO] [stdout] | ________^ [INFO] [stdout] 3141 | | attrs: vec![], [INFO] [stdout] 3142 | | mac: syn::Macro { [INFO] [stdout] 3143 | | path: parse_quote!(println), [INFO] [stdout] ... | [INFO] [stdout] 3147 | | } [INFO] [stdout] 3148 | | }), parse_quote!(;))) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3155:20 [INFO] [stdout] | [INFO] [stdout] 3155 | label: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 3156 | | true => None, [INFO] [stdout] 3157 | | // requires #![feature(label_break_value)] [INFO] [stdout] 3158 | | !ctx.regard_semantics && ctx.allow_block_labels => c_arbitrary(ctx, u)? [INFO] [stdout] 3159 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3155:20 [INFO] [stdout] | [INFO] [stdout] 3155 | label: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________________- [INFO] [stdout] 3156 | | true => None, [INFO] [stdout] 3157 | | // requires #![feature(label_break_value)] [INFO] [stdout] 3158 | | !ctx.regard_semantics && ctx.allow_block_labels => c_arbitrary(ctx, u)? [INFO] [stdout] 3159 | | })?, [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3225:12 [INFO] [stdout] | [INFO] [stdout] 3225 | Ok(ExprAssignOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 3226 | | attrs: vec![], [INFO] [stdout] 3227 | | left: place_expression!(ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 3228 | | right: c_arbitrary(ctx, u)?, [INFO] [stdout] 3229 | | op, [INFO] [stdout] 3230 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3219:10 [INFO] [stdout] | [INFO] [stdout] 3219 | let op = lazy_choose!(u, { [INFO] [stdout] | __________- [INFO] [stdout] 3220 | | BinOp::AddEq(parse_quote!(+=)), [INFO] [stdout] 3221 | | BinOp::SubEq(parse_quote!(-=)), [INFO] [stdout] 3222 | | BinOp::MulEq(parse_quote!(*=)), [INFO] [stdout] 3223 | | BinOp::DivEq(parse_quote!(/=)), [INFO] [stdout] 3224 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3219:10 [INFO] [stdout] | [INFO] [stdout] 3219 | let op = lazy_choose!(u, { [INFO] [stdout] | __________- [INFO] [stdout] 3220 | | BinOp::AddEq(parse_quote!(+=)), [INFO] [stdout] 3221 | | BinOp::SubEq(parse_quote!(-=)), [INFO] [stdout] 3222 | | BinOp::MulEq(parse_quote!(*=)), [INFO] [stdout] 3223 | | BinOp::DivEq(parse_quote!(/=)), [INFO] [stdout] 3224 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3238:12 [INFO] [stdout] | [INFO] [stdout] 3238 | Ok(ExprBinary { [INFO] [stdout] | ____________^ [INFO] [stdout] 3239 | | attrs: vec![], [INFO] [stdout] 3240 | | left: parens_ex!(binary_prescedence(&op) + left_assoc, ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 3241 | | op, [INFO] [stdout] 3242 | | right: parens_ex!(binary_prescedence(&op) + right_assoc, ctx, c_arbitrary(ctx, u)?), [INFO] [stdout] 3243 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | / lazy_choose!(u, { [INFO] [stdout] 3250 | | parse_quote!(+), [INFO] [stdout] 3251 | | parse_quote!(*), [INFO] [stdout] 3252 | | parse_quote!(/), [INFO] [stdout] 3253 | | parse_quote!(%), [INFO] [stdout] 3254 | | parse_quote!(-), [INFO] [stdout] 3255 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | / lazy_choose!(u, { [INFO] [stdout] 3250 | | parse_quote!(+), [INFO] [stdout] 3251 | | parse_quote!(*), [INFO] [stdout] 3252 | | parse_quote!(/), [INFO] [stdout] 3253 | | parse_quote!(%), [INFO] [stdout] 3254 | | parse_quote!(-), [INFO] [stdout] 3255 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3303:12 [INFO] [stdout] | [INFO] [stdout] 3291 | let path; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3303 | Ok(ExprPath { [INFO] [stdout] | ____________^ [INFO] [stdout] 3304 | | attrs: vec![], [INFO] [stdout] 3305 | | qself: None, [INFO] [stdout] 3306 | | path [INFO] [stdout] 3307 | | }) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3313:5 [INFO] [stdout] | [INFO] [stdout] 3313 | / lazy_choose!(u, { [INFO] [stdout] 3314 | | { let data: u32 = Arbitrary::arbitrary(u)?; [INFO] [stdout] 3315 | | parse_quote!(#data) }, [INFO] [stdout] 3316 | | { let data: String = Arbitrary::arbitrary(u)?; [INFO] [stdout] ... | [INFO] [stdout] 3322 | | parse_quote!(#data) }, [INFO] [stdout] 3323 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3313:5 [INFO] [stdout] | [INFO] [stdout] 3313 | / lazy_choose!(u, { [INFO] [stdout] 3314 | | { let data: u32 = Arbitrary::arbitrary(u)?; [INFO] [stdout] 3315 | | parse_quote!(#data) }, [INFO] [stdout] 3316 | | { let data: String = Arbitrary::arbitrary(u)?; [INFO] [stdout] ... | [INFO] [stdout] 3322 | | parse_quote!(#data) }, [INFO] [stdout] 3323 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3340:9 [INFO] [stdout] | [INFO] [stdout] 3340 | / guarded_lazy_choose!(u, { [INFO] [stdout] 3341 | | true => GenericParam::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3342 | | true => GenericParam::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3343 | | !ctx.regard_semantics => GenericParam::Const(c_arbitrary(ctx, u)?) [INFO] [stdout] 3344 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3340:9 [INFO] [stdout] | [INFO] [stdout] 3340 | / guarded_lazy_choose!(u, { [INFO] [stdout] 3341 | | true => GenericParam::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3342 | | true => GenericParam::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3343 | | !ctx.regard_semantics => GenericParam::Const(c_arbitrary(ctx, u)?) [INFO] [stdout] 3344 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 101 previous errors; 75 warnings emitted [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/syn_arbitrary.rs:3359:12 [INFO] [stdout] | [INFO] [stdout] 3350 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3354 | let r#default = guarded_lazy_choose!(u, { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3359 | Ok(TypeParam { [INFO] [stdout] | ____________^ [INFO] [stdout] 3360 | | attrs: vec![], [INFO] [stdout] 3361 | | ident: c_arbitrary(ctx, u)?, [INFO] [stdout] 3362 | | colon_token: if bounds.len() > 0 { parse_quote!(=) } else { None }, [INFO] [stdout] ... | [INFO] [stdout] 3365 | | r#default, [INFO] [stdout] 3366 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3350:61 [INFO] [stdout] | [INFO] [stdout] 3350 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________________________________________- [INFO] [stdout] 3351 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3352 | | true => iter::empty::().collect() [INFO] [stdout] 3353 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3350:61 [INFO] [stdout] | [INFO] [stdout] 3350 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _____________________________________________________________- [INFO] [stdout] 3351 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3352 | | true => iter::empty::().collect() [INFO] [stdout] 3353 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3354:25 [INFO] [stdout] | [INFO] [stdout] 3354 | let r#default = guarded_lazy_choose!(u, { [INFO] [stdout] | _________________________- [INFO] [stdout] 3355 | | !ctx.regard_semantics => Some(c_arbitrary(ctx, u)?), [INFO] [stdout] 3356 | | true => None [INFO] [stdout] 3357 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3354:25 [INFO] [stdout] | [INFO] [stdout] 3354 | let r#default = guarded_lazy_choose!(u, { [INFO] [stdout] | _________________________- [INFO] [stdout] 3355 | | !ctx.regard_semantics => Some(c_arbitrary(ctx, u)?), [INFO] [stdout] 3356 | | true => None [INFO] [stdout] 3357 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [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/syn_arbitrary.rs:3376:12 [INFO] [stdout] | [INFO] [stdout] 3372 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3376 | Ok(LifetimeDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 3377 | | attrs: vec![], [INFO] [stdout] 3378 | | lifetime: c_arbitrary(ctx, u)?, [INFO] [stdout] 3379 | | colon_token: if bounds.len() > 0 { parse_quote!(=) } else { None }, [INFO] [stdout] 3380 | | bounds, [INFO] [stdout] 3381 | | }) [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3372:55 [INFO] [stdout] | [INFO] [stdout] 3372 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 3373 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3374 | | true => iter::empty::().collect() [INFO] [stdout] 3375 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3372:55 [INFO] [stdout] | [INFO] [stdout] 3372 | let bounds: Punctuated = guarded_lazy_choose!(u, { [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 3373 | | !ctx.regard_semantics => c_arbitrary(ctx, u)?, [INFO] [stdout] 3374 | | true => iter::empty::().collect() [INFO] [stdout] 3375 | | })?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3421:12 [INFO] [stdout] | [INFO] [stdout] 3421 | arguments: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________- [INFO] [stdout] 3422 | | true => PathArguments::None, [INFO] [stdout] 3423 | | !ctx.no_generics => PathArguments::AngleBracketed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3424 | | // TODO: make sure that Fn(..) and FnOnce(..) type paths can be [INFO] [stdout] 3425 | | // generated where appropriate [INFO] [stdout] 3426 | | // PathArguments::Parenthesized(c_arbitrary(ctx, u)?) [INFO] [stdout] 3427 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3421:12 [INFO] [stdout] | [INFO] [stdout] 3421 | arguments: guarded_lazy_choose!(u, { [INFO] [stdout] | ____________- [INFO] [stdout] 3422 | | true => PathArguments::None, [INFO] [stdout] 3423 | | !ctx.no_generics => PathArguments::AngleBracketed(c_arbitrary(ctx, u)?), [INFO] [stdout] 3424 | | // TODO: make sure that Fn(..) and FnOnce(..) type paths can be [INFO] [stdout] 3425 | | // generated where appropriate [INFO] [stdout] 3426 | | // PathArguments::Parenthesized(c_arbitrary(ctx, u)?) [INFO] [stdout] 3427 | | })? [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3451:43 [INFO] [stdout] | [INFO] [stdout] 3451 | GenericArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 3452 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 3453 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 3454 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3451:43 [INFO] [stdout] | [INFO] [stdout] 3451 | GenericArgument::Const(is_const!(ctx, lazy_choose!(u, { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 3452 | | Expr::Path(c_arbitrary(ctx, u)?), [INFO] [stdout] 3453 | | Expr::Lit(c_arbitrary(ctx, u)?), [INFO] [stdout] 3454 | | Expr::Block(no_block_labels!(ctx, c_arbitrary(ctx, u)?)) [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | std::mem::drop(clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3446:1 [INFO] [stdout] | [INFO] [stdout] 3446 | / lazy_choose!(u, { [INFO] [stdout] 3447 | | GenericArgument::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3448 | | GenericArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3449 | | GenericArgument::Binding(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] 3456 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 86 - std::mem::drop(clause); [INFO] [stdout] 86 + let _ = clause; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/choose.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::drop(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/syn_arbitrary.rs:3446:1 [INFO] [stdout] | [INFO] [stdout] 3446 | / lazy_choose!(u, { [INFO] [stdout] 3447 | | GenericArgument::Lifetime(c_arbitrary(ctx, u)?), [INFO] [stdout] 3448 | | GenericArgument::Type(c_arbitrary(ctx, u)?), [INFO] [stdout] 3449 | | GenericArgument::Binding(c_arbitrary(ctx, u)?), [INFO] [stdout] ... | [INFO] [stdout] 3455 | | })?)), [INFO] [stdout] 3456 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guarded_lazy_choose` which comes from the expansion of the macro `lazy_choose` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 87 - std::mem::drop(i); [INFO] [stdout] 87 + let _ = i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsmith` (lib test) due to 102 previous errors; 75 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 101 previous errors; 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsmith` (lib) due to 102 previous errors; 75 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8810032d164e80f4d50488a7d1cf564937619b9e31425a10a2b93cbb1c87fae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8810032d164e80f4d50488a7d1cf564937619b9e31425a10a2b93cbb1c87fae6", kill_on_drop: false }` [INFO] [stdout] 8810032d164e80f4d50488a7d1cf564937619b9e31425a10a2b93cbb1c87fae6