[INFO] fetching crate hidapi 2.4.1... [INFO] checking hidapi-2.4.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate hidapi 2.4.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate hidapi 2.4.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hidapi 2.4.1 [INFO] finished tweaking crates.io crate hidapi 2.4.1 [INFO] tweaked toml for crates.io crate hidapi 2.4.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate hidapi 2.4.1 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99982952b1a44748d35c8b4c9d9a8625e21cc75ade68e894f99f6a90e25e8354 [INFO] running `Command { std: "docker" "start" "-a" "99982952b1a44748d35c8b4c9d9a8625e21cc75ade68e894f99f6a90e25e8354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99982952b1a44748d35c8b4c9d9a8625e21cc75ade68e894f99f6a90e25e8354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99982952b1a44748d35c8b4c9d9a8625e21cc75ade68e894f99f6a90e25e8354", kill_on_drop: false }` [INFO] [stdout] 99982952b1a44748d35c8b4c9d9a8625e21cc75ade68e894f99f6a90e25e8354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b3fb0fea6f8f0acab2494cb6e4531b0b06f8a3231b21a08616c33a2e8713418 [INFO] running `Command { std: "docker" "start" "-a" "5b3fb0fea6f8f0acab2494cb6e4531b0b06f8a3231b21a08616c33a2e8713418", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling hidapi v2.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> examples/co2mon.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown(u8, u16), [INFO] [stdout] | ------- ^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 | Unknown((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "5b3fb0fea6f8f0acab2494cb6e4531b0b06f8a3231b21a08616c33a2e8713418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3fb0fea6f8f0acab2494cb6e4531b0b06f8a3231b21a08616c33a2e8713418", kill_on_drop: false }` [INFO] [stdout] 5b3fb0fea6f8f0acab2494cb6e4531b0b06f8a3231b21a08616c33a2e8713418 [INFO] checking hidapi-2.4.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate hidapi 2.4.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate hidapi 2.4.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hidapi 2.4.1 [INFO] finished tweaking crates.io crate hidapi 2.4.1 [INFO] tweaked toml for crates.io crate hidapi 2.4.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate hidapi 2.4.1 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c63745319f1bc5d04ef832876359b70b2802505f21d43af7a6b618eefcd3cc3 [INFO] running `Command { std: "docker" "start" "-a" "2c63745319f1bc5d04ef832876359b70b2802505f21d43af7a6b618eefcd3cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c63745319f1bc5d04ef832876359b70b2802505f21d43af7a6b618eefcd3cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c63745319f1bc5d04ef832876359b70b2802505f21d43af7a6b618eefcd3cc3", kill_on_drop: false }` [INFO] [stdout] 2c63745319f1bc5d04ef832876359b70b2802505f21d43af7a6b618eefcd3cc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70aa6f8ae02c1c3a5869fc65ea4d0a65cddc09fa9d1419af43119abd401e1759 [INFO] running `Command { std: "docker" "start" "-a" "70aa6f8ae02c1c3a5869fc65ea4d0a65cddc09fa9d1419af43119abd401e1759", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling hidapi v2.4.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/hidapi.rs (3 fixes) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hidapi.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe fn wchar_to_string(wstr: *const wchar_t) -> WcharString { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hidapi.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe fn wchar_to_string(wstr: *const wchar_t) -> WcharString { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/co2mon.rs from 2021 edition to 2024 [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> examples/co2mon.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown(u8, u16), [INFO] [stdout] | ------- ^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 | Unknown((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/logitech_gprox.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/static_lifetime_bound.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/open_first_device.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/readhid.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/lshid.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling hidapi v2.4.1 (/tmp/fixit) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hidapi.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe fn wchar_to_string(wstr: *const wchar_t) -> WcharString { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hidapi.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe fn wchar_to_string(wstr: *const wchar_t) -> WcharString { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> examples/co2mon.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown(u8, u16), [INFO] [stdout] | ------- ^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 | Unknown((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "70aa6f8ae02c1c3a5869fc65ea4d0a65cddc09fa9d1419af43119abd401e1759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70aa6f8ae02c1c3a5869fc65ea4d0a65cddc09fa9d1419af43119abd401e1759", kill_on_drop: false }` [INFO] [stdout] 70aa6f8ae02c1c3a5869fc65ea4d0a65cddc09fa9d1419af43119abd401e1759