[INFO] cloning repository https://github.com/kndysfm/try-hidapi-crate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kndysfm/try-hidapi-crate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkndysfm%2Ftry-hidapi-crate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkndysfm%2Ftry-hidapi-crate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cfd54c5be43e68b4c1b57ad5d72c8aa2646cd1b [INFO] building kndysfm/try-hidapi-crate against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkndysfm%2Ftry-hidapi-crate" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kndysfm/try-hidapi-crate on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kndysfm/try-hidapi-crate [INFO] finished tweaking git repo https://github.com/kndysfm/try-hidapi-crate [INFO] tweaked toml for git repo https://github.com/kndysfm/try-hidapi-crate written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kndysfm/try-hidapi-crate 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hidapi v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb70e3222176e3bf985122eefd31eeeb30180130cec25754f31a9153667c2039 [INFO] running `Command { std: "docker" "start" "-a" "cb70e3222176e3bf985122eefd31eeeb30180130cec25754f31a9153667c2039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb70e3222176e3bf985122eefd31eeeb30180130cec25754f31a9153667c2039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb70e3222176e3bf985122eefd31eeeb30180130cec25754f31a9153667c2039", kill_on_drop: false }` [INFO] [stdout] cb70e3222176e3bf985122eefd31eeeb30180130cec25754f31a9153667c2039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08775c0bc48ec67751956d5e339343e0d756bd6b6a40e2b6ade81f50a2a957d9 [INFO] running `Command { std: "docker" "start" "-a" "08775c0bc48ec67751956d5e339343e0d756bd6b6a40e2b6ade81f50a2a957d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling hidapi v2.1.0 [INFO] [stderr] Compiling try-hidapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ds4.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ds4Buttons { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | pub north: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub east: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub south: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub west: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub square: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub cross: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub circle: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub triangle: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub l1: T, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub r1: T, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub l2: T, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub r2: T, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub pause: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub option: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub l3: T, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub r3: T, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub ps: T, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub tpad: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ds4Buttons` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `down`, `track_num`, and `coord` are never read [INFO] [stdout] --> src/ds4.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Ds4Finger { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 65 | pub down: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | pub track_num: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 67 | pub coord: (u16, u16), // (x, y) in 12bit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ds4Finger` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ds4.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Ds4Input { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 83 | pub report_id: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub stick_left: (u8, u8), // 0(left, top)..+256(right, bottom) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | pub stick_right: (u8, u8), // 0(left, top)..+256(right, bottom) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | pub buttons: Ds4Buttons, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | pub counter: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 88 | pub trigger_left: u8, // 0..+256 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 89 | pub trigger_right: u8, // 0..+256 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub gyro: (i16, i16, i16), // (x, y, z) [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub accel: (i16, i16, i16), // (x, y, z) positive: right, up, backward [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | pub finger1: Ds4Finger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub finger2: Ds4Finger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ds4Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "08775c0bc48ec67751956d5e339343e0d756bd6b6a40e2b6ade81f50a2a957d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08775c0bc48ec67751956d5e339343e0d756bd6b6a40e2b6ade81f50a2a957d9", kill_on_drop: false }` [INFO] [stdout] 08775c0bc48ec67751956d5e339343e0d756bd6b6a40e2b6ade81f50a2a957d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ef54ce9898fe85f104ecbe44df1ffadf738d9232ff2578f26f6d53910a110c0 [INFO] running `Command { std: "docker" "start" "-a" "8ef54ce9898fe85f104ecbe44df1ffadf738d9232ff2578f26f6d53910a110c0", kill_on_drop: false }` [INFO] [stderr] Compiling try-hidapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ds4.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ds4Buttons { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | pub north: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub east: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub south: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub west: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub square: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub cross: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub circle: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub triangle: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub l1: T, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub r1: T, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub l2: T, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub r2: T, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub pause: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub option: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub l3: T, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub r3: T, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub ps: T, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub tpad: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ds4Buttons` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `down`, `track_num`, and `coord` are never read [INFO] [stdout] --> src/ds4.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Ds4Finger { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 65 | pub down: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | pub track_num: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 67 | pub coord: (u16, u16), // (x, y) in 12bit [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ds4Finger` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ds4.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Ds4Input { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 83 | pub report_id: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub stick_left: (u8, u8), // 0(left, top)..+256(right, bottom) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | pub stick_right: (u8, u8), // 0(left, top)..+256(right, bottom) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | pub buttons: Ds4Buttons, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | pub counter: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 88 | pub trigger_left: u8, // 0..+256 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 89 | pub trigger_right: u8, // 0..+256 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub gyro: (i16, i16, i16), // (x, y, z) [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub accel: (i16, i16, i16), // (x, y, z) positive: right, up, backward [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | pub finger1: Ds4Finger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub finger2: Ds4Finger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ds4Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "8ef54ce9898fe85f104ecbe44df1ffadf738d9232ff2578f26f6d53910a110c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef54ce9898fe85f104ecbe44df1ffadf738d9232ff2578f26f6d53910a110c0", kill_on_drop: false }` [INFO] [stdout] 8ef54ce9898fe85f104ecbe44df1ffadf738d9232ff2578f26f6d53910a110c0