[INFO] cloning repository https://github.com/cuppar/dsa_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cuppar/dsa_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuppar%2Fdsa_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuppar%2Fdsa_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9006f76b6e2bb2eb1efe651a34e2b2a5e93b5a9e [INFO] checking cuppar/dsa_in_rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuppar%2Fdsa_in_rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cuppar/dsa_in_rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cuppar/dsa_in_rust [INFO] finished tweaking git repo https://github.com/cuppar/dsa_in_rust [INFO] tweaked toml for git repo https://github.com/cuppar/dsa_in_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cuppar/dsa_in_rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55f9984f2bd91fce349a18f0f66b1bfabc75210a43bb1221751e08c1035eeec6 [INFO] running `Command { std: "docker" "start" "-a" "55f9984f2bd91fce349a18f0f66b1bfabc75210a43bb1221751e08c1035eeec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55f9984f2bd91fce349a18f0f66b1bfabc75210a43bb1221751e08c1035eeec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f9984f2bd91fce349a18f0f66b1bfabc75210a43bb1221751e08c1035eeec6", kill_on_drop: false }` [INFO] [stdout] 55f9984f2bd91fce349a18f0f66b1bfabc75210a43bb1221751e08c1035eeec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09225b7863146c4f203c156e15bb9679a8e47e7993f6c0eb4074c9c8046e4292 [INFO] running `Command { std: "docker" "start" "-a" "09225b7863146c4f203c156e15bb9679a8e47e7993f6c0eb4074c9c8046e4292", kill_on_drop: false }` [INFO] [stderr] Checking dsa_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "09225b7863146c4f203c156e15bb9679a8e47e7993f6c0eb4074c9c8046e4292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09225b7863146c4f203c156e15bb9679a8e47e7993f6c0eb4074c9c8046e4292", kill_on_drop: false }` [INFO] [stdout] 09225b7863146c4f203c156e15bb9679a8e47e7993f6c0eb4074c9c8046e4292 [INFO] checking cuppar/dsa_in_rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuppar%2Fdsa_in_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cuppar/dsa_in_rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cuppar/dsa_in_rust [INFO] finished tweaking git repo https://github.com/cuppar/dsa_in_rust [INFO] tweaked toml for git repo https://github.com/cuppar/dsa_in_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cuppar/dsa_in_rust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cee42410c1b27c378a593a02c444f8a265027d9d02186d82321ef51833915655 [INFO] running `Command { std: "docker" "start" "-a" "cee42410c1b27c378a593a02c444f8a265027d9d02186d82321ef51833915655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cee42410c1b27c378a593a02c444f8a265027d9d02186d82321ef51833915655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee42410c1b27c378a593a02c444f8a265027d9d02186d82321ef51833915655", kill_on_drop: false }` [INFO] [stdout] cee42410c1b27c378a593a02c444f8a265027d9d02186d82321ef51833915655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33f2049b9419abfac2baa795865dfa9ab3c78664dfb4d80c7d103998b084537c [INFO] running `Command { std: "docker" "start" "-a" "33f2049b9419abfac2baa795865dfa9ab3c78664dfb4d80c7d103998b084537c", kill_on_drop: false }` [INFO] [stderr] Checking dsa_in_rust v0.1.0 (/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/stack/link_stack.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(val: T) -> Link { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Box::new(Node { val, next: None }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/queue/link_deque.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(val: T) -> Link { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 26 | | val, [INFO] [stdout] 27 | | prev: None, [INFO] [stdout] 28 | | next: None, [INFO] [stdout] 29 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 64 | self.front.take().map(|old_front| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | / Rc::try_unwrap(old_front) [INFO] [stdout] 75 | | .ok() [INFO] [stdout] 76 | | .unwrap() [INFO] [stdout] 77 | | .into_inner() [INFO] [stdout] 78 | | .val [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 84 | self.rear.take().map(|old_rear| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / Rc::try_unwrap(old_rear) [INFO] [stdout] 95 | | .ok() [INFO] [stdout] 96 | | .unwrap() [INFO] [stdout] 97 | | .into_inner() [INFO] [stdout] 98 | | .val [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|node| RefMut::map(node.borrow_mut(), |node| &mut node.val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | .map(|node| RefMut::map(node.borrow_mut(), |node| &mut node.val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_queue.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(val: T) -> Link { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Rc::new(RefCell::new(Node { val, next: None })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_queue.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 51 | self.front.take().map(|old_front| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / Rc::try_unwrap(old_front) [INFO] [stdout] 62 | | .ok() [INFO] [stdout] 63 | | .unwrap() [INFO] [stdout] 64 | | .into_inner() [INFO] [stdout] 65 | | .val [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_queue.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|node| Ref::map(node.borrow(), |node| &node.val)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/binary_tree.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | val, [INFO] [stdout] 18 | | left: None, [INFO] [stdout] 19 | | right: None, [INFO] [stdout] 20 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/binary_tree.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_vec(v: Vec>) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self { [INFO] [stdout] 27 | root: BinaryTree::_from_vec(&v, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/binary_search_tree.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 22 | | val, [INFO] [stdout] 23 | | left: None, [INFO] [stdout] 24 | | right: None, [INFO] [stdout] 25 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/avl_tree.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | val, [INFO] [stdout] 24 | | height: 0, [INFO] [stdout] 25 | | left: None, [INFO] [stdout] 26 | | right: None, [INFO] [stdout] 27 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dsa_in_rust` (lib) due to 14 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/stack/link_stack.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(val: T) -> Link { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Box::new(Node { val, next: None }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/queue/link_deque.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(val: T) -> Link { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 26 | | val, [INFO] [stdout] 27 | | prev: None, [INFO] [stdout] 28 | | next: None, [INFO] [stdout] 29 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 64 | self.front.take().map(|old_front| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | / Rc::try_unwrap(old_front) [INFO] [stdout] 75 | | .ok() [INFO] [stdout] 76 | | .unwrap() [INFO] [stdout] 77 | | .into_inner() [INFO] [stdout] 78 | | .val [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 84 | self.rear.take().map(|old_rear| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / Rc::try_unwrap(old_rear) [INFO] [stdout] 95 | | .ok() [INFO] [stdout] 96 | | .unwrap() [INFO] [stdout] 97 | | .into_inner() [INFO] [stdout] 98 | | .val [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|node| RefMut::map(node.borrow_mut(), |node| &mut node.val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_deque.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | .map(|node| RefMut::map(node.borrow_mut(), |node| &mut node.val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_queue.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(val: T) -> Link { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Rc::new(RefCell::new(Node { val, next: None })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_queue.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 51 | self.front.take().map(|old_front| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / Rc::try_unwrap(old_front) [INFO] [stdout] 62 | | .ok() [INFO] [stdout] 63 | | .unwrap() [INFO] [stdout] 64 | | .into_inner() [INFO] [stdout] 65 | | .val [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/link_queue.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|node| Ref::map(node.borrow(), |node| &node.val)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/binary_tree.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | val, [INFO] [stdout] 18 | | left: None, [INFO] [stdout] 19 | | right: None, [INFO] [stdout] 20 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/binary_tree.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_vec(v: Vec>) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self { [INFO] [stdout] 27 | root: BinaryTree::_from_vec(&v, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/binary_search_tree.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 22 | | val, [INFO] [stdout] 23 | | left: None, [INFO] [stdout] 24 | | right: None, [INFO] [stdout] 25 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tree/avl_tree.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(val: T) -> Rc> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | val, [INFO] [stdout] 24 | | height: 0, [INFO] [stdout] 25 | | left: None, [INFO] [stdout] 26 | | right: None, [INFO] [stdout] 27 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dsa_in_rust` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "33f2049b9419abfac2baa795865dfa9ab3c78664dfb4d80c7d103998b084537c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f2049b9419abfac2baa795865dfa9ab3c78664dfb4d80c7d103998b084537c", kill_on_drop: false }` [INFO] [stdout] 33f2049b9419abfac2baa795865dfa9ab3c78664dfb4d80c7d103998b084537c