[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#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtulis%2Ftamepad" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/virtulis/tamepad on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b119a4d3d7bae946f04ff734358517d80983ec66c6f79176b248b1355a99f2 [INFO] running `Command { std: "docker" "start" "-a" "18b119a4d3d7bae946f04ff734358517d80983ec66c6f79176b248b1355a99f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b119a4d3d7bae946f04ff734358517d80983ec66c6f79176b248b1355a99f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b119a4d3d7bae946f04ff734358517d80983ec66c6f79176b248b1355a99f2", kill_on_drop: false }` [INFO] [stdout] 18b119a4d3d7bae946f04ff734358517d80983ec66c6f79176b248b1355a99f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5cc01d087221589384070f166b1a636addd1e93491ca9444cfd5343efb79422 [INFO] running `Command { std: "docker" "start" "-a" "c5cc01d087221589384070f166b1a636addd1e93491ca9444cfd5343efb79422", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling libloading v0.8.3 [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 wayland-sys v0.31.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling unicode-script v0.5.6 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling rustybuzz v0.13.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Compiling input-linux-sys v0.8.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling femtovg v0.9.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling input-linux v0.6.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling glutin-winit v0.4.2 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "c5cc01d087221589384070f166b1a636addd1e93491ca9444cfd5343efb79422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5cc01d087221589384070f166b1a636addd1e93491ca9444cfd5343efb79422", kill_on_drop: false }` [INFO] [stdout] c5cc01d087221589384070f166b1a636addd1e93491ca9444cfd5343efb79422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 088961fb87744fc4202d5c4a11e440ca0957ea4aa4ae3c8b79a93f21a9ff13f8 [INFO] running `Command { std: "docker" "start" "-a" "088961fb87744fc4202d5c4a11e440ca0957ea4aa4ae3c8b79a93f21a9ff13f8", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "088961fb87744fc4202d5c4a11e440ca0957ea4aa4ae3c8b79a93f21a9ff13f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "088961fb87744fc4202d5c4a11e440ca0957ea4aa4ae3c8b79a93f21a9ff13f8", kill_on_drop: false }` [INFO] [stdout] 088961fb87744fc4202d5c4a11e440ca0957ea4aa4ae3c8b79a93f21a9ff13f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18ee91da5a22e0cd8cbbe839baff7e93d785c72210928dec5ed5b9cbee28553b [INFO] running `Command { std: "docker" "start" "-a" "18ee91da5a22e0cd8cbbe839baff7e93d785c72210928dec5ed5b9cbee28553b", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tamepad-0225f6e1745cd190) [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" "18ee91da5a22e0cd8cbbe839baff7e93d785c72210928dec5ed5b9cbee28553b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ee91da5a22e0cd8cbbe839baff7e93d785c72210928dec5ed5b9cbee28553b", kill_on_drop: false }` [INFO] [stdout] 18ee91da5a22e0cd8cbbe839baff7e93d785c72210928dec5ed5b9cbee28553b