[INFO] fetching crate optimization_tools 0.1.0... [INFO] checking optimization_tools-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate optimization_tools 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate optimization_tools 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate optimization_tools 0.1.0 [INFO] finished tweaking crates.io crate optimization_tools 0.1.0 [INFO] tweaked toml for crates.io crate optimization_tools 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate optimization_tools 0.1.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] [stderr] Blocking waiting for file lock on package cache [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd05b2eb133a5bfce936751746517bd22d755e58ab78e9de0048d9bd7ac72167 [INFO] running `Command { std: "docker" "start" "-a" "bd05b2eb133a5bfce936751746517bd22d755e58ab78e9de0048d9bd7ac72167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd05b2eb133a5bfce936751746517bd22d755e58ab78e9de0048d9bd7ac72167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd05b2eb133a5bfce936751746517bd22d755e58ab78e9de0048d9bd7ac72167", kill_on_drop: false }` [INFO] [stdout] bd05b2eb133a5bfce936751746517bd22d755e58ab78e9de0048d9bd7ac72167 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7998969e2f92185ac9ef9176ac580b75238b34360b27e6996b96056e090192c [INFO] running `Command { std: "docker" "start" "-a" "a7998969e2f92185ac9ef9176ac580b75238b34360b27e6996b96056e090192c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling interval_adapter v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling iter_tools v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling derive_tools v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling macro_tools v0.2.0 [INFO] [stderr] Compiling macro_tools v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derive_tools_meta v0.6.0 [INFO] [stderr] Compiling derive_tools_meta v0.2.0 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling variadic_from v0.2.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling impls_index_meta v0.2.0 [INFO] [stderr] Checking impls_index v0.2.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling clone_dyn_meta v0.4.0 [INFO] [stderr] Compiling inspect_type v0.5.0 [INFO] [stderr] Compiling derive_tools v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking for_each v0.3.0 [INFO] [stderr] Checking literally v0.1.3 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Checking clone_dyn v0.4.0 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling derive_tools_meta v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling derive_tools v0.2.0 [INFO] [stderr] Compiling parse-display-derive v0.8.2 [INFO] [stderr] Compiling mod_interface_meta v0.3.0 [INFO] [stderr] Compiling mod_interface_meta v0.6.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking rand_seeder v0.2.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking mod_interface v0.4.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking meta_tools v0.5.0 [INFO] [stderr] Checking mod_interface v0.6.0 [INFO] [stderr] Checking deterministic_rand v0.4.0 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling test_tools v0.5.0 [INFO] [stderr] Checking type_constructor v0.1.19 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking implements v0.3.0 [INFO] [stderr] Checking is_slice v0.4.0 [INFO] [stderr] Checking winterval v0.1.5 [INFO] [stderr] Checking typing_tools v0.3.0 [INFO] [stderr] Checking error_tools v0.4.0 [INFO] [stderr] Checking diagnostics_tools v0.3.0 [INFO] [stderr] Checking mem_tools v0.1.1 [INFO] [stderr] Checking data_type v0.1.9 [INFO] [stderr] Checking parse-display v0.8.2 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking statrs v0.16.0 [INFO] [stderr] Checking optimization_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimization/mod.rs:416:28 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn mutate( &self, hrng : Hrng ) -> ( Reason, Option< Self > ) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | let rng_ref = hrng.rng_ref(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | let mut rng = rng_ref.lock().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | let generation = SudokuGeneration { initial, hrng, person, temperature, n_resets, n_generation }; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 415 | [INFO] [stdout] 416 | ( Reason::NotFinished, Some( generation ) ) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `optimization_tools` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimization/mod.rs:416:28 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn mutate( &self, hrng : Hrng ) -> ( Reason, Option< Self > ) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | let rng_ref = hrng.rng_ref(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | let mut rng = rng_ref.lock().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | let generation = SudokuGeneration { initial, hrng, person, temperature, n_resets, n_generation }; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 415 | [INFO] [stdout] 416 | ( Reason::NotFinished, Some( generation ) ) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `optimization_tools` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a7998969e2f92185ac9ef9176ac580b75238b34360b27e6996b96056e090192c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7998969e2f92185ac9ef9176ac580b75238b34360b27e6996b96056e090192c", kill_on_drop: false }` [INFO] [stdout] a7998969e2f92185ac9ef9176ac580b75238b34360b27e6996b96056e090192c