[INFO] fetching crate hidapi 2.4.1... [INFO] checking hidapi-2.4.1 against master#020bbe46bdf613c0b8211984eaa8e5fe97d6c92d for pr-122960 [INFO] extracting crate hidapi 2.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate hidapi 2.4.1 on toolchain 020bbe46bdf613c0b8211984eaa8e5fe97d6c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "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-0-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" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b610779b2d11c64b048c70b317ce4072fe49ad9d7c54c839b4dd479347991d3 [INFO] running `Command { std: "docker" "start" "-a" "7b610779b2d11c64b048c70b317ce4072fe49ad9d7c54c839b4dd479347991d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b610779b2d11c64b048c70b317ce4072fe49ad9d7c54c839b4dd479347991d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b610779b2d11c64b048c70b317ce4072fe49ad9d7c54c839b4dd479347991d3", kill_on_drop: false }` [INFO] [stdout] 7b610779b2d11c64b048c70b317ce4072fe49ad9d7c54c839b4dd479347991d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 121ac618572aae94a54b05df1159033ba3c1b87c6338eefaa0c55d017e782932 [INFO] running `Command { std: "docker" "start" "-a" "121ac618572aae94a54b05df1159033ba3c1b87c6338eefaa0c55d017e782932", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling cc v1.0.79 [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 3.99s [INFO] running `Command { std: "docker" "inspect" "121ac618572aae94a54b05df1159033ba3c1b87c6338eefaa0c55d017e782932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121ac618572aae94a54b05df1159033ba3c1b87c6338eefaa0c55d017e782932", kill_on_drop: false }` [INFO] [stdout] 121ac618572aae94a54b05df1159033ba3c1b87c6338eefaa0c55d017e782932 [INFO] checking hidapi-2.4.1 against try#8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde for pr-122960 [INFO] extracting crate hidapi 2.4.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hidapi 2.4.1 on toolchain 8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "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-0-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" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a809fb64bf9db773c47abff1b9ae4daf53f2a8fd7d1609701725ea13f25af98a [INFO] running `Command { std: "docker" "start" "-a" "a809fb64bf9db773c47abff1b9ae4daf53f2a8fd7d1609701725ea13f25af98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a809fb64bf9db773c47abff1b9ae4daf53f2a8fd7d1609701725ea13f25af98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a809fb64bf9db773c47abff1b9ae4daf53f2a8fd7d1609701725ea13f25af98a", kill_on_drop: false }` [INFO] [stdout] a809fb64bf9db773c47abff1b9ae4daf53f2a8fd7d1609701725ea13f25af98a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65954b9fe6fee33fa1ab028e80855bb4638afd99f7fa569f4a92b23e3fcd7f45 [INFO] running `Command { std: "docker" "start" "-a" "65954b9fe6fee33fa1ab028e80855bb4638afd99f7fa569f4a92b23e3fcd7f45", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling libc v0.2.141 [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] [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] [stderr] Fixed src/hidapi.rs (3 fixes) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/readhid.rs from 2021 edition to 2024 [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] [stderr] Migrating examples/open_first_device.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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/logitech_gprox.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/static_lifetime_bound.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 4.90s [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: 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: 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.64s [INFO] running `Command { std: "docker" "inspect" "65954b9fe6fee33fa1ab028e80855bb4638afd99f7fa569f4a92b23e3fcd7f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65954b9fe6fee33fa1ab028e80855bb4638afd99f7fa569f4a92b23e3fcd7f45", kill_on_drop: false }` [INFO] [stdout] 65954b9fe6fee33fa1ab028e80855bb4638afd99f7fa569f4a92b23e3fcd7f45