[INFO] cloning repository https://github.com/thalesmg/libusb-experiments
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thalesmg/libusb-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthalesmg%2Flibusb-experiments", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthalesmg%2Flibusb-experiments'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 549b579efc6d15b023e103669934c7f2b2235e24
[INFO] checking thalesmg/libusb-experiments against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthalesmg%2Flibusb-experiments" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thalesmg/libusb-experiments
[INFO] finished tweaking git repo https://github.com/thalesmg/libusb-experiments
[INFO] tweaked toml for git repo https://github.com/thalesmg/libusb-experiments written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thalesmg/libusb-experiments on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thalesmg/libusb-experiments 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ffi v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2d7332b8ffe451b199215160af1991f678a6b738eae7137a9a65a0ad126760e
[INFO] running `Command { std: "docker" "start" "-a" "e2d7332b8ffe451b199215160af1991f678a6b738eae7137a9a65a0ad126760e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2d7332b8ffe451b199215160af1991f678a6b738eae7137a9a65a0ad126760e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2d7332b8ffe451b199215160af1991f678a6b738eae7137a9a65a0ad126760e", kill_on_drop: false }`
[INFO] [stdout] e2d7332b8ffe451b199215160af1991f678a6b738eae7137a9a65a0ad126760e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a6e8f3751bf1ec5e2a08a669d593ac5074c226a16a78387cf1e1976c8767fbe
[INFO] running `Command { std: "docker" "start" "-a" "4a6e8f3751bf1ec5e2a08a669d593ac5074c226a16a78387cf1e1976c8767fbe", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling rusb v0.9.4
[INFO] [stderr]    Compiling cc v1.2.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.91
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling ffi v0.1.1
[INFO] [stderr]     Checking libusb-experiments v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Direction`, `GlobalContext`, `Recipient`, `RequestType`, `libusb_claim_interface`, `libusb_detach_kernel_driver`, `libusb_fill_bulk_transfer`, `libusb_fill_control_transfer`, `libusb_handle_events`, `libusb_set_auto_detach_kernel_driver`, and `request_type`
[INFO] [stdout]  --> src/main.rs:4:130
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...r, libusb_claim_interface, libusb_detach_kernel_driver, libusb_fill_bulk_transfer, libusb_fill_control_transfer, libusb_fill_interrupt_transfer, libusb_handle_events, libusb_release_interface, libusb_set_auto_detach_kernel_driver, libusb_submit_transfer, libusb_transfer, libusb_transfer_cb_fn}, request_type, Direction, GlobalContext, Recipient, RequestType, U...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                  ^^^^^^^^^^^^^^^^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                   ^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Direction`, `GlobalContext`, `Recipient`, `RequestType`, `libusb_claim_interface`, `libusb_detach_kernel_driver`, `libusb_fill_bulk_transfer`, `libusb_fill_control_transfer`, `libusb_handle_events`, `libusb_set_auto_detach_kernel_driver`, and `request_type`
[INFO] [stdout]  --> src/main.rs:4:130
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...r, libusb_claim_interface, libusb_detach_kernel_driver, libusb_fill_bulk_transfer, libusb_fill_control_transfer, libusb_fill_interrupt_transfer, libusb_handle_events, libusb_release_interface, libusb_set_auto_detach_kernel_driver, libusb_submit_transfer, libusb_transfer, libusb_transfer_cb_fn}, request_type, Direction, GlobalContext, Recipient, RequestType, U...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                  ^^^^^^^^^^^^^^^^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                   ^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/main.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let length = data[1];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number_of_allowed_packets`
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let number_of_allowed_packets = data[3];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_allowed_packets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/main.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let length = data[1];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number_of_responses`
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let number_of_responses = data[2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_responses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dev_handle_raw`
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let dev_handle_raw = unsafe { NonNull::new_unchecked(dev_handle.as_raw()) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_handle_raw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enable`
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let enable = 1;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status` and `opcode` are never read
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 9  |     CommandStatus {
[INFO] [stdout]    |     ------------- fields in this variant
[INFO] [stdout] 10 |         status: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 11 |         opcode: [u8; 2],
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HCIEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/main.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let length = data[1];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number_of_allowed_packets`
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let number_of_allowed_packets = data[3];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_allowed_packets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/main.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let length = data[1];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number_of_responses`
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let number_of_responses = data[2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_responses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dev_handle_raw`
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let dev_handle_raw = unsafe { NonNull::new_unchecked(dev_handle.as_raw()) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_handle_raw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enable`
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let enable = 1;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status` and `opcode` are never read
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 9  |     CommandStatus {
[INFO] [stdout]    |     ------------- fields in this variant
[INFO] [stdout] 10 |         status: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 11 |         opcode: [u8; 2],
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HCIEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s
[INFO] running `Command { std: "docker" "inspect" "4a6e8f3751bf1ec5e2a08a669d593ac5074c226a16a78387cf1e1976c8767fbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a6e8f3751bf1ec5e2a08a669d593ac5074c226a16a78387cf1e1976c8767fbe", kill_on_drop: false }`
[INFO] [stdout] 4a6e8f3751bf1ec5e2a08a669d593ac5074c226a16a78387cf1e1976c8767fbe
