[INFO] fetching crate input-actions 0.1.1... [INFO] testing input-actions-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate input-actions 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate input-actions 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e2cac391ea0e79f3856d10ba713452f0ff734e0cc29ece5e375d496ce445b80 [INFO] running `Command { std: "docker" "start" "-a" "7e2cac391ea0e79f3856d10ba713452f0ff734e0cc29ece5e375d496ce445b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e2cac391ea0e79f3856d10ba713452f0ff734e0cc29ece5e375d496ce445b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2cac391ea0e79f3856d10ba713452f0ff734e0cc29ece5e375d496ce445b80", kill_on_drop: false }` [INFO] [stdout] 7e2cac391ea0e79f3856d10ba713452f0ff734e0cc29ece5e375d496ce445b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9511bad4bdbbae9ae8b9038d93ce90fa3e1da788210891425febac3845837ea6 [INFO] running `Command { std: "docker" "start" "-a" "9511bad4bdbbae9ae8b9038d93ce90fa3e1da788210891425febac3845837ea6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling uuid 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 memmap2 v0.3.1 [INFO] [stderr] Compiling nix v0.23.2 [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)]` (part of `#[warn(unused)]`) 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 1m 06s [INFO] running `Command { std: "docker" "inspect" "9511bad4bdbbae9ae8b9038d93ce90fa3e1da788210891425febac3845837ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9511bad4bdbbae9ae8b9038d93ce90fa3e1da788210891425febac3845837ea6", kill_on_drop: false }` [INFO] [stdout] 9511bad4bdbbae9ae8b9038d93ce90fa3e1da788210891425febac3845837ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3899a219e95654c9e0190925bd5faa2bd7e6861ce72539fdad6121fc2694314f [INFO] running `Command { std: "docker" "start" "-a" "3899a219e95654c9e0190925bd5faa2bd7e6861ce72539fdad6121fc2694314f", 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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.94s [INFO] running `Command { std: "docker" "inspect" "3899a219e95654c9e0190925bd5faa2bd7e6861ce72539fdad6121fc2694314f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3899a219e95654c9e0190925bd5faa2bd7e6861ce72539fdad6121fc2694314f", kill_on_drop: false }` [INFO] [stdout] 3899a219e95654c9e0190925bd5faa2bd7e6861ce72539fdad6121fc2694314f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1fcfabb5059ae279e05ba72c53fde0cbfc5dfa00cce0730884733d21d561ab1 [INFO] running `Command { std: "docker" "start" "-a" "d1fcfabb5059ae279e05ba72c53fde0cbfc5dfa00cce0730884733d21d561ab1", 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)]` (part of `#[warn(unused)]`) 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.13s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/input_actions-adab1c0da91e4523) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests input_actions [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] [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d1fcfabb5059ae279e05ba72c53fde0cbfc5dfa00cce0730884733d21d561ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1fcfabb5059ae279e05ba72c53fde0cbfc5dfa00cce0730884733d21d561ab1", kill_on_drop: false }` [INFO] [stdout] d1fcfabb5059ae279e05ba72c53fde0cbfc5dfa00cce0730884733d21d561ab1