[INFO] cloning repository https://github.com/vhsw/g13_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vhsw/g13_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhsw%2Fg13_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhsw%2Fg13_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0871b722921aa3d504cca29404e068851cd4445 [INFO] checking vhsw/g13_rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhsw%2Fg13_rust" "/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/vhsw/g13_rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vhsw/g13_rust [INFO] finished tweaking git repo https://github.com/vhsw/g13_rust [INFO] tweaked toml for git repo https://github.com/vhsw/g13_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages [INFO] [stderr] Adding bit-set v0.2.0 (latest: v0.5.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding ioctl-sys v0.5.2 (latest: v0.8.0) [INFO] [stderr] Adding libudev v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding nix v0.10.0 (latest: v0.28.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-set v0.2.0 [INFO] [stderr] Downloaded libusb-sys v0.2.3 [INFO] [stderr] Downloaded libusb v0.3.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10e834d11e4922c8b63b35d70fddb031cf4e37fe417fc752c8b898c6a60e126c [INFO] running `Command { std: "docker" "start" "-a" "10e834d11e4922c8b63b35d70fddb031cf4e37fe417fc752c8b898c6a60e126c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10e834d11e4922c8b63b35d70fddb031cf4e37fe417fc752c8b898c6a60e126c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e834d11e4922c8b63b35d70fddb031cf4e37fe417fc752c8b898c6a60e126c", kill_on_drop: false }` [INFO] [stdout] 10e834d11e4922c8b63b35d70fddb031cf4e37fe417fc752c8b898c6a60e126c [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" "-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a891f41cb36f6f98037a6ecb1aabf325122bbdacfc879fee1c145f83bf054fb [INFO] running `Command { std: "docker" "start" "-a" "0a891f41cb36f6f98037a6ecb1aabf325122bbdacfc879fee1c145f83bf054fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking libusb v0.3.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking g13_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | try!(handle.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | try!(handle.set_active_configuration(endpoint.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(handle.claim_interface(endpoint.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | try!(handle.set_alternate_setting(endpoint.iface, endpoint.setting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | try!(handle.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | try!(handle.set_active_configuration(endpoint.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(handle.claim_interface(endpoint.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | try!(handle.set_alternate_setting(endpoint.iface, endpoint.setting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | g1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | g2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | g3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | g4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | g5: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | g6: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | g7: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | g8: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | g9: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | g10: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | g11: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | g12: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | g13: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | g14: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | g15: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | g16: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | g17: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | g18: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | g19: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | g20: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | g21: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | g22: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | m1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 55 | m2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 56 | m3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | mr: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | d0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | d1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | d2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | d3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 62 | d4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | bkl: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | j1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | j2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | j3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | g1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | g2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | g3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | g4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | g5: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | g6: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | g7: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | g8: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | g9: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | g10: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | g11: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | g12: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | g13: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | g14: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | g15: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | g16: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | g17: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | g18: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | g19: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | g20: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | g21: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | g22: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | m1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 55 | m2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 56 | m3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | mr: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | d0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | d1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | d2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | d3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 62 | d4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | bkl: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | j1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | j2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | j3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.89s [INFO] running `Command { std: "docker" "inspect" "0a891f41cb36f6f98037a6ecb1aabf325122bbdacfc879fee1c145f83bf054fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a891f41cb36f6f98037a6ecb1aabf325122bbdacfc879fee1c145f83bf054fb", kill_on_drop: false }` [INFO] [stdout] 0a891f41cb36f6f98037a6ecb1aabf325122bbdacfc879fee1c145f83bf054fb [INFO] checking vhsw/g13_rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhsw%2Fg13_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vhsw/g13_rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vhsw/g13_rust [INFO] finished tweaking git repo https://github.com/vhsw/g13_rust [INFO] tweaked toml for git repo https://github.com/vhsw/g13_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905319194c40e1367b14c67e04af6ba2fab114801698264b16e2b46baa2d0516 [INFO] running `Command { std: "docker" "start" "-a" "905319194c40e1367b14c67e04af6ba2fab114801698264b16e2b46baa2d0516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905319194c40e1367b14c67e04af6ba2fab114801698264b16e2b46baa2d0516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905319194c40e1367b14c67e04af6ba2fab114801698264b16e2b46baa2d0516", kill_on_drop: false }` [INFO] [stdout] 905319194c40e1367b14c67e04af6ba2fab114801698264b16e2b46baa2d0516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20bd374f12357fc6359dae8eccd55fc0ada03bd51ff5601548de86fcb4ef16df [INFO] running `Command { std: "docker" "start" "-a" "20bd374f12357fc6359dae8eccd55fc0ada03bd51ff5601548de86fcb4ef16df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking libusb v0.3.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking g13_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | try!(handle.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | try!(handle.set_active_configuration(endpoint.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(handle.claim_interface(endpoint.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | try!(handle.set_alternate_setting(endpoint.iface, endpoint.setting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | try!(handle.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | try!(handle.set_active_configuration(endpoint.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(handle.claim_interface(endpoint.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/g13_device.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | try!(handle.set_alternate_setting(endpoint.iface, endpoint.setting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/g13_uinput.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut key_pressed = state.kb_state.get_mut(key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | g1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | g2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | g3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | g4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | g5: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | g6: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | g7: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | g8: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | g9: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | g10: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | g11: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | g12: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | g13: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | g14: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | g15: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | g16: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | g17: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | g18: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | g19: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | g20: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | g21: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | g22: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | m1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 55 | m2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 56 | m3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | mr: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | d0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | d1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | d2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | d3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 62 | d4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | bkl: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | j1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | j2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | j3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | g1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | g2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | g3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | g4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | g5: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | g6: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | g7: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | g8: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | g9: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | g10: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | g11: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | g12: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | g13: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | g14: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | g15: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | g16: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | g17: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | g18: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | g19: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | g20: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | g21: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | g22: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | m1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 55 | m2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 56 | m3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | mr: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | d0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | d1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 60 | d2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | d3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 62 | d4: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | bkl: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | j1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | j2: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | j3: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "20bd374f12357fc6359dae8eccd55fc0ada03bd51ff5601548de86fcb4ef16df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20bd374f12357fc6359dae8eccd55fc0ada03bd51ff5601548de86fcb4ef16df", kill_on_drop: false }` [INFO] [stdout] 20bd374f12357fc6359dae8eccd55fc0ada03bd51ff5601548de86fcb4ef16df