[INFO] cloning repository https://github.com/LucasianProfessor/tinycnn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucasianProfessor/tinycnn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasianProfessor%2Ftinycnn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasianProfessor%2Ftinycnn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80cd049987770607bf72b9b222f2120739c249d8 [INFO] checking LucasianProfessor/tinycnn/80cd049987770607bf72b9b222f2120739c249d8 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%2FLucasianProfessor%2Ftinycnn" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasianProfessor/tinycnn 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/LucasianProfessor/tinycnn [INFO] finished tweaking git repo https://github.com/LucasianProfessor/tinycnn [INFO] tweaked toml for git repo https://github.com/LucasianProfessor/tinycnn written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LucasianProfessor/tinycnn 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-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] b76cb9292848d77b53024b9a8c684083f3201629e6a7b6d5c802275fc9fd0376 [INFO] running `Command { std: "docker" "start" "-a" "b76cb9292848d77b53024b9a8c684083f3201629e6a7b6d5c802275fc9fd0376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b76cb9292848d77b53024b9a8c684083f3201629e6a7b6d5c802275fc9fd0376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76cb9292848d77b53024b9a8c684083f3201629e6a7b6d5c802275fc9fd0376", kill_on_drop: false }` [INFO] [stdout] b76cb9292848d77b53024b9a8c684083f3201629e6a7b6d5c802275fc9fd0376 [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] 236fa22c440aba830eb550d2a74e90157354f9dd30f6ced4457ce8f443762daa [INFO] running `Command { std: "docker" "start" "-a" "236fa22c440aba830eb550d2a74e90157354f9dd30f6ced4457ce8f443762daa", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking mnist v0.4.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [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] Checking num-complex v0.4.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking tinycnn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `validation` and `testing` are never read [INFO] [stdout] --> src/mnist_wrapper.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TinyMNIST { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub training: (Array3, Array2), [INFO] [stdout] 7 | pub validation: (Array3, Array2), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub testing: (Array3, Array2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/layers/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | let a = real * pred.map(|x| x.ln()) + (-real + 1.) * (-pred + 1.).map(|x| x.ln()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | (-a).mean().unwrap() [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/layers/conv_layer.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 62 | let mut kernels_deriv = Array::::zeros(self.kernels.raw_dim()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut input_deriv = Array::zeros(self.inputshape.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let deltas = vec![ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | (input_deriv.into_dyn(), deltas) [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/layers/dense_layer.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | let input = input.clone().into_dimensionality::().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | (self.weights.dot(&input) + &self.biases).into_dyn() [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/layers/dense_layer.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 37 | let output_derivatives = output_derivatives.clone().into_dimensionality::().unwrap(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let previnput = previnput.clone().into_dimensionality::().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let weights_deriv: Array2 = output_derivatives.dot(&previnput.t()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let deltas = vec![ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | (self.weights.t().dot(&output_derivatives).into_dyn(), deltas) [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/layers/sigmoid_layer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | let a: ArrayD = previnput.map(|x| sigmoid_derivative(*x)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ((output_derivatives * a).into_dyn(), vec![]) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinycnn` (bin "tinycnn" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `validation` and `testing` are never read [INFO] [stdout] --> src/mnist_wrapper.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TinyMNIST { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub training: (Array3, Array2), [INFO] [stdout] 7 | pub validation: (Array3, Array2), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub testing: (Array3, Array2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/layers/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | let a = real * pred.map(|x| x.ln()) + (-real + 1.) * (-pred + 1.).map(|x| x.ln()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | (-a).mean().unwrap() [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/layers/conv_layer.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 62 | let mut kernels_deriv = Array::::zeros(self.kernels.raw_dim()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut input_deriv = Array::zeros(self.inputshape.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let deltas = vec![ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | (input_deriv.into_dyn(), deltas) [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/layers/dense_layer.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | let input = input.clone().into_dimensionality::().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | (self.weights.dot(&input) + &self.biases).into_dyn() [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/layers/dense_layer.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 37 | let output_derivatives = output_derivatives.clone().into_dimensionality::().unwrap(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let previnput = previnput.clone().into_dimensionality::().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let weights_deriv: Array2 = output_derivatives.dot(&previnput.t()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let deltas = vec![ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | (self.weights.t().dot(&output_derivatives).into_dyn(), deltas) [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/layers/sigmoid_layer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | let a: ArrayD = previnput.map(|x| sigmoid_derivative(*x)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ((output_derivatives * a).into_dyn(), vec![]) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinycnn` (bin "tinycnn") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "236fa22c440aba830eb550d2a74e90157354f9dd30f6ced4457ce8f443762daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236fa22c440aba830eb550d2a74e90157354f9dd30f6ced4457ce8f443762daa", kill_on_drop: false }` [INFO] [stdout] 236fa22c440aba830eb550d2a74e90157354f9dd30f6ced4457ce8f443762daa