[INFO] fetching crate behavior-tree 0.1.0... [INFO] checking behavior-tree-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate behavior-tree 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate behavior-tree 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate behavior-tree 0.1.0 [INFO] finished tweaking crates.io crate behavior-tree 0.1.0 [INFO] tweaked toml for crates.io crate behavior-tree 0.1.0 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding puffin v0.7.0 (latest: v0.19.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f7d6898af097fad4c94d2a1111cc849a56986a95efcd2cecc6c1039b12306a55 [INFO] running `Command { std: "docker" "start" "-a" "f7d6898af097fad4c94d2a1111cc849a56986a95efcd2cecc6c1039b12306a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7d6898af097fad4c94d2a1111cc849a56986a95efcd2cecc6c1039b12306a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d6898af097fad4c94d2a1111cc849a56986a95efcd2cecc6c1039b12306a55", kill_on_drop: false }` [INFO] [stdout] f7d6898af097fad4c94d2a1111cc849a56986a95efcd2cecc6c1039b12306a55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0d04b19cb2e2eac519973b499d79424fc6e634d0816ac60e397dc4008397d962 [INFO] running `Command { std: "docker" "start" "-a" "0d04b19cb2e2eac519973b499d79424fc6e634d0816ac60e397dc4008397d962", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking behavior-tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::testing::*` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::testing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::*` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use tracing::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::testing::*` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::testing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::*` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use tracing::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stateful_action(name: &str, func: Box>) -> Node { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Behavior::StatefulAction(name.to_owned(), func), [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/node.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn sequence(nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Self::new(Behavior::Sequence( [INFO] [stdout] | ___________________^ [INFO] [stdout] 51 | | 0, [INFO] [stdout] 52 | | nodes [INFO] [stdout] 53 | | .into_iter() [INFO] [stdout] 54 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 55 | | .collect(), [INFO] [stdout] 56 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn named_sequence(name: &str, nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / Behavior::Sequence( [INFO] [stdout] 63 | | 0, [INFO] [stdout] 64 | | nodes [INFO] [stdout] 65 | | .into_iter() [INFO] [stdout] 66 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 67 | | .collect(), [INFO] [stdout] 68 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn select(nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self::new(Behavior::Select( [INFO] [stdout] | ___________________^ [INFO] [stdout] 74 | | 0, [INFO] [stdout] 75 | | nodes [INFO] [stdout] 76 | | .into_iter() [INFO] [stdout] 77 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 78 | | .collect(), [INFO] [stdout] 79 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn named_select(name: &str, nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | / Behavior::Select( [INFO] [stdout] 88 | | 0, [INFO] [stdout] 89 | | nodes [INFO] [stdout] 90 | | .into_iter() [INFO] [stdout] 91 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 92 | | .collect(), [INFO] [stdout] 93 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cond(name: &str, cond: fn(&T) -> bool, success: Node, failure: 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] ... [INFO] [stdout] 100 | / Behavior::Cond( [INFO] [stdout] 101 | | name.to_owned(), [INFO] [stdout] 102 | | cond, [INFO] [stdout] 103 | | Rc::new(RefCell::new(success)), [INFO] [stdout] 104 | | Rc::new(RefCell::new(failure)), [INFO] [stdout] 105 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 128 | cond: Box bool>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | child: Node, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Behavior::While(cond, Rc::new(RefCell::new(child))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 139 | cond: Box bool>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | child: Rc>>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> Node { [INFO] [stdout] 142 | Self::new_named(name.to_owned(), Behavior::While(cond, child)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 12 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stateful_action(name: &str, func: Box>) -> Node { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Behavior::StatefulAction(name.to_owned(), func), [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] [stderr] error: could not compile `behavior-tree` (lib test) due to 13 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn sequence(nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Self::new(Behavior::Sequence( [INFO] [stdout] | ___________________^ [INFO] [stdout] 51 | | 0, [INFO] [stdout] 52 | | nodes [INFO] [stdout] 53 | | .into_iter() [INFO] [stdout] 54 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 55 | | .collect(), [INFO] [stdout] 56 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn named_sequence(name: &str, nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / Behavior::Sequence( [INFO] [stdout] 63 | | 0, [INFO] [stdout] 64 | | nodes [INFO] [stdout] 65 | | .into_iter() [INFO] [stdout] 66 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 67 | | .collect(), [INFO] [stdout] 68 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn select(nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self::new(Behavior::Select( [INFO] [stdout] | ___________________^ [INFO] [stdout] 74 | | 0, [INFO] [stdout] 75 | | nodes [INFO] [stdout] 76 | | .into_iter() [INFO] [stdout] 77 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 78 | | .collect(), [INFO] [stdout] 79 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn named_select(name: &str, nodes: Vec>) -> Node { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | / Behavior::Select( [INFO] [stdout] 88 | | 0, [INFO] [stdout] 89 | | nodes [INFO] [stdout] 90 | | .into_iter() [INFO] [stdout] 91 | | .map(|node| Rc::new(RefCell::new(node))) [INFO] [stdout] 92 | | .collect(), [INFO] [stdout] 93 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | .map(|node| Rc::new(RefCell::new(node))) [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/node.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cond(name: &str, cond: fn(&T) -> bool, success: Node, failure: 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] ... [INFO] [stdout] 100 | / Behavior::Cond( [INFO] [stdout] 101 | | name.to_owned(), [INFO] [stdout] 102 | | cond, [INFO] [stdout] 103 | | Rc::new(RefCell::new(success)), [INFO] [stdout] 104 | | Rc::new(RefCell::new(failure)), [INFO] [stdout] 105 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 128 | cond: Box bool>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | child: Node, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Behavior::While(cond, Rc::new(RefCell::new(child))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 139 | cond: Box bool>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | child: Rc>>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> Node { [INFO] [stdout] 142 | Self::new_named(name.to_owned(), Behavior::While(cond, child)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 12 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `behavior-tree` (lib) due to 13 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d04b19cb2e2eac519973b499d79424fc6e634d0816ac60e397dc4008397d962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d04b19cb2e2eac519973b499d79424fc6e634d0816ac60e397dc4008397d962", kill_on_drop: false }` [INFO] [stdout] 0d04b19cb2e2eac519973b499d79424fc6e634d0816ac60e397dc4008397d962