[INFO] cloning repository https://github.com/kamilduda/mnist_classification [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamilduda/mnist_classification" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8aa45a1680583211e6fe203b342a6f181223ce25 [INFO] checking kamilduda/mnist_classification against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamilduda/mnist_classification on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamilduda/mnist_classification [INFO] finished tweaking git repo https://github.com/kamilduda/mnist_classification [INFO] tweaked toml for git repo https://github.com/kamilduda/mnist_classification written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kamilduda/mnist_classification 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded noisy_float v0.1.12 [INFO] [stderr] Downloaded ndarray-stats v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 633529d3f5546b7bd96d687b5b3210fcc69c80fcb05bb6560c8335569cc81325 [INFO] running `Command { std: "docker" "start" "-a" "633529d3f5546b7bd96d687b5b3210fcc69c80fcb05bb6560c8335569cc81325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "633529d3f5546b7bd96d687b5b3210fcc69c80fcb05bb6560c8335569cc81325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "633529d3f5546b7bd96d687b5b3210fcc69c80fcb05bb6560c8335569cc81325", kill_on_drop: false }` [INFO] [stdout] 633529d3f5546b7bd96d687b5b3210fcc69c80fcb05bb6560c8335569cc81325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3056b32733cb67cd7f3a9b096fe799eba2e21fa5347b15cd1d40e02829c603d [INFO] running `Command { std: "docker" "start" "-a" "e3056b32733cb67cd7f3a9b096fe799eba2e21fa5347b15cd1d40e02829c603d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking noisy_float v0.1.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ndarray-stats v0.3.0 [INFO] [stderr] Checking ndarray-rand v0.11.0 [INFO] [stderr] Checking mnist_classification v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `exp` is never used [INFO] [stdout] --> src/algebra/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Algebra { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn exp(array: &Array) -> Array [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prelude/mod.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut network = NeuralNetwork::new(&layers_sizes); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "e3056b32733cb67cd7f3a9b096fe799eba2e21fa5347b15cd1d40e02829c603d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3056b32733cb67cd7f3a9b096fe799eba2e21fa5347b15cd1d40e02829c603d", kill_on_drop: false }` [INFO] [stdout] e3056b32733cb67cd7f3a9b096fe799eba2e21fa5347b15cd1d40e02829c603d [INFO] checking kamilduda/mnist_classification against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification" "/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/kamilduda/mnist_classification on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamilduda/mnist_classification [INFO] finished tweaking git repo https://github.com/kamilduda/mnist_classification [INFO] tweaked toml for git repo https://github.com/kamilduda/mnist_classification written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kamilduda/mnist_classification 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699e30dff41e61542424080728c665c2d12f83850e88f7607546fa0c49f222d2 [INFO] running `Command { std: "docker" "start" "-a" "699e30dff41e61542424080728c665c2d12f83850e88f7607546fa0c49f222d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699e30dff41e61542424080728c665c2d12f83850e88f7607546fa0c49f222d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699e30dff41e61542424080728c665c2d12f83850e88f7607546fa0c49f222d2", kill_on_drop: false }` [INFO] [stdout] 699e30dff41e61542424080728c665c2d12f83850e88f7607546fa0c49f222d2 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ef479a1f68c752e84a9e1148c539adfafb9dd2095298b7af6d52c732a86df4 [INFO] running `Command { std: "docker" "start" "-a" "88ef479a1f68c752e84a9e1148c539adfafb9dd2095298b7af6d52c732a86df4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking noisy_float v0.1.12 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ndarray-stats v0.3.0 [INFO] [stderr] Checking ndarray-rand v0.11.0 [INFO] [stderr] Checking mnist_classification v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `exp` is never used [INFO] [stdout] --> src/algebra/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Algebra { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn exp(array: &Array) -> Array [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/infrastructure/mnist_loader/dataset.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(raw_label: u8, image: Array2, image_size: usize) -> MnistImage { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | label: MnistImage::vectorize(raw_label), [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/infrastructure/mnist_loader/file_reader/flat_file_reader.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let file = File::open(buf_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(BufReader::new(file)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/infrastructure/mnist_loader/file_reader/gz_file_reader.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let mnist_archive = File::open(buf_path)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(GzDecoder::new(mnist_archive)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/prelude/mod.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 72 | |acc, (weights, biases)| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Algebra::sigmoid(&(acc.dot(weights) + biases)) [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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mnist_classification` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prelude/mod.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut network = NeuralNetwork::new(&layers_sizes); [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] 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/infrastructure/mnist_loader/dataset.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(raw_label: u8, image: Array2, image_size: usize) -> MnistImage { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | label: MnistImage::vectorize(raw_label), [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/infrastructure/mnist_loader/file_reader/flat_file_reader.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let file = File::open(buf_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(BufReader::new(file)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/infrastructure/mnist_loader/file_reader/gz_file_reader.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let mnist_archive = File::open(buf_path)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(GzDecoder::new(mnist_archive)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/prelude/mod.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 72 | |acc, (weights, biases)| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Algebra::sigmoid(&(acc.dot(weights) + biases)) [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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mnist_classification` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "88ef479a1f68c752e84a9e1148c539adfafb9dd2095298b7af6d52c732a86df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ef479a1f68c752e84a9e1148c539adfafb9dd2095298b7af6d52c732a86df4", kill_on_drop: false }` [INFO] [stdout] 88ef479a1f68c752e84a9e1148c539adfafb9dd2095298b7af6d52c732a86df4