[INFO] fetching crate power-instruction-analyzer 0.2.0... [INFO] checking power-instruction-analyzer-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate power-instruction-analyzer 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate power-instruction-analyzer 0.2.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate power-instruction-analyzer 0.2.0 [INFO] finished tweaking crates.io crate power-instruction-analyzer 0.2.0 [INFO] tweaked toml for crates.io crate power-instruction-analyzer 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate power-instruction-analyzer 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d0935093474970197e7196c5b9c21eed71ed5b67fc04974dc960174dae1347c [INFO] running `Command { std: "docker" "start" "-a" "4d0935093474970197e7196c5b9c21eed71ed5b67fc04974dc960174dae1347c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d0935093474970197e7196c5b9c21eed71ed5b67fc04974dc960174dae1347c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d0935093474970197e7196c5b9c21eed71ed5b67fc04974dc960174dae1347c", kill_on_drop: false }` [INFO] [stdout] 4d0935093474970197e7196c5b9c21eed71ed5b67fc04974dc960174dae1347c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c0c41eee2e2e8ca18c4da054d467814c39b7ecab48db1e0f25127460df1a726 [INFO] running `Command { std: "docker" "start" "-a" "6c0c41eee2e2e8ca18c4da054d467814c39b7ecab48db1e0f25127460df1a726", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling power-instruction-analyzer-proc-macro v0.2.0 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking power-instruction-analyzer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 79 | create_instr_variants_ov_cr!(add, addo, add_, addo_, i64); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 109 | create_instr_variants_ov_cr!(subf, subfo, subf_, subfo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 144 | create_instr_variants_ov_cr!(addc, addco, addc_, addco_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 162 | create_instr_variants_ov_cr!(subfc, subfco, subfc_, subfco_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 180 | create_instr_variants_ov_cr!(adde, addeo, adde_, addeo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 203 | create_instr_variants_ov_cr!(subfe, subfeo, subfe_, subfeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 227 | create_instr_variants_ov_cr!(addme, addmeo, addme_, addmeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 250 | create_instr_variants_ov_cr!(subfme, subfmeo, subfme_, subfmeo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 274 | create_instr_variants_ov_cr!(addze, addzeo, addze_, addzeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 296 | create_instr_variants_ov_cr!(subfze, subfzeo, subfze_, subfzeo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 342 | create_instr_variants_ov_cr!(neg, nego, neg_, nego_, i64); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 356 | create_instr_variants_ov_cr!(divde, divdeo, divde_, divdeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 386 | create_instr_variants_ov_cr!(divdeu, divdeuo, divdeu_, divdeuo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 416 | create_instr_variants_ov_cr!(divd, divdo, divd_, divdo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 440 | create_instr_variants_ov_cr!(divdu, divduo, divdu_, divduo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 465 | create_instr_variants_ov_cr!(divwe, divweo, divwe_, divweo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 496 | create_instr_variants_ov_cr!(divweu, divweuo, divweu_, divweuo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 527 | create_instr_variants_ov_cr!(divw, divwo, divw_, divwo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 552 | create_instr_variants_ov_cr!(divwu, divwuo, divwu_, divwuo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 646 | create_instr_variants_ov_cr!(mullw, mullwo, mullw_, mullwo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 691 | create_instr_variants_ov_cr!(mulld, mulldo, mulld_, mulldo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:188:62 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | / instructions! { [INFO] [stdout] 315 | | #[enumerant = AddI] [INFO] [stdout] 316 | | fn addi(Ra, ImmediateS16) -> (Rt) { [INFO] [stdout] 317 | | "addi" [INFO] [stdout] ... | [INFO] [stdout] 845 | | } [INFO] [stdout] 846 | | } [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/serde_hex.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Option::>::deserialize(deserializer)?.map(|v| v.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `power-instruction-analyzer` (lib) due to 4 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 79 | create_instr_variants_ov_cr!(add, addo, add_, addo_, i64); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 109 | create_instr_variants_ov_cr!(subf, subfo, subf_, subfo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 144 | create_instr_variants_ov_cr!(addc, addco, addc_, addco_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 162 | create_instr_variants_ov_cr!(subfc, subfco, subfc_, subfco_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 180 | create_instr_variants_ov_cr!(adde, addeo, adde_, addeo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 203 | create_instr_variants_ov_cr!(subfe, subfeo, subfe_, subfeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 227 | create_instr_variants_ov_cr!(addme, addmeo, addme_, addmeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 250 | create_instr_variants_ov_cr!(subfme, subfmeo, subfme_, subfmeo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 274 | create_instr_variants_ov_cr!(addze, addzeo, addze_, addzeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 296 | create_instr_variants_ov_cr!(subfze, subfzeo, subfze_, subfzeo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 342 | create_instr_variants_ov_cr!(neg, nego, neg_, nego_, i64); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 356 | create_instr_variants_ov_cr!(divde, divdeo, divde_, divdeo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 386 | create_instr_variants_ov_cr!(divdeu, divdeuo, divdeu_, divdeuo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 416 | create_instr_variants_ov_cr!(divd, divdo, divd_, divdo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 440 | create_instr_variants_ov_cr!(divdu, divduo, divdu_, divduo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 465 | create_instr_variants_ov_cr!(divwe, divweo, divwe_, divweo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 496 | create_instr_variants_ov_cr!(divweu, divweuo, divweu_, divweuo_, i64); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 527 | create_instr_variants_ov_cr!(divw, divwo, divw_, divwo_, i64); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 552 | create_instr_variants_ov_cr!(divwu, divwuo, divwu_, divwuo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 646 | create_instr_variants_ov_cr!(mullw, mullwo, mullw_, mullwo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instr_models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cr0 = retval.cr0.as_mut().expect("expected cr0 to be set"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 691 | create_instr_variants_ov_cr!(mulld, mulldo, mulld_, mulldo_, i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_instr_variants_ov_cr` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:188:62 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | / instructions! { [INFO] [stdout] 315 | | #[enumerant = AddI] [INFO] [stdout] 316 | | fn addi(Ra, ImmediateS16) -> (Rt) { [INFO] [stdout] 317 | | "addi" [INFO] [stdout] ... | [INFO] [stdout] 845 | | } [INFO] [stdout] 846 | | } [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/serde_hex.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Option::>::deserialize(deserializer)?.map(|v| v.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `power-instruction-analyzer` (lib test) due to 4 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c0c41eee2e2e8ca18c4da054d467814c39b7ecab48db1e0f25127460df1a726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0c41eee2e2e8ca18c4da054d467814c39b7ecab48db1e0f25127460df1a726", kill_on_drop: false }` [INFO] [stdout] 6c0c41eee2e2e8ca18c4da054d467814c39b7ecab48db1e0f25127460df1a726