[INFO] cloning repository https://github.com/D3PSI/synap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/D3PSI/synap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD3PSI%2Fsynap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD3PSI%2Fsynap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2afc609d01ea67ed3abcb003e9c46f2d5f0bc4af [INFO] checking D3PSI/synap/2afc609d01ea67ed3abcb003e9c46f2d5f0bc4af 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%2FD3PSI%2Fsynap" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/D3PSI/synap 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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/D3PSI/synap [INFO] finished tweaking git repo https://github.com/D3PSI/synap [INFO] tweaked toml for git repo https://github.com/D3PSI/synap written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/D3PSI/synap 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a2ec16dc1140a225c6e47b875b16f36081179e5028be8b71437c340d45e3cd58 [INFO] running `Command { std: "docker" "start" "-a" "a2ec16dc1140a225c6e47b875b16f36081179e5028be8b71437c340d45e3cd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2ec16dc1140a225c6e47b875b16f36081179e5028be8b71437c340d45e3cd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ec16dc1140a225c6e47b875b16f36081179e5028be8b71437c340d45e3cd58", kill_on_drop: false }` [INFO] [stdout] a2ec16dc1140a225c6e47b875b16f36081179e5028be8b71437c340d45e3cd58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ebdc2840e472b8ffc24608853a638f1b1315cddcb05c1b92fc4adbeec171ddff [INFO] running `Command { std: "docker" "start" "-a" "ebdc2840e472b8ffc24608853a638f1b1315cddcb05c1b92fc4adbeec171ddff", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking synap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::nn::*` [INFO] [stdout] --> src/nn/nn.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::nn::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn lu_decomp_naive>(matrix: &Matrix) -> (Matrix, Matrix) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn qr_decomp_naive>(matrix: &Matrix) -> (Matrix, Matrix) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn det_naive>(matrix: &Matrix) -> T { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn rank_naive>(matrix: &Matrix) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn gram_schmidt>(matrix: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lu_decomposition`, `qr_decomposition`, `is_orthogonal`, `is_normal`, `is_orthonormal`, and `is_unitary` are never read [INFO] [stdout] --> src/algebra/matrix.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Matrix> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | lu_decomposition: Option<(MatrixLink, MatrixLink)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | qr_decomposition: Option<(MatrixLink, MatrixLink)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | is_orthogonal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | is_normal: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | is_orthonormal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | is_unitary: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` 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: struct `Nn` is never constructed [INFO] [stdout] --> src/nn/nn.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Nn {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nn/nn.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Nn { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 4 | pub fn new() -> Nn { [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/algebra/matrix.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 548 | let transpose = self.transpose(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 549 | -transpose == *self [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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `synap` (lib) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn lu_decomp_naive>(matrix: &Matrix) -> (Matrix, Matrix) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn qr_decomp_naive>(matrix: &Matrix) -> (Matrix, Matrix) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn det_naive>(matrix: &Matrix) -> T { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn rank_naive>(matrix: &Matrix) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/algebra/algorithms.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn gram_schmidt>(matrix: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lu_decomposition`, `qr_decomposition`, `is_orthogonal`, `is_normal`, `is_orthonormal`, and `is_unitary` are never read [INFO] [stdout] --> src/algebra/matrix.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Matrix> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | lu_decomposition: Option<(MatrixLink, MatrixLink)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | qr_decomposition: Option<(MatrixLink, MatrixLink)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | is_orthogonal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | is_normal: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | is_orthonormal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | is_unitary: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` 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: struct `Nn` is never constructed [INFO] [stdout] --> src/nn/nn.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Nn {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nn/nn.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Nn { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 4 | pub fn new() -> Nn { [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/algebra/matrix.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 548 | let transpose = self.transpose(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 549 | -transpose == *self [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] [stderr] error: could not compile `synap` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebdc2840e472b8ffc24608853a638f1b1315cddcb05c1b92fc4adbeec171ddff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebdc2840e472b8ffc24608853a638f1b1315cddcb05c1b92fc4adbeec171ddff", kill_on_drop: false }` [INFO] [stdout] ebdc2840e472b8ffc24608853a638f1b1315cddcb05c1b92fc4adbeec171ddff