[INFO] cloning repository https://github.com/roblabla/hidapi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roblabla/hidapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 940569a8d0c3114434162fd56f1c8ed2474cd45e [INFO] checking roblabla/hidapi-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roblabla/hidapi-rs [INFO] finished tweaking git repo https://github.com/roblabla/hidapi-rs [INFO] tweaked toml for git repo https://github.com/roblabla/hidapi-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/roblabla/hidapi-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/roblabla/core-foundation-rs` [INFO] [stderr] Updating git repository `https://github.com/roblabla/io-kit-rs` [INFO] [stderr] Updating git repository `https://github.com/roblabla/mach` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ioctl-sys v0.6.0 [INFO] [stderr] Downloaded humantime v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7050aa7b84ad3ce43e4a1e589923de572c9ed065375cc1807077cde7cb4ef16 [INFO] running `Command { std: "docker" "start" "-a" "d7050aa7b84ad3ce43e4a1e589923de572c9ed065375cc1807077cde7cb4ef16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7050aa7b84ad3ce43e4a1e589923de572c9ed065375cc1807077cde7cb4ef16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7050aa7b84ad3ce43e4a1e589923de572c9ed065375cc1807077cde7cb4ef16", kill_on_drop: false }` [INFO] [stdout] d7050aa7b84ad3ce43e4a1e589923de572c9ed065375cc1807077cde7cb4ef16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1483aedab78de9a1ca20901c4f917fc3e6645a45485f1dcbb9365fb2e0d203b [INFO] running `Command { std: "docker" "start" "-a" "e1483aedab78de9a1ca20901c4f917fc3e6645a45485f1dcbb9365fb2e0d203b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking ioctl-sys v0.6.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `vendor_id` [INFO] [stdout] --> src/os/linux.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/os/linux.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/os/linux.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `milliseconds` [INFO] [stdout] --> src/os/linux.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/os/linux.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(err) => Err(HidError::HidApiErrorWithCause { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/os/linux.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Err(err) => Err(HidError::HidApiErrorWithCause { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_manufacturer_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_product_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_serial_number_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> src/os/linux.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canon_child` [INFO] [stdout] --> src/os/linux.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let canon_child = child.canonicalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canon_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os/linux.rs:295:75 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(devinfo) = self.devinfo_usages.as_mut().and_then(|mut v| v.next()) { [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: `desc_size` [INFO] [stdout] --> src/os/linux.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let mut desc_size = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/os/linux.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | .any(|(ty, item)| ty == HidTy::Global(HidGlobal::ReportId)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os/linux.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let mut desc_size = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl DeviceInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 198 | fn new() -> DeviceInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uses_numbered_reports` is never read [INFO] [stdout] --> src/os/linux.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct HidDevice { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | uses_numbered_reports: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/os/linux.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct UsagesIter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 142 | hid_items: HidItemIterator, [INFO] [stdout] 143 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hidiocgrdescsize` is never used [INFO] [stdout] --> src/os/linux.rs:389:4 [INFO] [stdout] | [INFO] [stdout] 389 | fn hidiocgrdescsize(f: &F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/os/linux/hid.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | LongItem(Vec) [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 118 | LongItem(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stdout] warning: unused variable: `vendor_id` [INFO] [stdout] --> src/os/linux.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/os/linux.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/os/linux.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `milliseconds` [INFO] [stdout] --> src/os/linux.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/os/linux.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(err) => Err(HidError::HidApiErrorWithCause { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/os/linux.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Err(err) => Err(HidError::HidApiErrorWithCause { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_manufacturer_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_product_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_serial_number_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> src/os/linux.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canon_child` [INFO] [stdout] --> src/os/linux.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let canon_child = child.canonicalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canon_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os/linux.rs:295:75 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(devinfo) = self.devinfo_usages.as_mut().and_then(|mut v| v.next()) { [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: `desc_size` [INFO] [stdout] --> src/os/linux.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let mut desc_size = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/os/linux.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | .any(|(ty, item)| ty == HidTy::Global(HidGlobal::ReportId)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os/linux.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let mut desc_size = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl DeviceInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 198 | fn new() -> DeviceInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uses_numbered_reports` is never read [INFO] [stdout] --> src/os/linux.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct HidDevice { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | uses_numbered_reports: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/os/linux.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct UsagesIter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 142 | hid_items: HidItemIterator, [INFO] [stdout] 143 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hidiocgrdescsize` is never used [INFO] [stdout] --> src/os/linux.rs:389:4 [INFO] [stdout] | [INFO] [stdout] 389 | fn hidiocgrdescsize(f: &F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/os/linux/hid.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | LongItem(Vec) [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 118 | LongItem(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "e1483aedab78de9a1ca20901c4f917fc3e6645a45485f1dcbb9365fb2e0d203b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1483aedab78de9a1ca20901c4f917fc3e6645a45485f1dcbb9365fb2e0d203b", kill_on_drop: false }` [INFO] [stdout] e1483aedab78de9a1ca20901c4f917fc3e6645a45485f1dcbb9365fb2e0d203b [INFO] checking roblabla/hidapi-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roblabla/hidapi-rs [INFO] finished tweaking git repo https://github.com/roblabla/hidapi-rs [INFO] tweaked toml for git repo https://github.com/roblabla/hidapi-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/roblabla/hidapi-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 424176c9c8303870852811bcd2fea7e4be39951fd796e301c631fb8b477667b7 [INFO] running `Command { std: "docker" "start" "-a" "424176c9c8303870852811bcd2fea7e4be39951fd796e301c631fb8b477667b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "424176c9c8303870852811bcd2fea7e4be39951fd796e301c631fb8b477667b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "424176c9c8303870852811bcd2fea7e4be39951fd796e301c631fb8b477667b7", kill_on_drop: false }` [INFO] [stdout] 424176c9c8303870852811bcd2fea7e4be39951fd796e301c631fb8b477667b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb27b148491fbf5d753be1168ea71bf123ebc1d9384a4ea62844f28f75e304a3 [INFO] running `Command { std: "docker" "start" "-a" "bb27b148491fbf5d753be1168ea71bf123ebc1d9384a4ea62844f28f75e304a3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking ioctl-sys v0.6.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `vendor_id` [INFO] [stdout] --> src/os/linux.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/os/linux.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/os/linux.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `milliseconds` [INFO] [stdout] --> src/os/linux.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/os/linux.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(err) => Err(HidError::HidApiErrorWithCause { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/os/linux.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Err(err) => Err(HidError::HidApiErrorWithCause { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_manufacturer_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_product_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_serial_number_string(&self, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> src/os/linux.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/os/linux.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canon_child` [INFO] [stdout] --> src/os/linux.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let canon_child = child.canonicalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canon_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os/linux.rs:295:75 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(devinfo) = self.devinfo_usages.as_mut().and_then(|mut v| v.next()) { [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: `desc_size` [INFO] [stdout] --> src/os/linux.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let mut desc_size = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/os/linux.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | .any(|(ty, item)| ty == HidTy::Global(HidGlobal::ReportId)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os/linux.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let mut desc_size = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl DeviceInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 198 | fn new() -> DeviceInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uses_numbered_reports` is never read [INFO] [stdout] --> src/os/linux.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct HidDevice { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | uses_numbered_reports: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/os/linux.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct UsagesIter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 142 | hid_items: HidItemIterator, [INFO] [stdout] 143 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hidiocgrdescsize` is never used [INFO] [stdout] --> src/os/linux.rs:389:4 [INFO] [stdout] | [INFO] [stdout] 389 | fn hidiocgrdescsize(f: &F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/os/linux/hid.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | LongItem(Vec) [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 118 | LongItem(()) [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:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | let device_list = os::hid_enumerate(0, 0).collect::>(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(HidApi { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | device_list [INFO] [stdout] 67 | | }) [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/os/linux.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 177 | fn sysfs_to_devinfo(entry: DirEntry) -> Option>> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let mut dev_info = crate::DeviceInfo { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | Some(Box::new(usages.map(move |(usage_page, usage)| { [INFO] [stdout] | __________^ [INFO] [stdout] 272 | | let mut dev_info = dev_info.clone(); [INFO] [stdout] 273 | | dev_info.usage_page = usage_page; [INFO] [stdout] 274 | | dev_info.usage = usage; [INFO] [stdout] 275 | | dev_info [INFO] [stdout] 276 | | }))) [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/os/linux.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | .and_then(|v| std::fs::read_to_string(v).ok()) [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/os/linux.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | .and_then(|v| std::fs::read_to_string(v).ok()) [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/os/linux.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | .and_then(|v| std::fs::read_to_string(v).ok()) [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/os/linux.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | .and_then(|v| std::fs::read_to_string(v).ok()) [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/os/linux.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 335 | let f = OpenOptions::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | let mut desc = Box::new(hidraw_report_descriptor::default()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 358 | Ok(HidDevice { [INFO] [stdout] | ________^ [INFO] [stdout] 359 | | device_handle: f, [INFO] [stdout] 360 | | blocking: true, [INFO] [stdout] 361 | | uses_numbered_reports, [INFO] [stdout] 362 | | }) [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] | [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/os/linux.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 339 | .map_err(|err| HidError::HidApiErrorWithCause { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | message: format!("Failed to open {}", path.to_string_lossy()), [INFO] [stdout] 341 | cause: err.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] [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/os/linux.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 350 | .map_err(|err| HidError::HidApiErrorWithCause { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | message: format!("Failed to call hdiocgrdesc on {}", path.to_string_lossy()), [INFO] [stdout] 352 | cause: err.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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hidapi-rs` (lib) due to 10 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bb27b148491fbf5d753be1168ea71bf123ebc1d9384a4ea62844f28f75e304a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb27b148491fbf5d753be1168ea71bf123ebc1d9384a4ea62844f28f75e304a3", kill_on_drop: false }` [INFO] [stdout] bb27b148491fbf5d753be1168ea71bf123ebc1d9384a4ea62844f28f75e304a3