[INFO] cloning repository https://github.com/arremoEngervetl/app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arremoEngervetl/app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FarremoEngervetl%2Fapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FarremoEngervetl%2Fapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 401841d6f6aaaa136b6a038d261e93b16fb6dc22 [INFO] checking arremoEngervetl/app/401841d6f6aaaa136b6a038d261e93b16fb6dc22 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%2FarremoEngervetl%2Fapp" "/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/arremoEngervetl/app 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/arremoEngervetl/app [INFO] finished tweaking git repo https://github.com/arremoEngervetl/app [INFO] tweaked toml for git repo https://github.com/arremoEngervetl/app written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arremoEngervetl/app 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] e573ed8ce32e5237eb55867e46e8948e68168a1a788a8ab816a1e3b5d3956675 [INFO] running `Command { std: "docker" "start" "-a" "e573ed8ce32e5237eb55867e46e8948e68168a1a788a8ab816a1e3b5d3956675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e573ed8ce32e5237eb55867e46e8948e68168a1a788a8ab816a1e3b5d3956675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e573ed8ce32e5237eb55867e46e8948e68168a1a788a8ab816a1e3b5d3956675", kill_on_drop: false }` [INFO] [stdout] e573ed8ce32e5237eb55867e46e8948e68168a1a788a8ab816a1e3b5d3956675 [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] 8f8a50a79e9d65be09783c34d2366e3cd34b0433a372cfa01a8f7270f8814cea [INFO] running `Command { std: "docker" "start" "-a" "8f8a50a79e9d65be09783c34d2366e3cd34b0433a372cfa01a8f7270f8814cea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking base64-compat v1.0.0 [INFO] [stderr] Checking ffi-opaque v2.0.1 [INFO] [stderr] Checking bytemuck v1.11.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling secp256k1-sys v0.6.0 [INFO] [stderr] Compiling bitcoinconsensus v0.20.2-0.5.0 [INFO] [stderr] Compiling leveldb-sys v2.0.9 [INFO] [stderr] Compiling turbojpeg-sys v0.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking jpeg-encoder v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking rusty-leveldb v1.0.3 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking fid-rs v0.1.1 [INFO] [stderr] Checking louds-rs v0.4.0 [INFO] [stderr] Checking trie-rs v0.1.1 [INFO] [stderr] Checking tiff v0.7.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking native-dialog v0.6.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.5.1 [INFO] [stderr] Checking image v0.24.4 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking turbojpeg v0.5.2 [INFO] [stderr] Checking jsonrpc v0.12.1 [INFO] [stderr] Checking secp256k1 v0.24.0 [INFO] [stderr] Checking bitcoin v0.29.1 [INFO] [stderr] Checking rs-leveldb v0.1.5 [INFO] [stderr] Checking bitcoincore-rpc-json v0.16.0 [INFO] [stderr] Checking bitcoincore-rpc v0.16.0 [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `turbojpeg` [INFO] [stdout] --> src/image_compressor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use turbojpeg; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/huffman_coding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/huffman_coding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/huffman_coding.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `turbojpeg` [INFO] [stdout] --> src/image_compressor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use turbojpeg; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/huffman_coding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/huffman_coding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/huffman_coding.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_compressor.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | let mut buffer = File::create("dog2-2.jpeg")?; [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: `i` [INFO] [stdout] --> src/huffman_coding.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | for i in byte_string.len()..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/huffman_coding.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | for x in 0..symbol_count[i] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/huffman_coding.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | for y in int.len()..i { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `huffman_table` [INFO] [stdout] --> src/huffman_coding.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn huffman_decode(huffman_table: &Vec, data: &Vec) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_huffman_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/huffman_coding.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn huffman_decode(huffman_table: &Vec, data: &Vec) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/huffman_coding.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | impl Leaf { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn new() -> Leaf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/image_compressor.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | jpeg_encoder.encode(img.as_bytes(), img.width(), img.height(), image::ColorType::Rgb8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = jpeg_encoder.encode(img.as_bytes(), img.width(), img.height(), image::ColorType::Rgb8); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `True` should have a snake case name [INFO] [stdout] --> src/image_compressor.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut True = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 40 | let mut r#true = 0; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `False` should have a snake case name [INFO] [stdout] --> src/image_compressor.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut False = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 41 | let mut r#false = 0; [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/huffman_coding.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(left: Either, right: Either) -> Node { [INFO] [stdout] | ------------------------ ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Node { [INFO] [stdout] 39 | left: Box::new(left.clone()), [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/huffman_coding.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(left: Either, right: Either) -> Node { [INFO] [stdout] | ------------------------ ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | right: Box::new(right.clone()), [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 2 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (lib) due to 3 previous errors; 14 warnings 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/image_compressor.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | let mut buffer = File::create("dog2-2.jpeg")?; [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: `i` [INFO] [stdout] --> src/huffman_coding.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | for i in byte_string.len()..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/huffman_coding.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | for x in 0..symbol_count[i] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/huffman_coding.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | for y in int.len()..i { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `huffman_table` [INFO] [stdout] --> src/huffman_coding.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn huffman_decode(huffman_table: &Vec, data: &Vec) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_huffman_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/huffman_coding.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn huffman_decode(huffman_table: &Vec, data: &Vec) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/huffman_coding.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | impl Leaf { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn new() -> Leaf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/image_compressor.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | jpeg_encoder.encode(img.as_bytes(), img.width(), img.height(), image::ColorType::Rgb8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = jpeg_encoder.encode(img.as_bytes(), img.width(), img.height(), image::ColorType::Rgb8); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `True` should have a snake case name [INFO] [stdout] --> src/image_compressor.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut True = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 40 | let mut r#true = 0; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `False` should have a snake case name [INFO] [stdout] --> src/image_compressor.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut False = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 41 | let mut r#false = 0; [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/huffman_coding.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(left: Either, right: Either) -> Node { [INFO] [stdout] | ------------------------ ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Node { [INFO] [stdout] 39 | left: Box::new(left.clone()), [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/huffman_coding.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(left: Either, right: Either) -> Node { [INFO] [stdout] | ------------------------ ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | right: Box::new(right.clone()), [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 2 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (lib test) due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f8a50a79e9d65be09783c34d2366e3cd34b0433a372cfa01a8f7270f8814cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8a50a79e9d65be09783c34d2366e3cd34b0433a372cfa01a8f7270f8814cea", kill_on_drop: false }` [INFO] [stdout] 8f8a50a79e9d65be09783c34d2366e3cd34b0433a372cfa01a8f7270f8814cea