[INFO] cloning repository https://github.com/arlept/mtklogo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arlept/mtklogo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlept%2Fmtklogo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlept%2Fmtklogo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e97f51944be9f6dbafff5b1d619341e1fa97dc4c [INFO] checking arlept/mtklogo/e97f51944be9f6dbafff5b1d619341e1fa97dc4c 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%2Farlept%2Fmtklogo" "/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/arlept/mtklogo 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/arlept/mtklogo [INFO] finished tweaking git repo https://github.com/arlept/mtklogo [INFO] tweaked toml for git repo https://github.com/arlept/mtklogo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arlept/mtklogo 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: package.maintenance [INFO] [stderr] warning: unused manifest key: package.respository [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] dad8ed9b9cf77a5680e7e95cf6f6a0deedbc31eb17118ade015ba1f897cdeb26 [INFO] running `Command { std: "docker" "start" "-a" "dad8ed9b9cf77a5680e7e95cf6f6a0deedbc31eb17118ade015ba1f897cdeb26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dad8ed9b9cf77a5680e7e95cf6f6a0deedbc31eb17118ade015ba1f897cdeb26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dad8ed9b9cf77a5680e7e95cf6f6a0deedbc31eb17118ade015ba1f897cdeb26", kill_on_drop: false }` [INFO] [stdout] dad8ed9b9cf77a5680e7e95cf6f6a0deedbc31eb17118ade015ba1f897cdeb26 [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] 3dce96a79534d9cca983a3137db4facf80ef34c1627b73fbdd53e4bcfd0e6940 [INFO] running `Command { std: "docker" "start" "-a" "3dce96a79534d9cca983a3137db4facf80ef34c1627b73fbdd53e4bcfd0e6940", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: package.maintenance [INFO] [stderr] warning: unused manifest key: package.respository [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Checking mtklogo v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/image.rs:89:85 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn rgba_to_bgra(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - pub fn rgba_to_bgra(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] 89 + pub fn rgba_to_bgra(mut reader: R, w: u32, h: u32) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/image.rs:101:71 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn u32be_to_u32le(mut reader: R, words: usize) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - pub fn u32be_to_u32le(mut reader: R, words: usize) -> Result<(Vec)> { [INFO] [stdout] 101 + pub fn u32be_to_u32le(mut reader: R, words: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/image.rs:112:87 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn rgba_to_rgb565(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - pub fn rgba_to_rgb565(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] 112 + pub fn rgba_to_rgb565(mut reader: R, w: u32, h: u32) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/mod.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn load_raw(mut reader: R) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub fn load_raw(mut reader: R) -> Result<(Vec)> { [INFO] [stdout] 20 + pub fn load_raw(mut reader: R) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/image.rs:89:85 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn rgba_to_bgra(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - pub fn rgba_to_bgra(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] 89 + pub fn rgba_to_bgra(mut reader: R, w: u32, h: u32) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/image.rs:101:71 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn u32be_to_u32le(mut reader: R, words: usize) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - pub fn u32be_to_u32le(mut reader: R, words: usize) -> Result<(Vec)> { [INFO] [stdout] 101 + pub fn u32be_to_u32le(mut reader: R, words: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/image.rs:112:87 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn rgba_to_rgb565(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - pub fn rgba_to_rgb565(mut reader: R, w: u32, h: u32) -> Result<(Vec)> { [INFO] [stdout] 112 + pub fn rgba_to_rgb565(mut reader: R, w: u32, h: u32) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/mod.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn load_raw(mut reader: R) -> Result<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub fn load_raw(mut reader: R) -> Result<(Vec)> { [INFO] [stdout] 20 + pub fn load_raw(mut reader: R) -> Result> { [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/lib.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | || Err(IOError::new(ErrorKind::InvalidInput, "cannot find '_id_' token")), [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/utils/image.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_png(&self, reader: R) -> Result<(Vec, u32, u32)> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let (rgba, w, h) = png_to_rgba(reader)?; [INFO] [stdout] 16 | self.rgba_to_device(&rgba as &[u8], w, h).map(|data| (data, w, h)) [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/image.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(rgba.clone())), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/image.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(device.clone())), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [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/utils/image.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn rgba_to_png(writer: W, data: &[u8], w: u32, h: u32) -> Result<()> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let mut encoder = png::Encoder::new(writer, w, h); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | encoder.set(png::ColorType::RGBA).set(png::BitDepth::Eight); [INFO] [stdout] 84 | let mut png_writer = encoder.write_header()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | png_writer.write_image_data(&data).map_err(|e| IOError::new(ErrorKind::InvalidData, e.to_string())) [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/utils/z_lib_flate2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | let mut decoder = ZlibDecoder::new(data); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let mut uncompressed = Vec::new(); [INFO] [stdout] 13 | decoder.read_to_end(&mut uncompressed).map(|_sz| uncompressed) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mtklogo` (lib) due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | || Err(IOError::new(ErrorKind::InvalidInput, "cannot find '_id_' token")), [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/utils/image.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_png(&self, reader: R) -> Result<(Vec, u32, u32)> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let (rgba, w, h) = png_to_rgba(reader)?; [INFO] [stdout] 16 | self.rgba_to_device(&rgba as &[u8], w, h).map(|data| (data, w, h)) [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/image.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(rgba.clone())), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/image.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(device.clone())), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [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/utils/image.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn rgba_to_png(writer: W, data: &[u8], w: u32, h: u32) -> Result<()> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let mut encoder = png::Encoder::new(writer, w, h); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | encoder.set(png::ColorType::RGBA).set(png::BitDepth::Eight); [INFO] [stdout] 84 | let mut png_writer = encoder.write_header()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | png_writer.write_image_data(&data).map_err(|e| IOError::new(ErrorKind::InvalidData, e.to_string())) [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/utils/z_lib_flate2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | let mut decoder = ZlibDecoder::new(data); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let mut uncompressed = Vec::new(); [INFO] [stdout] 13 | decoder.read_to_end(&mut uncompressed).map(|_sz| uncompressed) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mtklogo` (lib test) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3dce96a79534d9cca983a3137db4facf80ef34c1627b73fbdd53e4bcfd0e6940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dce96a79534d9cca983a3137db4facf80ef34c1627b73fbdd53e4bcfd0e6940", kill_on_drop: false }` [INFO] [stdout] 3dce96a79534d9cca983a3137db4facf80ef34c1627b73fbdd53e4bcfd0e6940