[INFO] fetching crate input-actions 0.1.0... [INFO] testing input-actions-0.1.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate input-actions 0.1.0 into /workspace/builds/worker-90/source [INFO] validating manifest of crates.io crate input-actions 0.1.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate input-actions 0.1.0 [INFO] finished tweaking crates.io crate input-actions 0.1.0 [INFO] tweaked toml for crates.io crate input-actions 0.1.0 written to /workspace/builds/worker-90/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bffbf57380381e1930bc58c8a37e4c47340550584a9e238e938bc55c3fb9c6a [INFO] running `Command { std: "docker" "start" "-a" "9bffbf57380381e1930bc58c8a37e4c47340550584a9e238e938bc55c3fb9c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bffbf57380381e1930bc58c8a37e4c47340550584a9e238e938bc55c3fb9c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bffbf57380381e1930bc58c8a37e4c47340550584a9e238e938bc55c3fb9c6a", kill_on_drop: false }` [INFO] [stdout] 9bffbf57380381e1930bc58c8a37e4c47340550584a9e238e938bc55c3fb9c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a299e29eb0657e43bc1d6211c7df0cff9e3109dc271e12cb6a7e2f0607807613 [INFO] running `Command { std: "docker" "start" "-a" "a299e29eb0657e43bc1d6211c7df0cff9e3109dc271e12cb6a7e2f0607807613", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling nix v0.20.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling gilrs-core v0.3.1 [INFO] [stderr] Compiling gilrs v0.8.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling input-actions v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.57s [INFO] running `Command { std: "docker" "inspect" "a299e29eb0657e43bc1d6211c7df0cff9e3109dc271e12cb6a7e2f0607807613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a299e29eb0657e43bc1d6211c7df0cff9e3109dc271e12cb6a7e2f0607807613", kill_on_drop: false }` [INFO] [stdout] a299e29eb0657e43bc1d6211c7df0cff9e3109dc271e12cb6a7e2f0607807613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46db4d6a6e79783ec45d25a38816b1fea8dc2d89fb743c8baceb642612e02316 [INFO] running `Command { std: "docker" "start" "-a" "46db4d6a6e79783ec45d25a38816b1fea8dc2d89fb743c8baceb642612e02316", kill_on_drop: false }` [INFO] [stderr] Compiling input-actions v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "46db4d6a6e79783ec45d25a38816b1fea8dc2d89fb743c8baceb642612e02316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46db4d6a6e79783ec45d25a38816b1fea8dc2d89fb743c8baceb642612e02316", kill_on_drop: false }` [INFO] [stdout] 46db4d6a6e79783ec45d25a38816b1fea8dc2d89fb743c8baceb642612e02316 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 599475b7526c4d186a6c4fef1f0879a80af009fd8c12741d8032575764757a90 [INFO] running `Command { std: "docker" "start" "-a" "599475b7526c4d186a6c4fef1f0879a80af009fd8c12741d8032575764757a90", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/input_actions-3d9e6f8a30694075) [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: mismatched closing delimiter: `}` [INFO] [stdout] --> src/lib.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_96_0() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 3 | event_loop.run(move |event, _, _| { [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 8 | } _doctest_main_src_lib_rs_96_0() } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `input` [INFO] [stdout] --> src/lib.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 4 | if let Ok((source, input_event)) = input::winit::parse_winit_event(&event) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `input` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `event_loop` in this scope [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 3 | event_loop.run(move |event, _, _| { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input_sys` in this scope [INFO] [stdout] --> src/lib.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 5 | input_sys.send_event(source, input_event); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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 `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] 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] 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] 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] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 28 | binding::Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 29 | binding::Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [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] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 31 | ... binding::Source::Button(source::Button::VirtualConfirm [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 38 | binding::Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [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] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 40 | ... binding::Source::Button(source::Button::VirtualDeny) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `source` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `source` [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] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 50 | ... binding::Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `source` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `source` [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] error[E0433]: failed to resolve: use of undeclared crate or module `source` [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 60 | ... binding::Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `source` [INFO] [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::System; [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [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 `Action` [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 11 | .add_action("button2", Action::new(Kind::Button)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [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 `Action` [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 12 | .add_action("axis1", Action::new(Kind::Axis)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [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 `Action` [INFO] [stdout] --> src/lib.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 13 | .add_action("axis2", Action::new(Kind::Axis)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [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 `LayoutId` [INFO] [stdout] --> src/lib.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | .add_layout(LayoutId::default()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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 undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 28 | binding::Source::Keyboard(source::Key::Return).bound(), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 29 | binding::Source::Keyboard(source::Key::NumpadEnter).bound(), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 30 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... binding::Source::Button(source::Button::VirtualConfirm [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 38 | binding::Source::Keyboard(source::Key::Escape).bound(), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 39 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 40 | ... binding::Source::Button(source::Button::VirtualDeny) [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 47 | binding::Source::Keyboard(source::Key::W).with_modifier(1.0), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 48 | binding::Source::Keyboard(source::Key::S).with_modifier(-1.0), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 49 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 50 | ... binding::Source::Axis(source::Axis::LThumbstickX) [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 57 | binding::Source::Keyboard(source::Key::A).with_modifier(-1.0), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 58 | binding::Source::Keyboard(source::Key::D).with_modifier(1.0), [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 59 | binding::Source::Gamepad(GamepadKind::DualAxisGamepad, [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `binding` [INFO] [stdout] --> src/lib.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 60 | ... binding::Source::Axis(source::Axis::LThumbstickY) [INFO] [stdout] | ^^^^^^ not found in `binding` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::binding::Source; [INFO] [stdout] | [INFO] [stdout] 2 | use input_actions::event::Source; [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] | ^^^^^^^^^^^ not found in this scope [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.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "599475b7526c4d186a6c4fef1f0879a80af009fd8c12741d8032575764757a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599475b7526c4d186a6c4fef1f0879a80af009fd8c12741d8032575764757a90", kill_on_drop: false }` [INFO] [stdout] 599475b7526c4d186a6c4fef1f0879a80af009fd8c12741d8032575764757a90