[INFO] cloning repository https://github.com/Incorrectish/rusty-network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Incorrectish/rusty-network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2Frusty-network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2Frusty-network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a50c4c2d948d2b46ed92906e34afa4acdae1ccd5 [INFO] checking Incorrectish/rusty-network/a50c4c2d948d2b46ed92906e34afa4acdae1ccd5 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%2FIncorrectish%2Frusty-network" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Incorrectish/rusty-network 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/Incorrectish/rusty-network [INFO] finished tweaking git repo https://github.com/Incorrectish/rusty-network [INFO] tweaked toml for git repo https://github.com/Incorrectish/rusty-network written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Incorrectish/rusty-network 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 72f5268f4b799536182ba6fbe950883c0823ff91046244e3b2b5d6c6ba945477 [INFO] running `Command { std: "docker" "start" "-a" "72f5268f4b799536182ba6fbe950883c0823ff91046244e3b2b5d6c6ba945477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f5268f4b799536182ba6fbe950883c0823ff91046244e3b2b5d6c6ba945477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f5268f4b799536182ba6fbe950883c0823ff91046244e3b2b5d6c6ba945477", kill_on_drop: false }` [INFO] [stdout] 72f5268f4b799536182ba6fbe950883c0823ff91046244e3b2b5d6c6ba945477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7e641b566518e8c7a2a10973285e831f4f914e5c6826445b00022f8c36d0c3a1 [INFO] running `Command { std: "docker" "start" "-a" "7e641b566518e8c7a2a10973285e831f4f914e5c6826445b00022f8c36d0c3a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking neural_net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::network::Network` [INFO] [stdout] --> src/feed_forward.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::network::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/feed_forward.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::network::reshape::wrap` [INFO] [stdout] --> src/network.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::network::reshape::wrap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::ArrayD` [INFO] [stdout] --> src/network.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::ArrayD; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/network.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_reader` [INFO] [stdout] --> src/network.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{from_reader, to_writer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/network.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::network::Network` [INFO] [stdout] --> src/feed_forward.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::network::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/feed_forward.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::network::reshape::wrap` [INFO] [stdout] --> src/network.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::network::reshape::wrap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_image::read_print_image` [INFO] [stdout] --> src/main.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{network::Network, read_image::read_print_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::ArrayD` [INFO] [stdout] --> src/network.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::ArrayD; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView2` and `Axis` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray::{Array2, ArrayView2, Axis}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/network.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_writer` [INFO] [stdout] --> src/main.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{from_reader, to_writer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_reader` [INFO] [stdout] --> src/network.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{from_reader, to_writer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/network.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_image::read_print_image` [INFO] [stdout] --> src/main.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{network::Network, read_image::read_print_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView2` and `Axis` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray::{Array2, ArrayView2, Axis}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_writer` [INFO] [stdout] --> src/main.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{from_reader, to_writer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/network.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/network.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/network.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/network.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_images` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn show_images(images: &[Array2], title_texts: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/network.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 370 | impl Reshaped { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 371 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap` is never used [INFO] [stdout] --> src/network.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn unwrap(input: Reshaped) -> Vec<(Array2, Array2)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_print_image` is never used [INFO] [stdout] --> src/read_image.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn read_print_image(path: &str) -> Result<(), Box> { [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/main.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 30 | let mut file = File::open(labels_filepath)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut file = File::open(images_filepath)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let images: Vec> = (0..image_count) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok((images, labels)) [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] | 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] | 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] = 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/main.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 79 | let (x_train, y_train) = self.read_images_labels( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok((x_train, y_train)) [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/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | let (x_test, y_test) = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | self.read_images_labels(&self.test_images_filepath, &self.test_labels_filepath)?; [INFO] [stdout] 89 | Ok((x_test, y_test)) [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/network.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 82 | let sigmoid_z = sigmoid(z); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | &sigmoid_z * (1.0 - &sigmoid_z) [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/network.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 102 | let biases: Vec> = layer_sizes[1..] [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let weights: Vec> = layer_sizes [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(Network { [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | num_layers: layer_sizes.len(), [INFO] [stdout] 118 | | sizes: layer_sizes, [INFO] [stdout] 119 | | weights, [INFO] [stdout] 120 | | biases, [INFO] [stdout] 121 | | }) [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] warning: function `show_images` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn show_images(images: &[Array2], title_texts: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/network.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 370 | impl Reshaped { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 371 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap` is never used [INFO] [stdout] --> src/network.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn unwrap(input: Reshaped) -> Vec<(Array2, Array2)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_print_image` is never used [INFO] [stdout] --> src/read_image.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn read_print_image(path: &str) -> Result<(), Box> { [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/network.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn reshape_testing_data(testing_data: Vec<(Array2, Array2)>) -> Reshaped { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | Reshaped::Reshaped( [INFO] [stdout] 396 | / testing_data [INFO] [stdout] 397 | | .into_par_iter() [INFO] [stdout] 398 | | .map(|(test, result)| { [INFO] [stdout] 399 | | let [num_rows, num_columns] = *test.shape() else { [INFO] [stdout] ... | [INFO] [stdout] 407 | | }) [INFO] [stdout] 408 | | .collect(), [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/main.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 30 | let mut file = File::open(labels_filepath)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut file = File::open(images_filepath)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let images: Vec> = (0..image_count) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok((images, labels)) [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] | 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] | 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] = 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/network.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 398 | .map(|(test, result)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 403 | / test.into_shape(((num_columns * num_rows), 1)) [INFO] [stdout] 404 | | .expect("Reshaping an n * m matrix into an n * m length vector"), [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/main.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 79 | let (x_train, y_train) = self.read_images_labels( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok((x_train, y_train)) [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/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | let (x_test, y_test) = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | self.read_images_labels(&self.test_images_filepath, &self.test_labels_filepath)?; [INFO] [stdout] 89 | Ok((x_test, y_test)) [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/network.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 82 | let sigmoid_z = sigmoid(z); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | &sigmoid_z * (1.0 - &sigmoid_z) [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/network.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 102 | let biases: Vec> = layer_sizes[1..] [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let weights: Vec> = layer_sizes [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(Network { [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | num_layers: layer_sizes.len(), [INFO] [stdout] 118 | | sizes: layer_sizes, [INFO] [stdout] 119 | | weights, [INFO] [stdout] 120 | | biases, [INFO] [stdout] 121 | | }) [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/network.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn reshape_testing_data(testing_data: Vec<(Array2, Array2)>) -> Reshaped { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | Reshaped::Reshaped( [INFO] [stdout] 396 | / testing_data [INFO] [stdout] 397 | | .into_par_iter() [INFO] [stdout] 398 | | .map(|(test, result)| { [INFO] [stdout] 399 | | let [num_rows, num_columns] = *test.shape() else { [INFO] [stdout] ... | [INFO] [stdout] 407 | | }) [INFO] [stdout] 408 | | .collect(), [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/network.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 398 | .map(|(test, result)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 403 | / test.into_shape(((num_columns * num_rows), 1)) [INFO] [stdout] 404 | | .expect("Reshaping an n * m matrix into an n * m length vector"), [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 7 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural_net` (bin "neural_net" test) due to 8 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `neural_net` (bin "neural_net") due to 8 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e641b566518e8c7a2a10973285e831f4f914e5c6826445b00022f8c36d0c3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e641b566518e8c7a2a10973285e831f4f914e5c6826445b00022f8c36d0c3a1", kill_on_drop: false }` [INFO] [stdout] 7e641b566518e8c7a2a10973285e831f4f914e5c6826445b00022f8c36d0c3a1