[INFO] fetching crate af_path 0.2.3... [INFO] checking af_path-0.2.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate af_path 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate af_path 0.2.3 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate af_path 0.2.3 [INFO] finished tweaking crates.io crate af_path 0.2.3 [INFO] tweaked toml for crates.io crate af_path 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding iso8601 v0.4.2 (latest: v0.6.1) [INFO] [stderr] Adding serde_yaml v0.8.26 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bec762b694a2e751d9d555d7cf982e9add3c0aef4e3c658f0257755308e3083b [INFO] running `Command { std: "docker" "start" "-a" "bec762b694a2e751d9d555d7cf982e9add3c0aef4e3c658f0257755308e3083b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bec762b694a2e751d9d555d7cf982e9add3c0aef4e3c658f0257755308e3083b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec762b694a2e751d9d555d7cf982e9add3c0aef4e3c658f0257755308e3083b", kill_on_drop: false }` [INFO] [stdout] bec762b694a2e751d9d555d7cf982e9add3c0aef4e3c658f0257755308e3083b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 00a4c08875c0c77fde47292d412cdb76c28a2ca66960cc0a6a010abe664a860e [INFO] running `Command { std: "docker" "start" "-a" "00a4c08875c0c77fde47292d412cdb76c28a2ca66960cc0a6a010abe664a860e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking iso8601 v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking af_path v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | let f = File::open("tables.json").expect("文件tables.json不存在"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | serde_json::from_reader(f).expect("文件tables.json格式错误") [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/token.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn new(stream: TokenStream) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let str = stream.to_string(); [INFO] [stdout] 158 | let iter: Box> = Box::new(stream.into_iter()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Tokens{iter:iter, tokens:Vec::new(), source: str} [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/program.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | Box::new(move || map(result, group(Delimiter::Brace, array(|| var_def())))) [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/program.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | (map(exp, ident().err("必须是变量名")) << Box::new(|| oper(&COLON).err("必须是冒号"))) + [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/program.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(|| ident().err("必须是变量类型")) [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/program.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 62 | let result = |name| |exp| Expression::Func(name, Box::new(exp)); [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/program.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | map(result, key(&LET) >> Box::new(|| set_var(ident().err("必须是函数名"))) << [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/program.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(|| oper(&ASSIGN).err("必须是等号"))) + Box::new(|| exp()) [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/program.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 80 | let result = |if_cond| |if_exp| |else_exp| [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] 81 | Expression::Cond(Box::new(if_cond), Box::new(if_exp), Box::new(else_exp)); [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/program.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 80 | let result = |if_cond| |if_exp| |else_exp| [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] 81 | Expression::Cond(Box::new(if_cond), Box::new(if_exp), Box::new(else_exp)); [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/program.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 80 | let result = |if_cond| |if_exp| |else_exp| [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] 81 | Expression::Cond(Box::new(if_cond), Box::new(if_exp), Box::new(else_exp)); [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/program.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Box::new(|| group(Delimiter::Brace, program()).err("必须是大括号")) + [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/program.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | key(&ELSE).err("必须是else") >> [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/program.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Box::new(|| group(Delimiter::Brace, program()).err("必须是打括号")) [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/program.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Box::new(|| group(Delimiter::Brace, program()).err("必须是打括号")) [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/program.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | Box::new(|| zero_or_one(Box::new(|| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 108 | | let oper_one = |oper| |right| (oper, right); [INFO] [stdout] 109 | | map(oper_one, oper(&COMPARE)) + Box::new(|| math()) [INFO] [stdout] 110 | | }))) [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/program.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 145 | map(|result| Expression::Expr(Box::new(result)), group(Delimiter::Parenthesis, exp())) [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/program.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 151 | let lit = token.to_lit(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Expression::Lit(lit.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/program.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(|| oper(&DOT).err("必须是‘.'")) >> Box::new(|| ident().err("必须是标识符"))) [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/program.rs:160:58 [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(|| oper(&DOT).err("必须是‘.'")) >> Box::new(|| ident().err("必须是标识符"))) [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/program.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::new(|| oper(&DOT).err("必须是'.'")) >> Box::new(|| ident().err("必须是标识符"))) + [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/program.rs:167:58 [INFO] [stdout] | [INFO] [stdout] 167 | Box::new(|| oper(&DOT).err("必须是'.'")) >> Box::new(|| ident().err("必须是标识符"))) + [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/program.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 174 | let ident = token.to_ident(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | Expression::Ident(ident.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/program.rs:181:61 [INFO] [stdout] | [INFO] [stdout] 181 | let result = |select| Expression::Query(QueryType::Sub, None, Vec::new(), Box::new(select)); [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/program.rs:181:67 [INFO] [stdout] | [INFO] [stdout] 181 | let result = |select| Expression::Query(QueryType::Sub, None, Vec::new(), Box::new(select)); [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/program.rs:181:79 [INFO] [stdout] | [INFO] [stdout] 181 | let result = |select| Expression::Query(QueryType::Sub, None, Vec::new(), Box::new(select)); [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/program.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | spec_ident(&DB) >> Box::new(|| oper(&DOT).err("必须是'.'")) >> Box::new(|| sub_or_var(true)) [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/program.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 193 | let result = move |(ident, has)| move |(cond, select)| { [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] 202 | Expression::Query(ty, Some(ident), cond, Box::new(select)) [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/program.rs:202:50 [INFO] [stdout] | [INFO] [stdout] 193 | let result = move |(ident, has)| move |(cond, select)| { [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] 202 | Expression::Query(ty, Some(ident), cond, Box::new(select)) [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/program.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 237 | let has_select = oper(&DOT) >> Box::new(|| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | has_select | Box::new(|| no_select()) [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/program.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | (total() | Box::new(|| select_agg()) | Box::new(|| select_one()) | Box::new(|| select_total(false)) )); [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/program.rs:238:76 [INFO] [stdout] | [INFO] [stdout] 238 | (total() | Box::new(|| select_agg()) | Box::new(|| select_one()) | Box::new(|| select_total(false)) )); [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/program.rs:269:56 [INFO] [stdout] | [INFO] [stdout] 269 | let result = |exp| |ident| Expression::Attr(ident, Box::new(exp)); [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/program.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 305 | let result = |first| |exps: Vec| { [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] 306 | exps.into_iter().fold(first, |acc, right| { [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/program.rs:308:39 [INFO] [stdout] | [INFO] [stdout] 306 | exps.into_iter().fold(first, |acc, right| { [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] 307 | let (ident, exp) = right.to_oper_one(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | Expression::Binary(ident, Box::new(acc), Box::new(exp)) [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/program.rs:308:54 [INFO] [stdout] | [INFO] [stdout] 306 | exps.into_iter().fold(first, |acc, right| { [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] 307 | let (ident, exp) = right.to_oper_one(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | Expression::Binary(ident, Box::new(acc), Box::new(exp)) [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/program.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | Box::new(move || zero_or_more(Box::new(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 314 | | let one_exp = |oper| |exp| Expression::OperOne(oper, Box::new(exp)); [INFO] [stdout] 315 | | map(one_exp, oper(opers)) + Box::new(move || p()) [INFO] [stdout] 316 | | }))) [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/program.rs:314:62 [INFO] [stdout] | [INFO] [stdout] 314 | let one_exp = |oper| |exp| Expression::OperOne(oper, Box::new(exp)); [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/program.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | Box::new(move || zero_or_more(Box::new(move || [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 330 | | oper(&COMMA) >> Box::new(move || p()) [INFO] [stdout] 331 | | ))) [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/program.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | oper(&COMMA) >> Box::new(move || p()) [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/program.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | oper(&COMMA) >> Box::new(move || p()) [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/program.rs:356:48 [INFO] [stdout] | [INFO] [stdout] 355 | fn group(delimiter: proc_macro::Delimiter, parser: Parser) -> Parser { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | is(move |token| token.is_group(delimiter), move |token, del| { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 357 | | // 把token转单词流,让parser进行解析,返回解析结果 [INFO] [stdout] 358 | | let mut tokens = token.to_tokens(); [INFO] [stdout] 359 | | let (result, _) = (parser.run)(&mut tokens, del).expect("解析错误"); [INFO] [stdout] 360 | | result.expect(&format!("group一定有内容: {}", tokens.to_string())) [INFO] [stdout] 361 | | }) [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/base.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn err(self, msg: &'static str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 28 | | // 如果本身已经出错,返回错误 [INFO] [stdout] 29 | | // 如果是None,返回指定错误 [INFO] [stdout] 30 | | if let (Some(proc), left_tokens) = (self.run)(tokens, del)? { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | })) [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/base.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Creator) -> Self::Output { [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] 51 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 52 | | // p1先运行,没有值,出错,有值,让p2运行 [INFO] [stdout] 53 | | match (self.run)(tokens, del)? { [INFO] [stdout] 54 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | })) [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/base.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Creator) -> Self::Output { [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] 53 | match (self.run)(tokens, del)? { [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/base.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn bitor(self, rhs: Creator) -> Self::Output { [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] 78 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 79 | | match (self.run)(tokens, del)? { [INFO] [stdout] 80 | | (None, left_tokens) => { [INFO] [stdout] 81 | | // 如果不满足语法规则,单词要回退 [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | })) [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/base.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 77 | fn bitor(self, rhs: Creator) -> Self::Output { [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] 78 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 79 | match (self.run)(tokens, del)? { [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/base.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 99 | fn shr(self, rhs: Creator) -> Self::Output { [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] 100 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 101 | | match (self.run)(tokens, del)? { [INFO] [stdout] 102 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] 103 | | (Some(_), left_tokens) => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | })) [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/base.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 99 | fn shr(self, rhs: Creator) -> Self::Output { [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] 100 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 101 | match (self.run)(tokens, del)? { [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/base.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 120 | fn shl(self, rhs: Creator) -> Self::Output { [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] 121 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | match (self.run)(tokens, del)? { [INFO] [stdout] 123 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] 124 | | (x, left_tokens) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | })) [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/base.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn shl(self, rhs: Creator) -> Self::Output { [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] 121 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 122 | match (self.run)(tokens, del)? { [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/base.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn is(check: F, p: P) -> Parser [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] 141 | where F: Fn(&Token) -> bool, P: Fn(&Token, &mut Vec) -> T { [INFO] [stdout] 142 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 143 | | // 没有单词了,返回空 [INFO] [stdout] 144 | | if let Some(token) = tokens.next() { [INFO] [stdout] 145 | | // 满足条件,调用p产生处理器 [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [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/base.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn map(f: F, parser: Parser) -> Parser where F: Fn(A) -> B + Copy { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 168 | | match (parser.run)(tokens, del)? { [INFO] [stdout] 169 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] 170 | | (Some(x), left_tokens) => { [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] 175 | | })) [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/base.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn map(f: F, parser: Parser) -> Parser where F: Fn(A) -> B + Copy { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 168 | match (parser.run)(tokens, del)? { [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/base.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn zero_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 185 | | let mut v = Vec::new(); [INFO] [stdout] 186 | | // 已用单词总和 [INFO] [stdout] 187 | | let mut back_tokens = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok((Some(v), back_tokens)) [INFO] [stdout] 195 | | })) [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/base.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn zero_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 185 | let mut v = Vec::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | // 已用单词总和 [INFO] [stdout] 187 | let mut back_tokens = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Ok((Some(v), back_tokens)) [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/base.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn one_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 205 | | let mut v = Vec::new(); [INFO] [stdout] 206 | | // 已用单词总和 [INFO] [stdout] 207 | | let mut back_tokens = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 224 | | Ok((Some(v), back_tokens)) [INFO] [stdout] 225 | | })) [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/base.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn one_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 205 | let mut v = Vec::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | // 已用单词总和 [INFO] [stdout] 207 | let mut back_tokens = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | Ok((Some(v), back_tokens)) [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/base.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn zero_or_one(parser: Creator) -> Parser> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 235 | | let result = (parser().run)(tokens, del)?; [INFO] [stdout] 236 | | Ok((Some(result.0), result.1)) [INFO] [stdout] 237 | | })) [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/base.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn zero_or_one(parser: Creator) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 235 | let result = (parser().run)(tokens, del)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | Ok((Some(result.0), result.1)) [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/base.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn set_var(parser: Parser) -> Parser { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 247 | | match (parser.run)(tokens, del)? { [INFO] [stdout] 248 | | (Some(proc), left_tokens) => { [INFO] [stdout] 249 | | // 把解析出来到结果转换成字符串放到环境中 [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | })) [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/base.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn set_var(parser: Parser) -> Parser { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 247 | match (parser.run)(tokens, del)? { [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/base.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn has_var(parser: Parser) -> Parser<(syn::Ident, bool)> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 265 | | match (parser.run)(tokens, del)? { [INFO] [stdout] 266 | | (Some(proc), left_tokens) => { [INFO] [stdout] 267 | | // 看解析出来得内容是否在环境中 [INFO] [stdout] ... | [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | })) [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/base.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn has_var(parser: Parser) -> Parser<(syn::Ident, bool)> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 265 | match (parser.run)(tokens, del)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `af_path` (lib test) due to 65 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | let f = File::open("tables.json").expect("文件tables.json不存在"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | serde_json::from_reader(f).expect("文件tables.json格式错误") [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/token.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn new(stream: TokenStream) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let str = stream.to_string(); [INFO] [stdout] 158 | let iter: Box> = Box::new(stream.into_iter()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Tokens{iter:iter, tokens:Vec::new(), source: str} [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/program.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | Box::new(move || map(result, group(Delimiter::Brace, array(|| var_def())))) [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/program.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | (map(exp, ident().err("必须是变量名")) << Box::new(|| oper(&COLON).err("必须是冒号"))) + [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/program.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(|| ident().err("必须是变量类型")) [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/program.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 62 | let result = |name| |exp| Expression::Func(name, Box::new(exp)); [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/program.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | map(result, key(&LET) >> Box::new(|| set_var(ident().err("必须是函数名"))) << [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/program.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(|| oper(&ASSIGN).err("必须是等号"))) + Box::new(|| exp()) [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/program.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 80 | let result = |if_cond| |if_exp| |else_exp| [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] 81 | Expression::Cond(Box::new(if_cond), Box::new(if_exp), Box::new(else_exp)); [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/program.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 80 | let result = |if_cond| |if_exp| |else_exp| [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] 81 | Expression::Cond(Box::new(if_cond), Box::new(if_exp), Box::new(else_exp)); [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/program.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 80 | let result = |if_cond| |if_exp| |else_exp| [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] 81 | Expression::Cond(Box::new(if_cond), Box::new(if_exp), Box::new(else_exp)); [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/program.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Box::new(|| group(Delimiter::Brace, program()).err("必须是大括号")) + [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/program.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | key(&ELSE).err("必须是else") >> [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/program.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Box::new(|| group(Delimiter::Brace, program()).err("必须是打括号")) [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/program.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Box::new(|| group(Delimiter::Brace, program()).err("必须是打括号")) [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/program.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | Box::new(|| zero_or_one(Box::new(|| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 108 | | let oper_one = |oper| |right| (oper, right); [INFO] [stdout] 109 | | map(oper_one, oper(&COMPARE)) + Box::new(|| math()) [INFO] [stdout] 110 | | }))) [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/program.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 145 | map(|result| Expression::Expr(Box::new(result)), group(Delimiter::Parenthesis, exp())) [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/program.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 151 | let lit = token.to_lit(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Expression::Lit(lit.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/program.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(|| oper(&DOT).err("必须是‘.'")) >> Box::new(|| ident().err("必须是标识符"))) [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/program.rs:160:58 [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(|| oper(&DOT).err("必须是‘.'")) >> Box::new(|| ident().err("必须是标识符"))) [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/program.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::new(|| oper(&DOT).err("必须是'.'")) >> Box::new(|| ident().err("必须是标识符"))) + [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/program.rs:167:58 [INFO] [stdout] | [INFO] [stdout] 167 | Box::new(|| oper(&DOT).err("必须是'.'")) >> Box::new(|| ident().err("必须是标识符"))) + [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/program.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 174 | let ident = token.to_ident(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | Expression::Ident(ident.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/program.rs:181:61 [INFO] [stdout] | [INFO] [stdout] 181 | let result = |select| Expression::Query(QueryType::Sub, None, Vec::new(), Box::new(select)); [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/program.rs:181:67 [INFO] [stdout] | [INFO] [stdout] 181 | let result = |select| Expression::Query(QueryType::Sub, None, Vec::new(), Box::new(select)); [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/program.rs:181:79 [INFO] [stdout] | [INFO] [stdout] 181 | let result = |select| Expression::Query(QueryType::Sub, None, Vec::new(), Box::new(select)); [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/program.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | spec_ident(&DB) >> Box::new(|| oper(&DOT).err("必须是'.'")) >> Box::new(|| sub_or_var(true)) [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/program.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 193 | let result = move |(ident, has)| move |(cond, select)| { [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] 202 | Expression::Query(ty, Some(ident), cond, Box::new(select)) [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/program.rs:202:50 [INFO] [stdout] | [INFO] [stdout] 193 | let result = move |(ident, has)| move |(cond, select)| { [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] 202 | Expression::Query(ty, Some(ident), cond, Box::new(select)) [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/program.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 237 | let has_select = oper(&DOT) >> Box::new(|| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | has_select | Box::new(|| no_select()) [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/program.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | (total() | Box::new(|| select_agg()) | Box::new(|| select_one()) | Box::new(|| select_total(false)) )); [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/program.rs:238:76 [INFO] [stdout] | [INFO] [stdout] 238 | (total() | Box::new(|| select_agg()) | Box::new(|| select_one()) | Box::new(|| select_total(false)) )); [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/program.rs:269:56 [INFO] [stdout] | [INFO] [stdout] 269 | let result = |exp| |ident| Expression::Attr(ident, Box::new(exp)); [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/program.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 305 | let result = |first| |exps: Vec| { [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] 306 | exps.into_iter().fold(first, |acc, right| { [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/program.rs:308:39 [INFO] [stdout] | [INFO] [stdout] 306 | exps.into_iter().fold(first, |acc, right| { [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] 307 | let (ident, exp) = right.to_oper_one(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | Expression::Binary(ident, Box::new(acc), Box::new(exp)) [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/program.rs:308:54 [INFO] [stdout] | [INFO] [stdout] 306 | exps.into_iter().fold(first, |acc, right| { [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] 307 | let (ident, exp) = right.to_oper_one(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | Expression::Binary(ident, Box::new(acc), Box::new(exp)) [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/program.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | Box::new(move || zero_or_more(Box::new(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 314 | | let one_exp = |oper| |exp| Expression::OperOne(oper, Box::new(exp)); [INFO] [stdout] 315 | | map(one_exp, oper(opers)) + Box::new(move || p()) [INFO] [stdout] 316 | | }))) [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/program.rs:314:62 [INFO] [stdout] | [INFO] [stdout] 314 | let one_exp = |oper| |exp| Expression::OperOne(oper, Box::new(exp)); [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/program.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | Box::new(move || zero_or_more(Box::new(move || [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 330 | | oper(&COMMA) >> Box::new(move || p()) [INFO] [stdout] 331 | | ))) [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/program.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | oper(&COMMA) >> Box::new(move || p()) [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/program.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | oper(&COMMA) >> Box::new(move || p()) [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/program.rs:356:48 [INFO] [stdout] | [INFO] [stdout] 355 | fn group(delimiter: proc_macro::Delimiter, parser: Parser) -> Parser { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | is(move |token| token.is_group(delimiter), move |token, del| { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 357 | | // 把token转单词流,让parser进行解析,返回解析结果 [INFO] [stdout] 358 | | let mut tokens = token.to_tokens(); [INFO] [stdout] 359 | | let (result, _) = (parser.run)(&mut tokens, del).expect("解析错误"); [INFO] [stdout] 360 | | result.expect(&format!("group一定有内容: {}", tokens.to_string())) [INFO] [stdout] 361 | | }) [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/base.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn err(self, msg: &'static str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 28 | | // 如果本身已经出错,返回错误 [INFO] [stdout] 29 | | // 如果是None,返回指定错误 [INFO] [stdout] 30 | | if let (Some(proc), left_tokens) = (self.run)(tokens, del)? { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | })) [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/base.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Creator) -> Self::Output { [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] 51 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 52 | | // p1先运行,没有值,出错,有值,让p2运行 [INFO] [stdout] 53 | | match (self.run)(tokens, del)? { [INFO] [stdout] 54 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | })) [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/base.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Creator) -> Self::Output { [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] 53 | match (self.run)(tokens, del)? { [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/base.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn bitor(self, rhs: Creator) -> Self::Output { [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] 78 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 79 | | match (self.run)(tokens, del)? { [INFO] [stdout] 80 | | (None, left_tokens) => { [INFO] [stdout] 81 | | // 如果不满足语法规则,单词要回退 [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | })) [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/base.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 77 | fn bitor(self, rhs: Creator) -> Self::Output { [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] 78 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 79 | match (self.run)(tokens, del)? { [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/base.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 99 | fn shr(self, rhs: Creator) -> Self::Output { [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] 100 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 101 | | match (self.run)(tokens, del)? { [INFO] [stdout] 102 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] 103 | | (Some(_), left_tokens) => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | })) [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/base.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 99 | fn shr(self, rhs: Creator) -> Self::Output { [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] 100 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 101 | match (self.run)(tokens, del)? { [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/base.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 120 | fn shl(self, rhs: Creator) -> Self::Output { [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] 121 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | match (self.run)(tokens, del)? { [INFO] [stdout] 123 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] 124 | | (x, left_tokens) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | })) [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/base.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn shl(self, rhs: Creator) -> Self::Output { [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] 121 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 122 | match (self.run)(tokens, del)? { [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/base.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn is(check: F, p: P) -> Parser [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] 141 | where F: Fn(&Token) -> bool, P: Fn(&Token, &mut Vec) -> T { [INFO] [stdout] 142 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 143 | | // 没有单词了,返回空 [INFO] [stdout] 144 | | if let Some(token) = tokens.next() { [INFO] [stdout] 145 | | // 满足条件,调用p产生处理器 [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [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/base.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn map(f: F, parser: Parser) -> Parser where F: Fn(A) -> B + Copy { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 168 | | match (parser.run)(tokens, del)? { [INFO] [stdout] 169 | | (None, left_tokens) => Ok((None, left_tokens)), [INFO] [stdout] 170 | | (Some(x), left_tokens) => { [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] 175 | | })) [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/base.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn map(f: F, parser: Parser) -> Parser where F: Fn(A) -> B + Copy { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 168 | match (parser.run)(tokens, del)? { [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/base.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn zero_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 185 | | let mut v = Vec::new(); [INFO] [stdout] 186 | | // 已用单词总和 [INFO] [stdout] 187 | | let mut back_tokens = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok((Some(v), back_tokens)) [INFO] [stdout] 195 | | })) [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/base.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn zero_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 185 | let mut v = Vec::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | // 已用单词总和 [INFO] [stdout] 187 | let mut back_tokens = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Ok((Some(v), back_tokens)) [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/base.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn one_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 205 | | let mut v = Vec::new(); [INFO] [stdout] 206 | | // 已用单词总和 [INFO] [stdout] 207 | | let mut back_tokens = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 224 | | Ok((Some(v), back_tokens)) [INFO] [stdout] 225 | | })) [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/base.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn one_or_more(parser: Creator) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 205 | let mut v = Vec::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | // 已用单词总和 [INFO] [stdout] 207 | let mut back_tokens = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | Ok((Some(v), back_tokens)) [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/base.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn zero_or_one(parser: Creator) -> Parser> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 235 | | let result = (parser().run)(tokens, del)?; [INFO] [stdout] 236 | | Ok((Some(result.0), result.1)) [INFO] [stdout] 237 | | })) [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/base.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn zero_or_one(parser: Creator) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 235 | let result = (parser().run)(tokens, del)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | Ok((Some(result.0), result.1)) [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/base.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn set_var(parser: Parser) -> Parser { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 247 | | match (parser.run)(tokens, del)? { [INFO] [stdout] 248 | | (Some(proc), left_tokens) => { [INFO] [stdout] 249 | | // 把解析出来到结果转换成字符串放到环境中 [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | })) [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/base.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn set_var(parser: Parser) -> Parser { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 247 | match (parser.run)(tokens, del)? { [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/base.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn has_var(parser: Parser) -> Parser<(syn::Ident, bool)> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] | _________________^ [INFO] [stdout] 265 | | match (parser.run)(tokens, del)? { [INFO] [stdout] 266 | | (Some(proc), left_tokens) => { [INFO] [stdout] 267 | | // 看解析出来得内容是否在环境中 [INFO] [stdout] ... | [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | })) [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/base.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn has_var(parser: Parser) -> Parser<(syn::Ident, bool)> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Parser::new(Box::new(move |tokens, del| { [INFO] [stdout] 265 | match (parser.run)(tokens, del)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `af_path` (lib) due to 65 previous errors [INFO] running `Command { std: "docker" "inspect" "00a4c08875c0c77fde47292d412cdb76c28a2ca66960cc0a6a010abe664a860e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a4c08875c0c77fde47292d412cdb76c28a2ca66960cc0a6a010abe664a860e", kill_on_drop: false }` [INFO] [stdout] 00a4c08875c0c77fde47292d412cdb76c28a2ca66960cc0a6a010abe664a860e