[INFO] fetching crate cursed-linalg 0.0.1-alpha.1... [INFO] checking cursed-linalg-0.0.1-alpha.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cursed-linalg 0.0.1-alpha.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cursed-linalg 0.0.1-alpha.1 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 cursed-linalg 0.0.1-alpha.1 [INFO] finished tweaking crates.io crate cursed-linalg 0.0.1-alpha.1 [INFO] tweaked toml for crates.io crate cursed-linalg 0.0.1-alpha.1 written to /workspace/builds/worker-6-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 34 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding miette v3.3.0 (latest: v7.2.0) [INFO] [stderr] Adding miette-derive v3.3.0 (latest: v7.2.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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a2b7a9138fea122f40a3b335c089959f6a75c7da8357c754e7255c7a4488948 [INFO] running `Command { std: "docker" "start" "-a" "7a2b7a9138fea122f40a3b335c089959f6a75c7da8357c754e7255c7a4488948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a2b7a9138fea122f40a3b335c089959f6a75c7da8357c754e7255c7a4488948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2b7a9138fea122f40a3b335c089959f6a75c7da8357c754e7255c7a4488948", kill_on_drop: false }` [INFO] [stdout] 7a2b7a9138fea122f40a3b335c089959f6a75c7da8357c754e7255c7a4488948 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c5a5dc76d6f751d15185f3410191f5d074189f521abaff3537137038e4e90ab [INFO] running `Command { std: "docker" "start" "-a" "2c5a5dc76d6f751d15185f3410191f5d074189f521abaff3537137038e4e90ab", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling miette-derive v3.3.0 [INFO] [stderr] Checking miette v3.3.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking cursed-linalg v0.0.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decompositions/lu.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut factors = &mut (*self).to_owned(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/decompositions/lu.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | fn solve_vector(&self, rhs: &ArrayBase) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lower_triangular` and `upper_triangular` are never used [INFO] [stdout] --> src/array_ext.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait MatrixExt [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | fn lower_triangular(&self) -> Self::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | fn upper_triangular(&self) -> Self::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/decompositions/lu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LU [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/decompositions/lu.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait LUDecomposable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | type Elem: Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | type Repr: Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | type OwnedRepr: Data + RawData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | type Output: LUDecomposition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | type Error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/decompositions/lu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn lu(&self) -> Result; [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/decompositions/lu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 52 | let mut pivots: Array1<_> = (0..n_rows).collect::>().into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | Ok(LU { [INFO] [stdout] | ____________^ [INFO] [stdout] 93 | | factors: factors.clone(), [INFO] [stdout] 94 | | pivots, [INFO] [stdout] 95 | | }) [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] warning: missing documentation for a trait [INFO] [stdout] --> src/decompositions/lu.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait LUDecomposition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | type Error: std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | type VectorSolution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/decompositions/lu.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | type MatrixSolution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/decompositions/lu.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | fn order(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/decompositions/lu.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | fn solve_vector(&self, rhs: &ArrayBase) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/decompositions/lu.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn solve_matrix(&self, rhs: &ArrayBase) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decompositions/lu.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut factors = &mut (*self).to_owned(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cursed-linalg` (lib) due to 2 previous errors; 18 warnings emitted [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/decompositions/lu.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | fn solve_vector(&self, rhs: &ArrayBase) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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/decompositions/lu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 52 | let mut pivots: Array1<_> = (0..n_rows).collect::>().into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | Ok(LU { [INFO] [stdout] | ____________^ [INFO] [stdout] 93 | | factors: factors.clone(), [INFO] [stdout] 94 | | pivots, [INFO] [stdout] 95 | | }) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cursed-linalg` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c5a5dc76d6f751d15185f3410191f5d074189f521abaff3537137038e4e90ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5a5dc76d6f751d15185f3410191f5d074189f521abaff3537137038e4e90ab", kill_on_drop: false }` [INFO] [stdout] 2c5a5dc76d6f751d15185f3410191f5d074189f521abaff3537137038e4e90ab