[INFO] fetching crate sophus_sensor 0.8.0... [INFO] checking sophus_sensor-0.8.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sophus_sensor 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate sophus_sensor 0.8.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 sophus_sensor 0.8.0 [INFO] finished tweaking crates.io crate sophus_sensor 0.8.0 [INFO] tweaked toml for crates.io crate sophus_sensor 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding ndarray v0.15.6 (latest: v0.16.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c898054bc4599907554632cbd95374d22cbf4c67b51149ffee3a6190209c9d1c [INFO] running `Command { std: "docker" "start" "-a" "c898054bc4599907554632cbd95374d22cbf4c67b51149ffee3a6190209c9d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c898054bc4599907554632cbd95374d22cbf4c67b51149ffee3a6190209c9d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c898054bc4599907554632cbd95374d22cbf4c67b51149ffee3a6190209c9d1c", kill_on_drop: false }` [INFO] [stdout] c898054bc4599907554632cbd95374d22cbf4c67b51149ffee3a6190209c9d1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 26b10599995afdd2503e301326cb68670c793fc5b030ae83773bbed656080c45 [INFO] running `Command { std: "docker" "start" "-a" "26b10599995afdd2503e301326cb68670c793fc5b030ae83773bbed656080c45", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking assertables v7.0.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling concat-arrays v0.1.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking sophus_core v0.8.0 [INFO] [stderr] Checking sophus_image v0.8.0 [INFO] [stderr] Checking sophus_sensor v0.8.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/camera.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn cam_unproj_with_z(&self, point_in_camera: &S::Vector<2>, z: S) -> S::Vector<3> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Proj::unproj(&self.undistort(point_in_camera), z) [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/projections/orthographic.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 21 | fn unproj(point_in_camera: &S::Vector<2>, extension: S) -> S::Vector<3> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | S::Vector::<3>::from_array([ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 23 | | point_in_camera.get_elem(0), [INFO] [stdout] 24 | | point_in_camera.get_elem(1), [INFO] [stdout] 25 | | extension, [INFO] [stdout] 26 | | ]) [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/projections/perspective.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 20 | fn unproj(point_in_camera: &S::Vector<2>, extension: S) -> S::Vector<3> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | S::Vector::<3>::from_array([ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 22 | | point_in_camera.get_elem(0) * extension.clone(), [INFO] [stdout] 23 | | point_in_camera.get_elem(1) * extension.clone(), [INFO] [stdout] 24 | | extension, [INFO] [stdout] 25 | | ]) [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/distortions/kannala_brandt.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 40 | let k0 = params.get_elem(4); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let k1 = params.get_elem(5); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let k2 = params.get_elem(6); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let k3 = params.get_elem(7); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | let radius_sq = proj_point_in_camera_z1_plane.get_elem(0) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let radius = radius_sq.clone().sqrt(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let radius_inverse = S::from_f64(1.0) / radius.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let theta = radius.atan2(S::from_f64(1.0)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let theta2 = theta.clone() * theta.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let theta4 = theta2.clone() * theta2.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let theta6 = theta2.clone() * theta4.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let theta8 = theta4.clone() * theta4.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | let r_distorted = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | theta * (S::from_f64(1.0) + k0 * theta2 + k1 * theta4 + k2 * theta6 + k3 * theta8); [INFO] [stdout] 59 | let scaling = r_distorted * radius_inverse; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let near_zero = radius_sq.less_equal(&S::from_f64(1e-8)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | let scaling = S::ones().select(&near_zero, scaling); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | S::Vector::<2>::from_array([ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 66 | | scaling.clone() * proj_point_in_camera_z1_plane.get_elem(0) * params.get_elem(0) [INFO] [stdout] 67 | | + params.get_elem(2), [INFO] [stdout] 68 | | scaling * proj_point_in_camera_z1_plane.get_elem(1) * params.get_elem(1) [INFO] [stdout] 69 | | + params.get_elem(3), [INFO] [stdout] 70 | | ]) [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/distortions/kannala_brandt.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 74 | let fu = params.get_elem(0); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let fv = params.get_elem(1); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let u0 = params.get_elem(2); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let v0 = params.get_elem(3); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | let k0 = params.get_elem(4); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let k1 = params.get_elem(5); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let k2 = params.get_elem(6); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let k3 = params.get_elem(7); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | [INFO] [stdout] 84 | let un = (distorted_point.get_elem(0) - u0) / fu; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let vn = (distorted_point.get_elem(1) - v0) / fv; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let rth2 = un.clone() * un.clone() + vn.clone() * vn.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | let rth2_near_zero = rth2.less_equal(&S::from_f64(1e-8)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let point_z1_plane0 = S::Vector::<2>::from_array([un.clone(), vn.clone()]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | [INFO] [stdout] 91 | let rth = rth2.sqrt(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let mut th = rth.clone().sqrt(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let radius_undistorted = th.tan(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | [INFO] [stdout] 136 | let radius_undistorted_near_zero = radius_undistorted.less_equal(&S::from_f64(0.0)); [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | [INFO] [stdout] 138 | let sign = S::from_f64(-1.0).select(&radius_undistorted_near_zero, S::ones()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | / S::Vector::<2>::from_array([ [INFO] [stdout] 143 | | sign.clone() * radius_undistorted.clone() * un / rth.clone(), [INFO] [stdout] 144 | | sign * radius_undistorted * vn / rth, [INFO] [stdout] 145 | | ]), [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sophus_sensor` (lib) due to 6 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/camera.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn cam_unproj_with_z(&self, point_in_camera: &S::Vector<2>, z: S) -> S::Vector<3> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Proj::unproj(&self.undistort(point_in_camera), z) [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/projections/orthographic.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 21 | fn unproj(point_in_camera: &S::Vector<2>, extension: S) -> S::Vector<3> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | S::Vector::<3>::from_array([ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 23 | | point_in_camera.get_elem(0), [INFO] [stdout] 24 | | point_in_camera.get_elem(1), [INFO] [stdout] 25 | | extension, [INFO] [stdout] 26 | | ]) [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/projections/perspective.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 20 | fn unproj(point_in_camera: &S::Vector<2>, extension: S) -> S::Vector<3> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | S::Vector::<3>::from_array([ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 22 | | point_in_camera.get_elem(0) * extension.clone(), [INFO] [stdout] 23 | | point_in_camera.get_elem(1) * extension.clone(), [INFO] [stdout] 24 | | extension, [INFO] [stdout] 25 | | ]) [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/distortions/kannala_brandt.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 40 | let k0 = params.get_elem(4); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let k1 = params.get_elem(5); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let k2 = params.get_elem(6); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let k3 = params.get_elem(7); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | let radius_sq = proj_point_in_camera_z1_plane.get_elem(0) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let radius = radius_sq.clone().sqrt(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let radius_inverse = S::from_f64(1.0) / radius.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let theta = radius.atan2(S::from_f64(1.0)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let theta2 = theta.clone() * theta.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let theta4 = theta2.clone() * theta2.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let theta6 = theta2.clone() * theta4.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let theta8 = theta4.clone() * theta4.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | let r_distorted = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | theta * (S::from_f64(1.0) + k0 * theta2 + k1 * theta4 + k2 * theta6 + k3 * theta8); [INFO] [stdout] 59 | let scaling = r_distorted * radius_inverse; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let near_zero = radius_sq.less_equal(&S::from_f64(1e-8)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | let scaling = S::ones().select(&near_zero, scaling); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | S::Vector::<2>::from_array([ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 66 | | scaling.clone() * proj_point_in_camera_z1_plane.get_elem(0) * params.get_elem(0) [INFO] [stdout] 67 | | + params.get_elem(2), [INFO] [stdout] 68 | | scaling * proj_point_in_camera_z1_plane.get_elem(1) * params.get_elem(1) [INFO] [stdout] 69 | | + params.get_elem(3), [INFO] [stdout] 70 | | ]) [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/distortions/kannala_brandt.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 74 | let fu = params.get_elem(0); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let fv = params.get_elem(1); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let u0 = params.get_elem(2); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let v0 = params.get_elem(3); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | let k0 = params.get_elem(4); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let k1 = params.get_elem(5); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let k2 = params.get_elem(6); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let k3 = params.get_elem(7); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | [INFO] [stdout] 84 | let un = (distorted_point.get_elem(0) - u0) / fu; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let vn = (distorted_point.get_elem(1) - v0) / fv; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let rth2 = un.clone() * un.clone() + vn.clone() * vn.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | let rth2_near_zero = rth2.less_equal(&S::from_f64(1e-8)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let point_z1_plane0 = S::Vector::<2>::from_array([un.clone(), vn.clone()]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | [INFO] [stdout] 91 | let rth = rth2.sqrt(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let mut th = rth.clone().sqrt(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let radius_undistorted = th.tan(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | [INFO] [stdout] 136 | let radius_undistorted_near_zero = radius_undistorted.less_equal(&S::from_f64(0.0)); [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | [INFO] [stdout] 138 | let sign = S::from_f64(-1.0).select(&radius_undistorted_near_zero, S::ones()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | / S::Vector::<2>::from_array([ [INFO] [stdout] 143 | | sign.clone() * radius_undistorted.clone() * un / rth.clone(), [INFO] [stdout] 144 | | sign * radius_undistorted * vn / rth, [INFO] [stdout] 145 | | ]), [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sophus_sensor` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "26b10599995afdd2503e301326cb68670c793fc5b030ae83773bbed656080c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b10599995afdd2503e301326cb68670c793fc5b030ae83773bbed656080c45", kill_on_drop: false }` [INFO] [stdout] 26b10599995afdd2503e301326cb68670c793fc5b030ae83773bbed656080c45