[INFO] cloning repository https://github.com/jpothi01/mold [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpothi01/mold" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Fmold", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Fmold'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e15417c189e952ef09b3be4a1ac833b55682fd1 [INFO] checking jpothi01/mold against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpothi01%2Fmold" "/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/jpothi01/mold 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/jpothi01/mold [INFO] finished tweaking git repo https://github.com/jpothi01/mold [INFO] tweaked toml for git repo https://github.com/jpothi01/mold written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jpothi01/mold 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded dylib v0.0.3 [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] 1ecf743c72aacd98a35b8a3ff76dd7c0c04d1fe7800eb77e85d97bc3f0846147 [INFO] running `Command { std: "docker" "start" "-a" "1ecf743c72aacd98a35b8a3ff76dd7c0c04d1fe7800eb77e85d97bc3f0846147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ecf743c72aacd98a35b8a3ff76dd7c0c04d1fe7800eb77e85d97bc3f0846147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ecf743c72aacd98a35b8a3ff76dd7c0c04d1fe7800eb77e85d97bc3f0846147", kill_on_drop: false }` [INFO] [stdout] 1ecf743c72aacd98a35b8a3ff76dd7c0c04d1fe7800eb77e85d97bc3f0846147 [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] 96c125ad67d76a5641632a05e7bedd0ed82c0ccf2759d83afcb6179730bb6227 [INFO] running `Command { std: "docker" "start" "-a" "96c125ad67d76a5641632a05e7bedd0ed82c0ccf2759d83afcb6179730bb6227", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dylib v0.0.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking mold v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/core/eval/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | environment: &mut Environment<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_name` [INFO] [stdout] --> src/core/eval/mod.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let arg_name = def_args[i].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dynamic_function` [INFO] [stdout] --> src/core/eval/mod.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | rust::NativeFunction::Dynamic(dynamic_function) => panic!("Not implemented"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dynamic_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/core/eval/mod.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | let FunctionCall { name, args } = function_call; [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ifelse` [INFO] [stdout] --> src/core/eval/mod.rs:706:31 [INFO] [stdout] | [INFO] [stdout] 706 | Statement::IfElse(ifelse) => panic!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ifelse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/core/eval/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | environment: &mut Environment<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_name` [INFO] [stdout] --> src/core/eval/mod.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let arg_name = def_args[i].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dynamic_function` [INFO] [stdout] --> src/core/eval/mod.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | rust::NativeFunction::Dynamic(dynamic_function) => panic!("Not implemented"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dynamic_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/core/eval/mod.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | let FunctionCall { name, args } = function_call; [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ifelse` [INFO] [stdout] --> src/core/eval/mod.rs:706:31 [INFO] [stdout] | [INFO] [stdout] 706 | Statement::IfElse(ifelse) => panic!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ifelse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/core/eval/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct VariableContent<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 28 | expr: &'a Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/core/eval/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct VariableContent<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 28 | expr: &'a Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "96c125ad67d76a5641632a05e7bedd0ed82c0ccf2759d83afcb6179730bb6227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c125ad67d76a5641632a05e7bedd0ed82c0ccf2759d83afcb6179730bb6227", kill_on_drop: false }` [INFO] [stdout] 96c125ad67d76a5641632a05e7bedd0ed82c0ccf2759d83afcb6179730bb6227 [INFO] checking jpothi01/mold 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%2Fjpothi01%2Fmold" "/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/jpothi01/mold 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/jpothi01/mold [INFO] finished tweaking git repo https://github.com/jpothi01/mold [INFO] tweaked toml for git repo https://github.com/jpothi01/mold written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jpothi01/mold 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] 4b42478e7c3d0bb6d8b9bd7236f8bccff1366395febe8ffd7ac228f9705b4680 [INFO] running `Command { std: "docker" "start" "-a" "4b42478e7c3d0bb6d8b9bd7236f8bccff1366395febe8ffd7ac228f9705b4680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b42478e7c3d0bb6d8b9bd7236f8bccff1366395febe8ffd7ac228f9705b4680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b42478e7c3d0bb6d8b9bd7236f8bccff1366395febe8ffd7ac228f9705b4680", kill_on_drop: false }` [INFO] [stdout] 4b42478e7c3d0bb6d8b9bd7236f8bccff1366395febe8ffd7ac228f9705b4680 [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] 466e36ea317134cafa5337f433d77e67f2211a31ee1251dca201072e0b44bc1c [INFO] running `Command { std: "docker" "start" "-a" "466e36ea317134cafa5337f433d77e67f2211a31ee1251dca201072e0b44bc1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dylib v0.0.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking mold v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/core/eval/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | environment: &mut Environment<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_name` [INFO] [stdout] --> src/core/eval/mod.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let arg_name = def_args[i].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dynamic_function` [INFO] [stdout] --> src/core/eval/mod.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | rust::NativeFunction::Dynamic(dynamic_function) => panic!("Not implemented"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dynamic_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/core/eval/mod.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | let FunctionCall { name, args } = function_call; [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ifelse` [INFO] [stdout] --> src/core/eval/mod.rs:706:31 [INFO] [stdout] | [INFO] [stdout] 706 | Statement::IfElse(ifelse) => panic!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ifelse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/core/eval/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | environment: &mut Environment<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_name` [INFO] [stdout] --> src/core/eval/mod.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let arg_name = def_args[i].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dynamic_function` [INFO] [stdout] --> src/core/eval/mod.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | rust::NativeFunction::Dynamic(dynamic_function) => panic!("Not implemented"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dynamic_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/core/eval/mod.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | let FunctionCall { name, args } = function_call; [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ifelse` [INFO] [stdout] --> src/core/eval/mod.rs:706:31 [INFO] [stdout] | [INFO] [stdout] 706 | Statement::IfElse(ifelse) => panic!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ifelse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/core/eval/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct VariableContent<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 28 | expr: &'a Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/parse/mod.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 336 | let rhs = parse_expr(parser_state)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 349 | | Statement::Assignment { [INFO] [stdout] 350 | | lhs: lhs, [INFO] [stdout] 351 | | rhs: Box::new(rhs), [INFO] [stdout] 352 | | }, [INFO] [stdout] 353 | | Box::new(rest), [INFO] [stdout] 354 | | )) [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] | [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/core/parse/mod.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 462 | let expr = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | Ok(Expr::Block(Box::new(expr))) [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/core/parse/mod.rs:568:8 [INFO] [stdout] | [INFO] [stdout] 566 | let body = parse_block(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 567 | [INFO] [stdout] 568 | Ok(FunctionDefinition { [INFO] [stdout] | ________^ [INFO] [stdout] 569 | | signature: signature, [INFO] [stdout] 570 | | body: Box::new(body), [INFO] [stdout] 571 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 576 | let function_definition = parse_function_definition(parser_state)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 579 | | Statement::FunctionDefinition(function_definition), [INFO] [stdout] 580 | | Box::new(rest), [INFO] [stdout] 581 | | )) [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] | [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/core/parse/mod.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 630 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 631 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 632 | | Statement::RustFunctionDefinition(function_definition), [INFO] [stdout] 633 | | Box::new(rest), [INFO] [stdout] 634 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:660:8 [INFO] [stdout] | [INFO] [stdout] 650 | let mut methods: Vec = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 658 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 659 | [INFO] [stdout] 660 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 661 | | Statement::Impl { [INFO] [stdout] 662 | | tid: type_identifier, [INFO] [stdout] 663 | | methods: methods, [INFO] [stdout] 664 | | }, [INFO] [stdout] 665 | | Box::new(rest), [INFO] [stdout] 666 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:725:8 [INFO] [stdout] | [INFO] [stdout] 723 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 724 | [INFO] [stdout] 725 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 726 | | Statement::EnumDefinition(EnumDefinition { [INFO] [stdout] 727 | | name: type_identifier, [INFO] [stdout] 728 | | alternatives: alternatives, [INFO] [stdout] 729 | | }), [INFO] [stdout] 730 | | Box::new(rest), [INFO] [stdout] 731 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:834:8 [INFO] [stdout] | [INFO] [stdout] 779 | let match_expr = parse_expr(parser_state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 821 | let mut arms: Vec = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 834 | Ok(Expr::Match(Match { [INFO] [stdout] | ________^ [INFO] [stdout] 835 | | match_expr: Box::new(match_expr), [INFO] [stdout] 836 | | arms: arms, [INFO] [stdout] 837 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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/core/parse/mod.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 814 | let expr = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | Ok(MatchArm { [INFO] [stdout] | ____________^ [INFO] [stdout] 816 | | pattern: pattern, [INFO] [stdout] 817 | | expr: expr, [INFO] [stdout] 818 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/core/parse/mod.rs:879:8 [INFO] [stdout] | [INFO] [stdout] 849 | let condition = parse_expr(parser_state)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 850 | parser_state.consume_until_nonwhitespace(); [INFO] [stdout] 851 | let if_branch = parse_block(parser_state)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 865 | let else_branch: ParseResult = if parser_state.next_character() == Some('{') { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 879 | Ok(Expr::IfElse(IfElse { [INFO] [stdout] | ________^ [INFO] [stdout] 880 | | condition: Box::new(condition), [INFO] [stdout] 881 | | if_branch: Box::new(if_branch), [INFO] [stdout] 882 | | else_branch: Box::new(else_branch.unwrap()), [INFO] [stdout] 883 | | })) [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] | [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/core/parse/mod.rs:901:8 [INFO] [stdout] | [INFO] [stdout] 895 | let condition = parse_expr(parser_state)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 896 | parser_state.consume_until_nonwhitespace(); [INFO] [stdout] 897 | let body = parse_block(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 900 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 901 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 902 | | Statement::While { [INFO] [stdout] 903 | | condition: Box::new(condition), [INFO] [stdout] 904 | | body: Box::new(body), [INFO] [stdout] 905 | | }, [INFO] [stdout] 906 | | Box::new(rest), [INFO] [stdout] 907 | | )) [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] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mold` (lib) due to 12 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/core/eval/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct VariableContent<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 28 | expr: &'a Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/parse/mod.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 336 | let rhs = parse_expr(parser_state)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 349 | | Statement::Assignment { [INFO] [stdout] 350 | | lhs: lhs, [INFO] [stdout] 351 | | rhs: Box::new(rhs), [INFO] [stdout] 352 | | }, [INFO] [stdout] 353 | | Box::new(rest), [INFO] [stdout] 354 | | )) [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] | [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/core/parse/mod.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 462 | let expr = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | Ok(Expr::Block(Box::new(expr))) [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/core/parse/mod.rs:568:8 [INFO] [stdout] | [INFO] [stdout] 566 | let body = parse_block(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 567 | [INFO] [stdout] 568 | Ok(FunctionDefinition { [INFO] [stdout] | ________^ [INFO] [stdout] 569 | | signature: signature, [INFO] [stdout] 570 | | body: Box::new(body), [INFO] [stdout] 571 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 576 | let function_definition = parse_function_definition(parser_state)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 579 | | Statement::FunctionDefinition(function_definition), [INFO] [stdout] 580 | | Box::new(rest), [INFO] [stdout] 581 | | )) [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] | [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/core/parse/mod.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 630 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 631 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 632 | | Statement::RustFunctionDefinition(function_definition), [INFO] [stdout] 633 | | Box::new(rest), [INFO] [stdout] 634 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:660:8 [INFO] [stdout] | [INFO] [stdout] 650 | let mut methods: Vec = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 658 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 659 | [INFO] [stdout] 660 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 661 | | Statement::Impl { [INFO] [stdout] 662 | | tid: type_identifier, [INFO] [stdout] 663 | | methods: methods, [INFO] [stdout] 664 | | }, [INFO] [stdout] 665 | | Box::new(rest), [INFO] [stdout] 666 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:725:8 [INFO] [stdout] | [INFO] [stdout] 723 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 724 | [INFO] [stdout] 725 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 726 | | Statement::EnumDefinition(EnumDefinition { [INFO] [stdout] 727 | | name: type_identifier, [INFO] [stdout] 728 | | alternatives: alternatives, [INFO] [stdout] 729 | | }), [INFO] [stdout] 730 | | Box::new(rest), [INFO] [stdout] 731 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/core/parse/mod.rs:834:8 [INFO] [stdout] | [INFO] [stdout] 779 | let match_expr = parse_expr(parser_state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 821 | let mut arms: Vec = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 834 | Ok(Expr::Match(Match { [INFO] [stdout] | ________^ [INFO] [stdout] 835 | | match_expr: Box::new(match_expr), [INFO] [stdout] 836 | | arms: arms, [INFO] [stdout] 837 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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/core/parse/mod.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 814 | let expr = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | Ok(MatchArm { [INFO] [stdout] | ____________^ [INFO] [stdout] 816 | | pattern: pattern, [INFO] [stdout] 817 | | expr: expr, [INFO] [stdout] 818 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/core/parse/mod.rs:879:8 [INFO] [stdout] | [INFO] [stdout] 849 | let condition = parse_expr(parser_state)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 850 | parser_state.consume_until_nonwhitespace(); [INFO] [stdout] 851 | let if_branch = parse_block(parser_state)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 865 | let else_branch: ParseResult = if parser_state.next_character() == Some('{') { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 879 | Ok(Expr::IfElse(IfElse { [INFO] [stdout] | ________^ [INFO] [stdout] 880 | | condition: Box::new(condition), [INFO] [stdout] 881 | | if_branch: Box::new(if_branch), [INFO] [stdout] 882 | | else_branch: Box::new(else_branch.unwrap()), [INFO] [stdout] 883 | | })) [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] | [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/core/parse/mod.rs:901:8 [INFO] [stdout] | [INFO] [stdout] 895 | let condition = parse_expr(parser_state)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 896 | parser_state.consume_until_nonwhitespace(); [INFO] [stdout] 897 | let body = parse_block(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 900 | let rest = parse_expr(parser_state)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 901 | Ok(Expr::Statement( [INFO] [stdout] | ________^ [INFO] [stdout] 902 | | Statement::While { [INFO] [stdout] 903 | | condition: Box::new(condition), [INFO] [stdout] 904 | | body: Box::new(body), [INFO] [stdout] 905 | | }, [INFO] [stdout] 906 | | Box::new(rest), [INFO] [stdout] 907 | | )) [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] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mold` (lib test) due to 12 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "466e36ea317134cafa5337f433d77e67f2211a31ee1251dca201072e0b44bc1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466e36ea317134cafa5337f433d77e67f2211a31ee1251dca201072e0b44bc1c", kill_on_drop: false }` [INFO] [stdout] 466e36ea317134cafa5337f433d77e67f2211a31ee1251dca201072e0b44bc1c