[INFO] cloning repository https://github.com/apuranik1/rust-robo-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apuranik1/rust-robo-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapuranik1%2Frust-robo-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapuranik1%2Frust-robo-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 093d70efcdbae8860b0fbd447f846878543cf00f [INFO] checking apuranik1/rust-robo-sim/093d70efcdbae8860b0fbd447f846878543cf00f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapuranik1%2Frust-robo-sim" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apuranik1/rust-robo-sim 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 git repo https://github.com/apuranik1/rust-robo-sim [INFO] finished tweaking git repo https://github.com/apuranik1/rust-robo-sim [INFO] tweaked toml for git repo https://github.com/apuranik1/rust-robo-sim written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/apuranik1/rust-robo-sim 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fff04662d442e3225f29e2fc66514b76b7b5913d00c73f0492c5e35f91ede6f3 [INFO] running `Command { std: "docker" "start" "-a" "fff04662d442e3225f29e2fc66514b76b7b5913d00c73f0492c5e35f91ede6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff04662d442e3225f29e2fc66514b76b7b5913d00c73f0492c5e35f91ede6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff04662d442e3225f29e2fc66514b76b7b5913d00c73f0492c5e35f91ede6f3", kill_on_drop: false }` [INFO] [stdout] fff04662d442e3225f29e2fc66514b76b7b5913d00c73f0492c5e35f91ede6f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8df888cacc3116f89ac8d7d6c0c63c6ad0b41e4e71e8cfd21b03f7bd191ff74a [INFO] running `Command { std: "docker" "start" "-a" "8df888cacc3116f89ac8d7d6c0c63c6ad0b41e4e71e8cfd21b03f7bd191ff74a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking dissimilar v1.0.3 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking expect-test v1.2.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking lapack-sys v0.12.1 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling openblas-build v0.1.1 [INFO] [stderr] Checking lapack v0.18.0 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Compiling openblas-src v0.10.4 [INFO] [stderr] Checking lax v0.2.0 [INFO] [stderr] Checking ndarray-linalg v0.14.1 [INFO] [stderr] Checking robotics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `mean` and `variance` are never read [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct FuzzyLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | mean: (f64, f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | variance: (f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuzzyLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `node_index`, and `edges` are never read [INFO] [stdout] --> src/graph.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SimpleGraph { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | nodes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | node_index: HashMap, usize>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | edges: Vec>, [INFO] [stdout] | ^^^^^ [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/graph.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|(a, b)| (b.clone(), a)) [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/kalman.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 34 | let obs_cov = &d.cov + c.dot(&self.cov).dot(&c.t()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let obs_res = &d.mean - c.dot(&self.mean); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let obs_precision = obs_cov.inv()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let gain = self.cov.dot(&c.t()).dot(&obs_precision); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let post_mean = &self.mean + gain.dot(&obs_res); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let post_cov = (Array2::eye(dim) - gain.dot(c)).dot(&self.cov); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Ok(GaussianBelief { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | mean: post_mean, [INFO] [stdout] 42 | | cov: post_cov, [INFO] [stdout] 43 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `robotics` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `mean` and `variance` are never read [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct FuzzyLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | mean: (f64, f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | variance: (f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuzzyLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `node_index`, and `edges` are never read [INFO] [stdout] --> src/graph.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SimpleGraph { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | nodes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | node_index: HashMap, usize>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | edges: Vec>, [INFO] [stdout] | ^^^^^ [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/graph.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|(a, b)| (b.clone(), a)) [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/kalman.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 34 | let obs_cov = &d.cov + c.dot(&self.cov).dot(&c.t()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let obs_res = &d.mean - c.dot(&self.mean); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let obs_precision = obs_cov.inv()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let gain = self.cov.dot(&c.t()).dot(&obs_precision); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let post_mean = &self.mean + gain.dot(&obs_res); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let post_cov = (Array2::eye(dim) - gain.dot(c)).dot(&self.cov); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Ok(GaussianBelief { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | mean: post_mean, [INFO] [stdout] 42 | | cov: post_cov, [INFO] [stdout] 43 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `robotics` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8df888cacc3116f89ac8d7d6c0c63c6ad0b41e4e71e8cfd21b03f7bd191ff74a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df888cacc3116f89ac8d7d6c0c63c6ad0b41e4e71e8cfd21b03f7bd191ff74a", kill_on_drop: false }` [INFO] [stdout] 8df888cacc3116f89ac8d7d6c0c63c6ad0b41e4e71e8cfd21b03f7bd191ff74a