[INFO] cloning repository https://github.com/Waqar144/cc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Waqar144/cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaqar144%2Fcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaqar144%2Fcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40b4853af2342aeb14adf16df9c4823147ceb519 [INFO] checking Waqar144/cc/40b4853af2342aeb14adf16df9c4823147ceb519 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaqar144%2Fcc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Waqar144/cc on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Waqar144/cc [INFO] finished tweaking git repo https://github.com/Waqar144/cc [INFO] tweaked toml for git repo https://github.com/Waqar144/cc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Waqar144/cc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c70db2cede3f61308b586a2597cfe29590aa6f44d9c71929cd1a664a0141ca8 [INFO] running `Command { std: "docker" "start" "-a" "9c70db2cede3f61308b586a2597cfe29590aa6f44d9c71929cd1a664a0141ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c70db2cede3f61308b586a2597cfe29590aa6f44d9c71929cd1a664a0141ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c70db2cede3f61308b586a2597cfe29590aa6f44d9c71929cd1a664a0141ca8", kill_on_drop: false }` [INFO] [stdout] 9c70db2cede3f61308b586a2597cfe29590aa6f44d9c71929cd1a664a0141ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 350ae982d6f9e526a8efb6c1a9ebf5a9f8d99905f90246bdda1e5234b47f8a4a [INFO] running `Command { std: "docker" "start" "-a" "350ae982d6f9e526a8efb6c1a9ebf5a9f8d99905f90246bdda1e5234b47f8a4a", kill_on_drop: false }` [INFO] [stderr] Checking cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/node.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `array_len` is never read [INFO] [stdout] --> src/ty.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | Array { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 55 | array_len: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:914:21 [INFO] [stdout] | [INFO] [stdout] 860 | fn to_assign(&mut self, binary: Node, op: char) -> Node { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 861 | let binary = binary.binary_node_mut().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 862 | let (mut lhs, mut rhs) = (binary.lhs, binary.rhs); [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] 866 | let var = self.new_variable("", Type::pointer_to(lhs.ty().clone()), false); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | let var_ty = var.ty().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 868 | self.locals.get_mut().push(var); [INFO] [stdout] 869 | let var = Variable { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 875 | let expr1 = Node::Assign(BinaryNode { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 885 | let expr2_rhs = BinaryNode { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 894 | let expr2 = Node::Assign(BinaryNode { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | Node::Comma(BinaryNode { [INFO] [stdout] | _____________________^ [INFO] [stdout] 915 | | ty: Type::None, [INFO] [stdout] 916 | | lhs: Box::new(expr1), [INFO] [stdout] 917 | | rhs: Box::new(expr2), [INFO] [stdout] 918 | | }) [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/parser.rs:1258:19 [INFO] [stdout] | [INFO] [stdout] 1225 | fn new_add(&mut self, mut left: Node, mut right: Node) -> Node { [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] 1226 | let _t = TraceRaii::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1258 | Node::Add(BinaryNode { [INFO] [stdout] | ___________________^ [INFO] [stdout] 1259 | | ty: Type::None, [INFO] [stdout] 1260 | | lhs: Box::new(left), [INFO] [stdout] 1261 | | rhs: Box::new(right), [INFO] [stdout] 1262 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1393:20 [INFO] [stdout] | [INFO] [stdout] 1355 | fn inc_dec(&mut self, mut node: Node, op: char) -> Node { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1377 | let add_or_sub = if op == '+' { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1383 | let assign = self.to_assign(add_or_sub, op); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1384 | [INFO] [stdout] 1385 | let mut add_or_sub = if op == '+' { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1391 | let ty = add_or_sub.ty().clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1392 | [INFO] [stdout] 1393 | Node::Cast(Unary { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1394 | | lhs: add_or_sub.into(), [INFO] [stdout] 1395 | | ty, [INFO] [stdout] 1396 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1361:17 [INFO] [stdout] | [INFO] [stdout] 1358 | fn add_one(_self: &mut Parser<'_>, node: Node) -> Node { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1361 | / Node::Numeric(Numeric { [INFO] [stdout] 1362 | | val: 1, [INFO] [stdout] 1363 | | ty: Type::int_type(), [INFO] [stdout] 1364 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1370:17 [INFO] [stdout] | [INFO] [stdout] 1367 | fn sub_one(_self: &mut Parser<'_>, node: Node) -> Node { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1370 | / Node::Numeric(Numeric { [INFO] [stdout] 1371 | | val: 1, [INFO] [stdout] 1372 | | ty: Type::int_type(), [INFO] [stdout] 1373 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/node.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1627:28 [INFO] [stdout] | [INFO] [stdout] 1586 | let _t = TraceRaii::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1599 | let mut args: Vec = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1627 | Node::FunctionCall(FunctionCall { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1628 | | name, [INFO] [stdout] 1629 | | args, [INFO] [stdout] 1630 | | ty: *f.ty.as_func().unwrap().return_type.clone(), [INFO] [stdout] 1631 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1672:26 [INFO] [stdout] | [INFO] [stdout] 1652 | let _t = TraceRaii::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1672 | self.type_suffix(ty.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/ty.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn pointer_to(base: Type) -> Type { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | base: Box::new(base), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ty.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn func_type(return_type: Type, params: Vec) -> Type { [INFO] [stdout] | ----------------- -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Type::Func(FuncType { [INFO] [stdout] | ____________________^ [INFO] [stdout] 117 | | return_type: Box::new(return_type), [INFO] [stdout] 118 | | params, [INFO] [stdout] 119 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `array_len` is never read [INFO] [stdout] --> src/ty.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | Array { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 55 | array_len: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ty.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn array_of(base_ty: Type, len: usize) -> Type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | base: Box::new(base_ty), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:914:21 [INFO] [stdout] | [INFO] [stdout] 860 | fn to_assign(&mut self, binary: Node, op: char) -> Node { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 861 | let binary = binary.binary_node_mut().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 862 | let (mut lhs, mut rhs) = (binary.lhs, binary.rhs); [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] 866 | let var = self.new_variable("", Type::pointer_to(lhs.ty().clone()), false); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | let var_ty = var.ty().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 868 | self.locals.get_mut().push(var); [INFO] [stdout] 869 | let var = Variable { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 875 | let expr1 = Node::Assign(BinaryNode { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 885 | let expr2_rhs = BinaryNode { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 894 | let expr2 = Node::Assign(BinaryNode { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | Node::Comma(BinaryNode { [INFO] [stdout] | _____________________^ [INFO] [stdout] 915 | | ty: Type::None, [INFO] [stdout] 916 | | lhs: Box::new(expr1), [INFO] [stdout] 917 | | rhs: Box::new(expr2), [INFO] [stdout] 918 | | }) [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/parser.rs:1258:19 [INFO] [stdout] | [INFO] [stdout] 1225 | fn new_add(&mut self, mut left: Node, mut right: Node) -> Node { [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] 1226 | let _t = TraceRaii::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1258 | Node::Add(BinaryNode { [INFO] [stdout] | ___________________^ [INFO] [stdout] 1259 | | ty: Type::None, [INFO] [stdout] 1260 | | lhs: Box::new(left), [INFO] [stdout] 1261 | | rhs: Box::new(right), [INFO] [stdout] 1262 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1393:20 [INFO] [stdout] | [INFO] [stdout] 1355 | fn inc_dec(&mut self, mut node: Node, op: char) -> Node { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1377 | let add_or_sub = if op == '+' { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1383 | let assign = self.to_assign(add_or_sub, op); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1384 | [INFO] [stdout] 1385 | let mut add_or_sub = if op == '+' { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1391 | let ty = add_or_sub.ty().clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1392 | [INFO] [stdout] 1393 | Node::Cast(Unary { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1394 | | lhs: add_or_sub.into(), [INFO] [stdout] 1395 | | ty, [INFO] [stdout] 1396 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1361:17 [INFO] [stdout] | [INFO] [stdout] 1358 | fn add_one(_self: &mut Parser<'_>, node: Node) -> Node { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1361 | / Node::Numeric(Numeric { [INFO] [stdout] 1362 | | val: 1, [INFO] [stdout] 1363 | | ty: Type::int_type(), [INFO] [stdout] 1364 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1370:17 [INFO] [stdout] | [INFO] [stdout] 1367 | fn sub_one(_self: &mut Parser<'_>, node: Node) -> Node { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1370 | / Node::Numeric(Numeric { [INFO] [stdout] 1371 | | val: 1, [INFO] [stdout] 1372 | | ty: Type::int_type(), [INFO] [stdout] 1373 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1627:28 [INFO] [stdout] | [INFO] [stdout] 1586 | let _t = TraceRaii::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1599 | let mut args: Vec = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1627 | Node::FunctionCall(FunctionCall { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1628 | | name, [INFO] [stdout] 1629 | | args, [INFO] [stdout] 1630 | | ty: *f.ty.as_func().unwrap().return_type.clone(), [INFO] [stdout] 1631 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:1672:26 [INFO] [stdout] | [INFO] [stdout] 1652 | let _t = TraceRaii::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1672 | self.type_suffix(ty.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/ty.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn pointer_to(base: Type) -> Type { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | base: Box::new(base), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ty.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn func_type(return_type: Type, params: Vec) -> Type { [INFO] [stdout] | ----------------- -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Type::Func(FuncType { [INFO] [stdout] | ____________________^ [INFO] [stdout] 117 | | return_type: Box::new(return_type), [INFO] [stdout] 118 | | params, [INFO] [stdout] 119 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ty.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn array_of(base_ty: Type, len: usize) -> Type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | base: Box::new(base_ty), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cc` (bin "cc" test) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cc` (bin "cc") due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "350ae982d6f9e526a8efb6c1a9ebf5a9f8d99905f90246bdda1e5234b47f8a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "350ae982d6f9e526a8efb6c1a9ebf5a9f8d99905f90246bdda1e5234b47f8a4a", kill_on_drop: false }` [INFO] [stdout] 350ae982d6f9e526a8efb6c1a9ebf5a9f8d99905f90246bdda1e5234b47f8a4a