[INFO] cloning repository https://github.com/bsodmike/owned-transform-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bsodmike/owned-transform-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsodmike%2Fowned-transform-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsodmike%2Fowned-transform-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f11643938d0a0da9c1f38bbb9ecf32f7895befa2 [INFO] checking bsodmike/owned-transform-rs/f11643938d0a0da9c1f38bbb9ecf32f7895befa2 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%2Fbsodmike%2Fowned-transform-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsodmike/owned-transform-rs 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/bsodmike/owned-transform-rs [INFO] finished tweaking git repo https://github.com/bsodmike/owned-transform-rs [INFO] tweaked toml for git repo https://github.com/bsodmike/owned-transform-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bsodmike/owned-transform-rs 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1709fc7df8372039ba84203cbc712e41653f6edc6a92ae6e0c126b38ef2c0ef6 [INFO] running `Command { std: "docker" "start" "-a" "1709fc7df8372039ba84203cbc712e41653f6edc6a92ae6e0c126b38ef2c0ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1709fc7df8372039ba84203cbc712e41653f6edc6a92ae6e0c126b38ef2c0ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1709fc7df8372039ba84203cbc712e41653f6edc6a92ae6e0c126b38ef2c0ef6", kill_on_drop: false }` [INFO] [stdout] 1709fc7df8372039ba84203cbc712e41653f6edc6a92ae6e0c126b38ef2c0ef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 63e5205e620ff988b5dfa2274d5d7690747ef0c732fd1ee328b8ebb7e0d20cd8 [INFO] running `Command { std: "docker" "start" "-a" "63e5205e620ff988b5dfa2274d5d7690747ef0c732fd1ee328b8ebb7e0d20cd8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling rustix v0.36.5 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.9 (https://github.com/rust-embedded/embedded-hal#812471bf) [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking embedded-graphics-core v0.3.3 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Checking is-terminal v0.4.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking owned-transform v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{any, convert::Infallible, error}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{fmt::Debug, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/serial.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{any, convert::Infallible, error}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{fmt::Debug, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/serial.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flushable` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use graphics::{Flushable, OwnedDrawTargetExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flushable` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use graphics::{Flushable, OwnedDrawTargetExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/serial.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(mut transformer: T) -> Self { [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: `address` [INFO] [stdout] --> src/serial.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | fn write(&mut self, address: u8, bytes: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | fn write(&mut self, address: u8, bytes: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn write_iter(&mut self, address: u8, bytes: B) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | fn write_iter(&mut self, address: u8, bytes: B) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | bytes: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/serial.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | bytes: B, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/serial.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/serial.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | operations: &mut [embedded_hal::i2c::Operation<'a>], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn transaction_iter<'a, O>(&mut self, address: u8, operations: O) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/serial.rs:124:56 [INFO] [stdout] | [INFO] [stdout] 124 | fn transaction_iter<'a, O>(&mut self, address: u8, operations: O) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | fn read(&mut self, address: u8, buffer: &mut [u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | fn read(&mut self, address: u8, buffer: &mut [u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | fn write(&mut self, address: u8, bytes: &[u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | fn write(&mut self, address: u8, bytes: &[u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | fn write_iter(&mut self, address: u8, bytes: B) -> std::result::Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | fn write_iter(&mut self, address: u8, bytes: B) -> std::result::Result<(), Self::Error> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | bytes: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | bytes: B, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | operations: &mut [embedded_hal::i2c::Operation<'a>], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | operations: O, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/serial.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(mut transformer: T) -> Self { [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: `address` [INFO] [stdout] --> src/serial.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | fn write(&mut self, address: u8, bytes: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | fn write(&mut self, address: u8, bytes: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn write_iter(&mut self, address: u8, bytes: B) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommError` is never constructed [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct CommError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iface` is never read [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct ExampleDevice { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | iface: I2C, [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:120:20 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn new(error: impl Into) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Self { [INFO] [stdout] 120 | inner: error.into(), [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/graphics.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 180 | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | self.0.transform().draw_iter(pixels) [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/graphics.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 187 | fn fill_contiguous(&mut self, area: &Rectangle, colors: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | self.0.transform().fill_contiguous(area, colors) [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/graphics.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 727 | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 735 | / pixels [INFO] [stdout] 736 | | .into_iter() [INFO] [stdout] 737 | | .map(|pixel| Pixel(angle.transform(pixel.0, &pdim), pixel.1)), [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/graphics.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 741 | fn fill_contiguous(&mut self, area: &Rectangle, colors: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | / area.points() [INFO] [stdout] 750 | | .zip(colors) [INFO] [stdout] 751 | | .map(|(pos, color)| Pixel(angle.transform(pos, &pdim), color)), [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/graphics.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 814 | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 822 | / pixels [INFO] [stdout] 823 | | .into_iter() [INFO] [stdout] 824 | | .map(|pixel| Pixel(Self::transform(pixel.0, size, &pdim), pixel.1)), [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/graphics.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 828 | fn fill_contiguous(&mut self, area: &Rectangle, colors: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | / area.points() [INFO] [stdout] 837 | | .zip(colors) [INFO] [stdout] 838 | | .map(|(pos, color)| Pixel(Self::transform(pos, size, &pdim), color)), [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/graphics.rs:947:9 [INFO] [stdout] | [INFO] [stdout] 946 | fn owned_translated(self, offset: Point) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 947 | TranslatedT(self, offset).into_owned() [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/graphics.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 950 | fn owned_cropped(self, area: &Rectangle) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 951 | CroppedT(self, *area).into_owned() [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/graphics.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 954 | fn owned_clipped(self, area: &Rectangle) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 955 | ClippedT(self, *area).into_owned() [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/graphics.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 958 | fn owned_color_converted(self) -> Owned> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 962 | ColorConvertedT(self, PhantomData::).into_owned() [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/graphics.rs:966:9 [INFO] [stdout] | [INFO] [stdout] 965 | fn owned_rotated(self, angle: RotateAngle) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 966 | RotatedT(self, angle).into_owned() [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/graphics.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 969 | fn owned_scaled(self, size: Size) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 970 | ScaledT(self, size).into_owned() [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/graphics.rs:981:9 [INFO] [stdout] | [INFO] [stdout] 974 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 975 | flusher: F, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 981 | FlushingT(self, flusher).into_owned() [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: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | fn write_iter(&mut self, address: u8, bytes: B) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | bytes: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/serial.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/serial.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | self.0.transform().read(address, buffer); [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] 79 | let _ = self.0.transform().read(address, buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/serial.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | bytes: B, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/serial.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [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/serial.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 303 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | handler: F, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | HandlerT(self, handler).into_owned() [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: unused variable: `address` [INFO] [stdout] --> src/serial.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/serial.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | operations: &mut [embedded_hal::i2c::Operation<'a>], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/serial.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn transaction_iter<'a, O>(&mut self, address: u8, operations: O) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/serial.rs:124:56 [INFO] [stdout] | [INFO] [stdout] 124 | fn transaction_iter<'a, O>(&mut self, address: u8, operations: O) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | fn read(&mut self, address: u8, buffer: &mut [u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | fn read(&mut self, address: u8, buffer: &mut [u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | fn write(&mut self, address: u8, bytes: &[u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | fn write(&mut self, address: u8, bytes: &[u8]) -> std::result::Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | fn write_iter(&mut self, address: u8, bytes: B) -> std::result::Result<(), Self::Error> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | fn write_iter(&mut self, address: u8, bytes: B) -> std::result::Result<(), Self::Error> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | bytes: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | bytes: B, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | buffer: &mut [u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | operations: &mut [embedded_hal::i2c::Operation<'a>], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | address: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operations` [INFO] [stdout] --> src/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | operations: O, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommError` is never constructed [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct CommError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iface` is never read [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct ExampleDevice { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | iface: I2C, [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:120:20 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn new(error: impl Into) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Self { [INFO] [stdout] 120 | inner: error.into(), [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/graphics.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 180 | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | self.0.transform().draw_iter(pixels) [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] [stderr] error: could not compile `owned-transform` (bin "owned-transform" test) due to 16 previous errors; 38 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/graphics.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 187 | fn fill_contiguous(&mut self, area: &Rectangle, colors: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | self.0.transform().fill_contiguous(area, colors) [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/graphics.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 727 | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 735 | / pixels [INFO] [stdout] 736 | | .into_iter() [INFO] [stdout] 737 | | .map(|pixel| Pixel(angle.transform(pixel.0, &pdim), pixel.1)), [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/graphics.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 741 | fn fill_contiguous(&mut self, area: &Rectangle, colors: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | / area.points() [INFO] [stdout] 750 | | .zip(colors) [INFO] [stdout] 751 | | .map(|(pos, color)| Pixel(angle.transform(pos, &pdim), color)), [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/graphics.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 814 | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 822 | / pixels [INFO] [stdout] 823 | | .into_iter() [INFO] [stdout] 824 | | .map(|pixel| Pixel(Self::transform(pixel.0, size, &pdim), pixel.1)), [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/graphics.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 828 | fn fill_contiguous(&mut self, area: &Rectangle, colors: I) -> Result<(), Self::Error> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | / area.points() [INFO] [stdout] 837 | | .zip(colors) [INFO] [stdout] 838 | | .map(|(pos, color)| Pixel(Self::transform(pos, size, &pdim), color)), [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/graphics.rs:947:9 [INFO] [stdout] | [INFO] [stdout] 946 | fn owned_translated(self, offset: Point) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 947 | TranslatedT(self, offset).into_owned() [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/graphics.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 950 | fn owned_cropped(self, area: &Rectangle) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 951 | CroppedT(self, *area).into_owned() [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/graphics.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 954 | fn owned_clipped(self, area: &Rectangle) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 955 | ClippedT(self, *area).into_owned() [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/graphics.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 958 | fn owned_color_converted(self) -> Owned> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 962 | ColorConvertedT(self, PhantomData::).into_owned() [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/graphics.rs:966:9 [INFO] [stdout] | [INFO] [stdout] 965 | fn owned_rotated(self, angle: RotateAngle) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 966 | RotatedT(self, angle).into_owned() [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/graphics.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 969 | fn owned_scaled(self, size: Size) -> Owned> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 970 | ScaledT(self, size).into_owned() [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/graphics.rs:981:9 [INFO] [stdout] | [INFO] [stdout] 974 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 975 | flusher: F, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 981 | FlushingT(self, flusher).into_owned() [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/serial.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | self.0.transform().read(address, buffer); [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] 79 | let _ = self.0.transform().read(address, buffer); [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/serial.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 303 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | handler: F, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | HandlerT(self, handler).into_owned() [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 15 previous errors; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `owned-transform` (bin "owned-transform") due to 16 previous errors; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63e5205e620ff988b5dfa2274d5d7690747ef0c732fd1ee328b8ebb7e0d20cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e5205e620ff988b5dfa2274d5d7690747ef0c732fd1ee328b8ebb7e0d20cd8", kill_on_drop: false }` [INFO] [stdout] 63e5205e620ff988b5dfa2274d5d7690747ef0c732fd1ee328b8ebb7e0d20cd8