[INFO] cloning repository https://github.com/virtulis/tamepad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/virtulis/tamepad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtulis%2Ftamepad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtulis%2Ftamepad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4bf040ea6f6514c05f2990d76051b9e7aaefa4e [INFO] testing virtulis/tamepad against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtulis%2Ftamepad" "/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/virtulis/tamepad on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/virtulis/tamepad [INFO] finished tweaking git repo https://github.com/virtulis/tamepad [INFO] tweaked toml for git repo https://github.com/virtulis/tamepad written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/virtulis/tamepad 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded input-linux v0.6.0 [INFO] [stderr] Downloaded input-linux-sys v0.8.0 [INFO] [stderr] Downloaded femtovg v0.9.0 [INFO] [stderr] Downloaded rustybuzz v0.13.0 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3834cd62cfa6de2a34d73cbe839cc117dc05c3ee1e9034f57df69871e79984a [INFO] running `Command { std: "docker" "start" "-a" "d3834cd62cfa6de2a34d73cbe839cc117dc05c3ee1e9034f57df69871e79984a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3834cd62cfa6de2a34d73cbe839cc117dc05c3ee1e9034f57df69871e79984a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3834cd62cfa6de2a34d73cbe839cc117dc05c3ee1e9034f57df69871e79984a", kill_on_drop: false }` [INFO] [stdout] d3834cd62cfa6de2a34d73cbe839cc117dc05c3ee1e9034f57df69871e79984a [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe3d50795938feb5572c53cb90bcfd2ba91dccfd475da13d9375464604058d13 [INFO] running `Command { std: "docker" "start" "-a" "fe3d50795938feb5572c53cb90bcfd2ba91dccfd475da13d9375464604058d13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling unicode-script v0.5.6 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling rustybuzz v0.13.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Compiling femtovg v0.9.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling input-linux-sys v0.8.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling input-linux v0.6.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling tamepad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | let mut highlights: Vec = Vec::new(); [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: unused variable: `print_state` [INFO] [stdout] --> src/state.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 196 | let print_state = |state: &State| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oidx` [INFO] [stdout] --> src/state.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | state.active_maps.retain(|(oidx, other)| *other != *map); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_oidx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 369 | .rfind(|(i, s)| s.from_degrees <= degrees) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | let do_handle_button = |mut state: &mut State, btn: Button, down: bool| { [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/state.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | let maybe_handle_button = |mut state: &mut State, btn: Button, down: bool| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CachedOverlay` is more private than the item `CachedConfig::overlays` [INFO] [stdout] --> src/state.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | pub overlays: IndexMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CachedConfig::overlays` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CachedOverlay` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct CachedOverlay { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ButtonComboList` is more private than the item `state::State::button_combos` [INFO] [stdout] --> src/state.rs:72:2 [INFO] [stdout] | [INFO] [stdout] 72 | pub button_combos: IndexMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `state::State::button_combos` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ButtonComboList` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct ButtonComboList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AxisState` is more private than the item `state::State::axis_states` [INFO] [stdout] --> src/state.rs:75:2 [INFO] [stdout] | [INFO] [stdout] 75 | pub axis_states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `state::State::axis_states` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AxisState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | struct AxisState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `overlay` is never read [INFO] [stdout] --> src/state.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | struct CachedOverlay { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | overlay: Overlay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CachedOverlay` 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 1m 48s [INFO] running `Command { std: "docker" "inspect" "fe3d50795938feb5572c53cb90bcfd2ba91dccfd475da13d9375464604058d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3d50795938feb5572c53cb90bcfd2ba91dccfd475da13d9375464604058d13", kill_on_drop: false }` [INFO] [stdout] fe3d50795938feb5572c53cb90bcfd2ba91dccfd475da13d9375464604058d13 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3bac33ba84c1ed89bf97b33132ae255cfd5feed05c698c163ea522c420b22ab [INFO] running `Command { std: "docker" "start" "-a" "e3bac33ba84c1ed89bf97b33132ae255cfd5feed05c698c163ea522c420b22ab", kill_on_drop: false }` [INFO] [stderr] Compiling tamepad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | let mut highlights: Vec = Vec::new(); [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: unused variable: `print_state` [INFO] [stdout] --> src/state.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 196 | let print_state = |state: &State| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oidx` [INFO] [stdout] --> src/state.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | state.active_maps.retain(|(oidx, other)| *other != *map); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_oidx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 369 | .rfind(|(i, s)| s.from_degrees <= degrees) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | let do_handle_button = |mut state: &mut State, btn: Button, down: bool| { [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/state.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | let maybe_handle_button = |mut state: &mut State, btn: Button, down: bool| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CachedOverlay` is more private than the item `CachedConfig::overlays` [INFO] [stdout] --> src/state.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | pub overlays: IndexMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CachedConfig::overlays` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CachedOverlay` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct CachedOverlay { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ButtonComboList` is more private than the item `state::State::button_combos` [INFO] [stdout] --> src/state.rs:72:2 [INFO] [stdout] | [INFO] [stdout] 72 | pub button_combos: IndexMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `state::State::button_combos` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ButtonComboList` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct ButtonComboList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AxisState` is more private than the item `state::State::axis_states` [INFO] [stdout] --> src/state.rs:75:2 [INFO] [stdout] | [INFO] [stdout] 75 | pub axis_states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `state::State::axis_states` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AxisState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/state.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | struct AxisState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `overlay` is never read [INFO] [stdout] --> src/state.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | struct CachedOverlay { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | overlay: Overlay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CachedOverlay` 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 `test` profile [unoptimized + debuginfo] target(s) in 3.38s [INFO] running `Command { std: "docker" "inspect" "e3bac33ba84c1ed89bf97b33132ae255cfd5feed05c698c163ea522c420b22ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3bac33ba84c1ed89bf97b33132ae255cfd5feed05c698c163ea522c420b22ab", kill_on_drop: false }` [INFO] [stdout] e3bac33ba84c1ed89bf97b33132ae255cfd5feed05c698c163ea522c420b22ab [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d30613cc7246a1d433f7e6488ae7b2aa8c06950e88117ae7824af4581a1de1d0 [INFO] running `Command { std: "docker" "start" "-a" "d30613cc7246a1d433f7e6488ae7b2aa8c06950e88117ae7824af4581a1de1d0", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gui.rs:182:6 [INFO] [stderr] | [INFO] [stderr] 182 | let mut highlights: Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `print_state` [INFO] [stderr] --> src/state.rs:196:6 [INFO] [stderr] | [INFO] [stderr] 196 | let print_state = |state: &State| { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `oidx` [INFO] [stderr] --> src/state.rs:259:31 [INFO] [stderr] | [INFO] [stderr] 259 | state.active_maps.retain(|(oidx, other)| *other != *map); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_oidx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/state.rs:369:16 [INFO] [stderr] | [INFO] [stderr] 369 | .rfind(|(i, s)| s.from_degrees <= degrees) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state.rs:310:26 [INFO] [stderr] | [INFO] [stderr] 310 | let do_handle_button = |mut state: &mut State, btn: Button, down: bool| { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state.rs:320:29 [INFO] [stderr] | [INFO] [stderr] 320 | let maybe_handle_button = |mut state: &mut State, btn: Button, down: bool| { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: type `CachedOverlay` is more private than the item `CachedConfig::overlays` [INFO] [stderr] --> src/state.rs:65:2 [INFO] [stderr] | [INFO] [stderr] 65 | pub overlays: IndexMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CachedConfig::overlays` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `CachedOverlay` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/state.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct CachedOverlay { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `ButtonComboList` is more private than the item `state::State::button_combos` [INFO] [stderr] --> src/state.rs:72:2 [INFO] [stderr] | [INFO] [stderr] 72 | pub button_combos: IndexMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `state::State::button_combos` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `ButtonComboList` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/state.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | struct ButtonComboList { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `AxisState` is more private than the item `state::State::axis_states` [INFO] [stderr] --> src/state.rs:75:2 [INFO] [stderr] | [INFO] [stderr] 75 | pub axis_states: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `state::State::axis_states` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `AxisState` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/state.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | struct AxisState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `overlay` is never read [INFO] [stderr] --> src/state.rs:20:2 [INFO] [stderr] | [INFO] [stderr] 19 | struct CachedOverlay { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 20 | overlay: Overlay, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CachedOverlay` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tamepad` (bin "tamepad" test) generated 10 warnings (run `cargo fix --bin "tamepad" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tamepad-685eff8bcf35925b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d30613cc7246a1d433f7e6488ae7b2aa8c06950e88117ae7824af4581a1de1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d30613cc7246a1d433f7e6488ae7b2aa8c06950e88117ae7824af4581a1de1d0", kill_on_drop: false }` [INFO] [stdout] d30613cc7246a1d433f7e6488ae7b2aa8c06950e88117ae7824af4581a1de1d0