[INFO] cloning repository https://github.com/rjhdby/rust_calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rjhdby/rust_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjhdby%2Frust_calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjhdby%2Frust_calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bd962349fe42b4e3b50e193065841289111fa2b [INFO] checking rjhdby/rust_calculator against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjhdby%2Frust_calculator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjhdby/rust_calculator 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/rjhdby/rust_calculator [INFO] finished tweaking git repo https://github.com/rjhdby/rust_calculator [INFO] tweaked toml for git repo https://github.com/rjhdby/rust_calculator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rjhdby/rust_calculator 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded az v1.1.1 [INFO] [stderr] Downloaded strum v0.21.0 [INFO] [stderr] Downloaded strum_macros v0.21.1 [INFO] [stderr] Downloaded rug v1.12.0 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f80fec28e78bb17e91ed84202c271781f2efc81fc529f69eea72b5b72aeda548 [INFO] running `Command { std: "docker" "start" "-a" "f80fec28e78bb17e91ed84202c271781f2efc81fc529f69eea72b5b72aeda548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f80fec28e78bb17e91ed84202c271781f2efc81fc529f69eea72b5b72aeda548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80fec28e78bb17e91ed84202c271781f2efc81fc529f69eea72b5b72aeda548", kill_on_drop: false }` [INFO] [stdout] f80fec28e78bb17e91ed84202c271781f2efc81fc529f69eea72b5b72aeda548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5d555821c12f1dd04e77fc33202e784d2d58fc018c8ab7d51617c258e7ae1344 [INFO] running `Command { std: "docker" "start" "-a" "5d555821c12f1dd04e77fc33202e784d2d58fc018c8ab7d51617c258e7ae1344", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling az v1.1.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling rug v1.12.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking expr_calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/ast.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl ExprCalculator { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> src/ast.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 356 | impl Token { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_value(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64Handler` is never constructed [INFO] [stdout] --> src/f64_calculator.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct F64Handler {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f64_calculator` is never used [INFO] [stdout] --> src/f64_calculator.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn f64_calculator() -> ExprCalculator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/ast.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl ExprCalculator { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64Handler` is never constructed [INFO] [stdout] --> src/f64_calculator.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct F64Handler {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f64_calculator` is never used [INFO] [stdout] --> src/f64_calculator.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn f64_calculator() -> ExprCalculator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "5d555821c12f1dd04e77fc33202e784d2d58fc018c8ab7d51617c258e7ae1344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d555821c12f1dd04e77fc33202e784d2d58fc018c8ab7d51617c258e7ae1344", kill_on_drop: false }` [INFO] [stdout] 5d555821c12f1dd04e77fc33202e784d2d58fc018c8ab7d51617c258e7ae1344 [INFO] checking rjhdby/rust_calculator 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%2Frjhdby%2Frust_calculator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjhdby/rust_calculator 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/rjhdby/rust_calculator [INFO] finished tweaking git repo https://github.com/rjhdby/rust_calculator [INFO] tweaked toml for git repo https://github.com/rjhdby/rust_calculator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rjhdby/rust_calculator 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-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ed224673029a634b0c1e09d111d969854bfc9ad547dd8a61aa5d5b508bc9050 [INFO] running `Command { std: "docker" "start" "-a" "2ed224673029a634b0c1e09d111d969854bfc9ad547dd8a61aa5d5b508bc9050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ed224673029a634b0c1e09d111d969854bfc9ad547dd8a61aa5d5b508bc9050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed224673029a634b0c1e09d111d969854bfc9ad547dd8a61aa5d5b508bc9050", kill_on_drop: false }` [INFO] [stdout] 2ed224673029a634b0c1e09d111d969854bfc9ad547dd8a61aa5d5b508bc9050 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c35825927012d671bfd844ac96b0929c18dca65dc37c6fc572adc1eca3226dab [INFO] running `Command { std: "docker" "start" "-a" "c35825927012d671bfd844ac96b0929c18dca65dc37c6fc572adc1eca3226dab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling az v1.1.1 [INFO] [stderr] Compiling rug v1.12.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking expr_calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/ast.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl ExprCalculator { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> src/ast.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 356 | impl Token { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_value(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64Handler` is never constructed [INFO] [stdout] --> src/f64_calculator.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct F64Handler {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f64_calculator` is never used [INFO] [stdout] --> src/f64_calculator.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn f64_calculator() -> ExprCalculator { [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/ast.rs:175:61 [INFO] [stdout] | [INFO] [stdout] 165 | calculate: Box>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | calculate: Box::new(move |operands| { calculate(operands[0].clone()) }), [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] = 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/ast.rs:203:61 [INFO] [stdout] | [INFO] [stdout] 194 | calculate: Box>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | calculate: Box::new(move |operands| { calculate(operands[0].clone()) }), [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/ast.rs:214:61 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn add_infix(&mut self, signature: String, description: String, calculate: Box>, order: u8) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | calculate: Box::new(move |operands| { calculate(operands[0].clone(), operands[1].clone()) }), [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/ast.rs:214:82 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn add_infix(&mut self, signature: String, description: String, calculate: Box>, order: u8) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | calculate: Box::new(move |operands| { calculate(operands[0].clone(), operands[1].clone()) }), [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/float_calculator.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(|op1| { -op1.clone() }), [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/float_calculator.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | Box::new(|op1| { Float::with_val(64, Float::factorial((op1 as Float).to_u32_saturating().unwrap())) }), [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/float_calculator.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | Box::new(|op1, op2| { op1 + op2.clone() }), [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/float_calculator.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | Box::new(|op1, op2| { op1 - op2.clone() }), [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/float_calculator.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | Box::new(|op1, op2| { op1 * op2.clone() }), [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/float_calculator.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | Box::new(|op1, op2| { op1 / op2.clone() }), [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/float_calculator.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | Box::new(|op1, op2| { op1.pow(op2.clone()) }), [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/float_calculator.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | Box::new(|op1| { op1.clone().sqrt() }), [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/float_calculator.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | Box::new(|op1| { op1.clone().sin() }), [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/float_calculator.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | Box::new(|op1| { op1.clone().cos() }), [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/float_calculator.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Box::new(|op1| { op1.clone().ln() }), [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/float_calculator.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | Box::new(|op1| { op1.clone().log10() }), [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/float_calculator.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | Box::new(|op1| { op1.clone().log2() }), [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/float_calculator.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | Box::new(|op1| { op1.clone().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: aborting due to 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `expr_calc` (bin "expr_calc") due to 19 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/ast.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl ExprCalculator { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64Handler` is never constructed [INFO] [stdout] --> src/f64_calculator.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct F64Handler {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f64_calculator` is never used [INFO] [stdout] --> src/f64_calculator.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn f64_calculator() -> ExprCalculator { [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/ast.rs:175:61 [INFO] [stdout] | [INFO] [stdout] 165 | calculate: Box>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | calculate: Box::new(move |operands| { calculate(operands[0].clone()) }), [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] = 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/ast.rs:203:61 [INFO] [stdout] | [INFO] [stdout] 194 | calculate: Box>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | calculate: Box::new(move |operands| { calculate(operands[0].clone()) }), [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/ast.rs:214:61 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn add_infix(&mut self, signature: String, description: String, calculate: Box>, order: u8) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | calculate: Box::new(move |operands| { calculate(operands[0].clone(), operands[1].clone()) }), [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/ast.rs:214:82 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn add_infix(&mut self, signature: String, description: String, calculate: Box>, order: u8) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | calculate: Box::new(move |operands| { calculate(operands[0].clone(), operands[1].clone()) }), [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/float_calculator.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(|op1| { -op1.clone() }), [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/float_calculator.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | Box::new(|op1| { Float::with_val(64, Float::factorial((op1 as Float).to_u32_saturating().unwrap())) }), [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/float_calculator.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | Box::new(|op1, op2| { op1 + op2.clone() }), [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/float_calculator.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | Box::new(|op1, op2| { op1 - op2.clone() }), [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/float_calculator.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | Box::new(|op1, op2| { op1 * op2.clone() }), [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/float_calculator.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | Box::new(|op1, op2| { op1 / op2.clone() }), [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/float_calculator.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | Box::new(|op1, op2| { op1.pow(op2.clone()) }), [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/float_calculator.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | Box::new(|op1| { op1.clone().sqrt() }), [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/float_calculator.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | Box::new(|op1| { op1.clone().sin() }), [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/float_calculator.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | Box::new(|op1| { op1.clone().cos() }), [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/float_calculator.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Box::new(|op1| { op1.clone().ln() }), [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/float_calculator.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | Box::new(|op1| { op1.clone().log10() }), [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/float_calculator.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | Box::new(|op1| { op1.clone().log2() }), [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/float_calculator.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | Box::new(|op1| { op1.clone().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/tests.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 24 | let mut calculator = ExprCalculator::::new(Box::new(IntHandler {})); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(calculator.calculate("2+3 -7").ok().unwrap(), -2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 43 | let mut calculator = ExprCalculator::::new(Box::new(IntHandler {})); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(calculator.calculate("4+6/2").ok().unwrap(), 5) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 20 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `expr_calc` (bin "expr_calc" test) due to 21 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c35825927012d671bfd844ac96b0929c18dca65dc37c6fc572adc1eca3226dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35825927012d671bfd844ac96b0929c18dca65dc37c6fc572adc1eca3226dab", kill_on_drop: false }` [INFO] [stdout] c35825927012d671bfd844ac96b0929c18dca65dc37c6fc572adc1eca3226dab