[INFO] cloning repository https://github.com/luser/pizero-gadget-gamepads [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luser/pizero-gadget-gamepads" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Fpizero-gadget-gamepads", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Fpizero-gadget-gamepads'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73613817d1caf508c79a0f49ffc7ef3af990b116 [INFO] checking luser/pizero-gadget-gamepads against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Fpizero-gadget-gamepads" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luser/pizero-gadget-gamepads on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luser/pizero-gadget-gamepads [INFO] finished tweaking git repo https://github.com/luser/pizero-gadget-gamepads [INFO] tweaked toml for git repo https://github.com/luser/pizero-gadget-gamepads written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luser/pizero-gadget-gamepads 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dd6820e3b9464d6cb5c613d21c03b451f5710b4a78a3d5babec4804844b7257 [INFO] running `Command { std: "docker" "start" "-a" "8dd6820e3b9464d6cb5c613d21c03b451f5710b4a78a3d5babec4804844b7257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dd6820e3b9464d6cb5c613d21c03b451f5710b4a78a3d5babec4804844b7257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd6820e3b9464d6cb5c613d21c03b451f5710b4a78a3d5babec4804844b7257", kill_on_drop: false }` [INFO] [stdout] 8dd6820e3b9464d6cb5c613d21c03b451f5710b4a78a3d5babec4804844b7257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18900fe81715a1aa10ac7ad3341e2ab8eebafc29172a74aa413987df7f13e6ee [INFO] running `Command { std: "docker" "start" "-a" "18900fe81715a1aa10ac7ad3341e2ab8eebafc29172a74aa413987df7f13e6ee", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.3.7 [INFO] [stderr] Checking uuid v1.4.0 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Compiling gilrs v0.10.2 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking gilrs-core v0.5.6 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking pizero-gadget-gamepads v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DESCRIPTOR` is never used [INFO] [stdout] --> src/gamecube_adapter.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const DESCRIPTOR: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DESCRIPTOR` is never used [INFO] [stdout] --> src/gamecube_adapter.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const DESCRIPTOR: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | drop(writeln!(&mut s, " {c} => {a:?}")); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 74 - drop(writeln!(&mut s, " {c} => {a:?}")); [INFO] [stdout] 74 + let _ = writeln!(&mut s, " {c} => {a:?}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | drop(writeln!(&mut s, " {c} => {a:?}")); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 74 - drop(writeln!(&mut s, " {c} => {a:?}")); [INFO] [stdout] 74 + let _ = writeln!(&mut s, " {c} => {a:?}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | drop(writeln!(&mut s, " Buttons:")); [INFO] [stdout] | ^^^^^------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 76 - drop(writeln!(&mut s, " Buttons:")); [INFO] [stdout] 76 + let _ = writeln!(&mut s, " Buttons:"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | drop(writeln!(&mut s, " Buttons:")); [INFO] [stdout] | ^^^^^------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 76 - drop(writeln!(&mut s, " Buttons:")); [INFO] [stdout] 76 + let _ = writeln!(&mut s, " Buttons:"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | drop(writeln!(&mut s, " {c} => {b:?}")); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 78 - drop(writeln!(&mut s, " {c} => {b:?}")); [INFO] [stdout] 78 + let _ = writeln!(&mut s, " {c} => {b:?}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | drop(writeln!(&mut s, " {c} => {b:?}")); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 78 - drop(writeln!(&mut s, " {c} => {b:?}")); [INFO] [stdout] 78 + let _ = writeln!(&mut s, " {c} => {b:?}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "18900fe81715a1aa10ac7ad3341e2ab8eebafc29172a74aa413987df7f13e6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18900fe81715a1aa10ac7ad3341e2ab8eebafc29172a74aa413987df7f13e6ee", kill_on_drop: false }` [INFO] [stdout] 18900fe81715a1aa10ac7ad3341e2ab8eebafc29172a74aa413987df7f13e6ee