[INFO] fetching crate egobox-ego 0.22.0... [INFO] checking egobox-ego-0.22.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate egobox-ego 0.22.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate egobox-ego 0.22.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate egobox-ego 0.22.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate egobox-ego 0.22.0 [INFO] tweaked toml for crates.io crate egobox-ego 0.22.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate egobox-ego 0.22.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab7d00bdf32b492d3d0209d1be4c29f46ed6f8331d18bda5e8bc13a92ec29ee9 [INFO] running `Command { std: "docker" "start" "-a" "ab7d00bdf32b492d3d0209d1be4c29f46ed6f8331d18bda5e8bc13a92ec29ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab7d00bdf32b492d3d0209d1be4c29f46ed6f8331d18bda5e8bc13a92ec29ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7d00bdf32b492d3d0209d1be4c29f46ed6f8331d18bda5e8bc13a92ec29ee9", kill_on_drop: false }` [INFO] [stdout] ab7d00bdf32b492d3d0209d1be4c29f46ed6f8331d18bda5e8bc13a92ec29ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05ae4d311115e07acbb846ec2079fa154bb3bc58f157c61940f02a3a9c0e63fe [INFO] running `Command { std: "docker" "start" "-a" "05ae4d311115e07acbb846ec2079fa154bb3bc58f157c61940f02a3a9c0e63fe", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking order-stat v0.1.3 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking space v0.12.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking sdd v3.0.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking scc v2.1.16 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking kdtree v0.6.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking slsqp v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking argmin_testfunctions v0.2.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking linfa-linalg v0.1.0 [INFO] [stderr] Checking ndarray_einsum_beta v0.7.0 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking finitediff v0.1.4 [INFO] [stderr] Checking argmin-observer-slog v0.1.0 [INFO] [stderr] Checking cobyla v0.6.0 [INFO] [stderr] Checking linfa-pls v0.7.0 [INFO] [stderr] Checking egobox-doe v0.22.0 [INFO] [stderr] Checking linfa-nn v0.7.0 [INFO] [stderr] Checking linfa-clustering v0.7.0 [INFO] [stderr] Checking egobox-gp v0.22.0 [INFO] [stderr] Checking egobox-moe v0.22.0 [INFO] [stderr] Checking egobox-ego v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ndarray::ArrayBase, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/egor_service.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 132 | let x_data = to_continuous_space(xtypes, x_data); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let x = self.solver.suggest(&x_data, y_data); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | to_discrete_space(xtypes, &x).to_owned() [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: this value of type `std::result::Result<(egor_state::EgorState, types::InfillObjData, usize), errors::EgoError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/egor_solver.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 313 | state: EgorState, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | ) -> std::result::Result<(EgorState, Option), argmin::core::Error> { [INFO] [stdout] 315 | match self.ego_step(fobj, state.clone()) { [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: this value of type `ndarray::ArrayBase, ::Smaller>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sort_axis.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 104 | fn permute_axis(self, axis: Axis, perm: &Permutation) -> Array [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let mut result = Array::uninit(self.dim()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let source_0 = self.raw_view().index_axis_move(axis, 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: this value of type `ndarray::ArrayBase, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/egor_service.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 132 | let x_data = to_continuous_space(xtypes, x_data); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let x = self.solver.suggest(&x_data, y_data); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | to_discrete_space(xtypes, &x).to_owned() [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(egor_state::EgorState, types::InfillObjData, usize), errors::EgoError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/egor_solver.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 313 | state: EgorState, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | ) -> std::result::Result<(EgorState, Option), argmin::core::Error> { [INFO] [stdout] 315 | match self.ego_step(fobj, state.clone()) { [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] [stderr] error: could not compile `egobox-ego` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `ndarray::ArrayBase, ::Smaller>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sort_axis.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 104 | fn permute_axis(self, axis: Axis, perm: &Permutation) -> Array [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let mut result = Array::uninit(self.dim()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let source_0 = self.raw_view().index_axis_move(axis, 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `egobox-ego` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "05ae4d311115e07acbb846ec2079fa154bb3bc58f157c61940f02a3a9c0e63fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ae4d311115e07acbb846ec2079fa154bb3bc58f157c61940f02a3a9c0e63fe", kill_on_drop: false }` [INFO] [stdout] 05ae4d311115e07acbb846ec2079fa154bb3bc58f157c61940f02a3a9c0e63fe