[INFO] fetching crate input-actions 0.1.1... [INFO] testing input-actions-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate input-actions 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate input-actions 0.1.1 [INFO] finished tweaking crates.io crate input-actions 0.1.1 [INFO] tweaked toml for crates.io crate input-actions 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate input-actions 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding gilrs v0.8.2 (available: v0.11.0) [INFO] [stderr] Adding winit v0.26.1 (available: v0.30.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cty v0.2.2 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded xcursor v0.3.10 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded gilrs-core v0.3.2 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded gilrs v0.8.2 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded rusty-xinput v1.3.0 [INFO] [stderr] Downloaded nix v0.23.2 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded cocoa-foundation v0.1.2 [INFO] [stderr] Downloaded cocoa v0.24.1 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded io-kit-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 221d630242576320bf754be7ed74e68bb31f9600b7e734175a3f39f32c2b29cd [INFO] running `Command { std: "docker" "start" "-a" "221d630242576320bf754be7ed74e68bb31f9600b7e734175a3f39f32c2b29cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "221d630242576320bf754be7ed74e68bb31f9600b7e734175a3f39f32c2b29cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221d630242576320bf754be7ed74e68bb31f9600b7e734175a3f39f32c2b29cd", kill_on_drop: false }` [INFO] [stdout] 221d630242576320bf754be7ed74e68bb31f9600b7e734175a3f39f32c2b29cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f3f820002124770508b281ff0201467a78fb7a83519ee73d1eb916aad5238fd [INFO] running `Command { std: "docker" "start" "-a" "1f3f820002124770508b281ff0201467a78fb7a83519ee73d1eb916aad5238fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling gilrs-core v0.3.2 [INFO] [stderr] Compiling gilrs v0.8.2 [INFO] [stderr] Compiling input-actions v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `digital_axis` is never read [INFO] [stdout] --> src/action/behavior.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Behavior { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | digital_axis: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Behavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reverse`, `gravity`, and `sensitivity` are never read [INFO] [stdout] --> src/action/behavior.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DigitalAxis { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | reverse: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Speed (units/sec) that the axis value falls toward 0. [INFO] [stdout] 19 | gravity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// Speed to move toward an axis value of 1.0 in units/sec. [INFO] [stdout] 21 | sensitivity: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DigitalAxis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `behavior` is never read [INFO] [stdout] --> src/action/state.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | kind: source::Kind, [INFO] [stdout] 8 | behavior: action::Behavior, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.32s [INFO] running `Command { std: "docker" "inspect" "1f3f820002124770508b281ff0201467a78fb7a83519ee73d1eb916aad5238fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3f820002124770508b281ff0201467a78fb7a83519ee73d1eb916aad5238fd", kill_on_drop: false }` [INFO] [stdout] 1f3f820002124770508b281ff0201467a78fb7a83519ee73d1eb916aad5238fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c69e937e48e087c9698aa79dadbf1728bab2e0c90322f4b198700d75cb1c5684 [INFO] running `Command { std: "docker" "start" "-a" "c69e937e48e087c9698aa79dadbf1728bab2e0c90322f4b198700d75cb1c5684", kill_on_drop: false }` [INFO] [stdout] warning: field `digital_axis` is never read [INFO] [stdout] --> src/action/behavior.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Behavior { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | digital_axis: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Behavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reverse`, `gravity`, and `sensitivity` are never read [INFO] [stdout] --> src/action/behavior.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DigitalAxis { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | reverse: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Speed (units/sec) that the axis value falls toward 0. [INFO] [stdout] 19 | gravity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// Speed to move toward an axis value of 1.0 in units/sec. [INFO] [stdout] 21 | sensitivity: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DigitalAxis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling input-actions v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `behavior` is never read [INFO] [stdout] --> src/action/state.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | kind: source::Kind, [INFO] [stdout] 8 | behavior: action::Behavior, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `digital_axis` is never read [INFO] [stdout] --> src/action/behavior.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Behavior { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | digital_axis: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Behavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reverse`, `gravity`, and `sensitivity` are never read [INFO] [stdout] --> src/action/behavior.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DigitalAxis { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | reverse: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Speed (units/sec) that the axis value falls toward 0. [INFO] [stdout] 19 | gravity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// Speed to move toward an axis value of 1.0 in units/sec. [INFO] [stdout] 21 | sensitivity: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DigitalAxis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `behavior` is never read [INFO] [stdout] --> src/action/state.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | kind: source::Kind, [INFO] [stdout] 8 | behavior: action::Behavior, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "c69e937e48e087c9698aa79dadbf1728bab2e0c90322f4b198700d75cb1c5684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69e937e48e087c9698aa79dadbf1728bab2e0c90322f4b198700d75cb1c5684", kill_on_drop: false }` [INFO] [stdout] c69e937e48e087c9698aa79dadbf1728bab2e0c90322f4b198700d75cb1c5684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 43abfa62cfa0d7d5856053e1d72d0ea7316e7a72d36bd6884251681138d12d0f [INFO] running `Command { std: "docker" "start" "-a" "43abfa62cfa0d7d5856053e1d72d0ea7316e7a72d36bd6884251681138d12d0f", kill_on_drop: false }` [INFO] [stderr] warning: field `digital_axis` is never read [INFO] [stderr] --> src/action/behavior.rs:5:2 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Behavior { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 5 | digital_axis: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Behavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `reverse`, `gravity`, and `sensitivity` are never read [INFO] [stderr] --> src/action/behavior.rs:17:2 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct DigitalAxis { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 17 | reverse: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | /// Speed (units/sec) that the axis value falls toward 0. [INFO] [stderr] 19 | gravity: f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 20 | /// Speed to move toward an axis value of 1.0 in units/sec. [INFO] [stderr] 21 | sensitivity: f32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DigitalAxis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `behavior` is never read [INFO] [stderr] --> src/action/state.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 7 | kind: source::Kind, [INFO] [stderr] 8 | behavior: action::Behavior, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `input-actions` (lib) generated 3 warnings [INFO] [stderr] warning: `input-actions` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/input_actions-2a72ff9c0b8ea589) [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] [stderr] Doc-tests input_actions [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 96) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/lib.rs:101:2 [INFO] [stdout] | [INFO] [stdout] 1 | event_loop.run(move |event, _, _| { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 5 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 3 | let mut input_sys = System::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 10 | .add_action("button1", Action::new(Kind::Button)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - .add_action("button1", Action::new(Kind::Button)) [INFO] [stdout] 10 + .add_action("button1", Option::new(Kind::Button)) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::action::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/lib.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 10 | .add_action("button1", Action::new(Kind::Button)) [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::Kind; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 11 | .add_action("button2", Action::new(Kind::Button)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - .add_action("button2", Action::new(Kind::Button)) [INFO] [stdout] 11 + .add_action("button2", Option::new(Kind::Button)) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::action::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 11 | .add_action("button2", Action::new(Kind::Button)) [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::Kind; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 12 | .add_action("axis1", Action::new(Kind::Axis)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - .add_action("axis1", Action::new(Kind::Axis)) [INFO] [stdout] 12 + .add_action("axis1", Option::new(Kind::Axis)) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::action::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/lib.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 12 | .add_action("axis1", Action::new(Kind::Axis)) [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::Kind; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 13 | .add_action("axis2", Action::new(Kind::Axis)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 - .add_action("axis2", Action::new(Kind::Axis)) [INFO] [stdout] 13 + .add_action("axis2", Option::new(Kind::Axis)) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::action::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/lib.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 13 | .add_action("axis2", Action::new(Kind::Axis)) [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::Kind; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutId` [INFO] [stdout] --> src/lib.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | .add_layout(LayoutId::default()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LayoutId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::LayoutId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionSetId` [INFO] [stdout] --> src/lib.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 20 | ActionSetId::default(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ActionSetId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::ActionSetId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionSet` [INFO] [stdout] --> src/lib.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 21 | ActionSet::default().with( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ActionSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::ActionSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutId` [INFO] [stdout] --> src/lib.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 23 | LayoutId::default(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LayoutId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::LayoutId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionMap` [INFO] [stdout] --> src/lib.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 24 | ActionMap::default() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ActionMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::ActionMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 28 | binding::Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - binding::Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] 28 + Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 28 | binding::Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - binding::Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] 28 + binding::Source::Keyboard(Key::Return).bound(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 29 | binding::Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - binding::Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] 29 + Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 29 | binding::Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - binding::Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] 29 + binding::Source::Keyboard(Key::NumpadEnter).bound(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 30 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] 30 + Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GamepadKind` [INFO] [stdout] --> src/lib.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 30 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GamepadKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::GamepadKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 31 | binding::Source::Button(source::Button::VirtualConfirm [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - binding::Source::Button(source::Button::VirtualConfirm [INFO] [stdout] 31 + Source::Button(source::Button::VirtualConfirm [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 31 | binding::Source::Button(source::Button::VirtualConfirm [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use gilrs::Button; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Button; [INFO] [stdout] | [INFO] [stdout] help: if you import `Button`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - binding::Source::Button(source::Button::VirtualConfirm [INFO] [stdout] 31 + binding::Source::Button(Button::VirtualConfirm [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 38 | binding::Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 38 - binding::Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] 38 + Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 38 | binding::Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 38 - binding::Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] 38 + binding::Source::Keyboard(Key::Escape).bound(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 39 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] 39 + Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GamepadKind` [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 39 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GamepadKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::GamepadKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 40 | binding::Source::Button(source::Button::VirtualDeny) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - binding::Source::Button(source::Button::VirtualDeny) [INFO] [stdout] 40 + Source::Button(source::Button::VirtualDeny) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 40 | binding::Source::Button(source::Button::VirtualDeny) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use gilrs::Button; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Button; [INFO] [stdout] | [INFO] [stdout] help: if you import `Button`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - binding::Source::Button(source::Button::VirtualDeny) [INFO] [stdout] 40 + binding::Source::Button(Button::VirtualDeny) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 47 | binding::Source::Keyboard(source::Key::W).with_modifier(1.0), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - binding::Source::Keyboard(source::Key::W).with_modifier(1.0), [INFO] [stdout] 47 + Source::Keyboard(source::Key::W).with_modifier(1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 47 | binding::Source::Keyboard(source::Key::W).with_modifier(1.0), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - binding::Source::Keyboard(source::Key::W).with_modifier(1.0), [INFO] [stdout] 47 + binding::Source::Keyboard(Key::W).with_modifier(1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 48 | binding::Source::Keyboard(source::Key::S).with_modifier(-1.0), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - binding::Source::Keyboard(source::Key::S).with_modifier(-1.0), [INFO] [stdout] 48 + Source::Keyboard(source::Key::S).with_modifier(-1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 48 | binding::Source::Keyboard(source::Key::S).with_modifier(-1.0), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - binding::Source::Keyboard(source::Key::S).with_modifier(-1.0), [INFO] [stdout] 48 + binding::Source::Keyboard(Key::S).with_modifier(-1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 49 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] 49 + Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GamepadKind` [INFO] [stdout] --> src/lib.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 49 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GamepadKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::GamepadKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 50 | binding::Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - binding::Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] 50 + Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 50 | binding::Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use gilrs::Axis; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Axis; [INFO] [stdout] | [INFO] [stdout] help: if you import `Axis`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - binding::Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] 50 + binding::Source::Axis(Axis::LThumbstickX) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 57 | binding::Source::Keyboard(source::Key::A).with_modifier(-1.0), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - binding::Source::Keyboard(source::Key::A).with_modifier(-1.0), [INFO] [stdout] 57 + Source::Keyboard(source::Key::A).with_modifier(-1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 57 | binding::Source::Keyboard(source::Key::A).with_modifier(-1.0), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - binding::Source::Keyboard(source::Key::A).with_modifier(-1.0), [INFO] [stdout] 57 + binding::Source::Keyboard(Key::A).with_modifier(-1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 58 | binding::Source::Keyboard(source::Key::D).with_modifier(1.0), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - binding::Source::Keyboard(source::Key::D).with_modifier(1.0), [INFO] [stdout] 58 + Source::Keyboard(source::Key::D).with_modifier(1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 58 | binding::Source::Keyboard(source::Key::D).with_modifier(1.0), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Key; [INFO] [stdout] | [INFO] [stdout] help: if you import `Key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - binding::Source::Keyboard(source::Key::D).with_modifier(1.0), [INFO] [stdout] 58 + binding::Source::Keyboard(Key::D).with_modifier(1.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 59 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] 59 + Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GamepadKind` [INFO] [stdout] --> src/lib.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 59 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GamepadKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::device::GamepadKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `binding` [INFO] [stdout] --> src/lib.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 60 | binding::Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `binding` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/binding.rs, use `mod binding` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod binding; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - binding::Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] 60 + Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `source` [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 60 | binding::Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `source` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/source.rs, use `mod source` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod source; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use gilrs::Axis; [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::source::Axis; [INFO] [stdout] | [INFO] [stdout] help: if you import `Axis`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - binding::Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] 60 + binding::Source::Axis(Axis::LThumbstickY) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionSetId` [INFO] [stdout] --> src/lib.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 69 | .enable_action_set_for_all(ActionSetId::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ActionSetId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use input_actions::binding::ActionSetId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 96) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "43abfa62cfa0d7d5856053e1d72d0ea7316e7a72d36bd6884251681138d12d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43abfa62cfa0d7d5856053e1d72d0ea7316e7a72d36bd6884251681138d12d0f", kill_on_drop: false }` [INFO] [stdout] 43abfa62cfa0d7d5856053e1d72d0ea7316e7a72d36bd6884251681138d12d0f