[INFO] fetching crate libawm 0.1.0... [INFO] testing libawm-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate libawm 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate libawm 0.1.0 [INFO] finished tweaking crates.io crate libawm 0.1.0 [INFO] tweaked toml for crates.io crate libawm 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libawm 0.1.0 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 122 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] [stderr] Adding cairo-rs v0.9.1 (available: v0.21.1) [INFO] [stderr] Adding cairo-sys-rs v0.10.0 (available: v0.21.1) [INFO] [stderr] Adding nix v0.20.0 (available: v0.20.2) [INFO] [stderr] Adding pango v0.9.1 (available: v0.21.1) [INFO] [stderr] Adding pangocairo v0.10.0 (available: v0.21.1) [INFO] [stderr] Adding penrose_keysyms v0.1.1 (available: v0.3.6) [INFO] [stderr] Adding simplelog v0.10.2 (available: v0.12.2) [INFO] [stderr] Adding strum v0.20.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.20.1 (available: v0.27.2) [INFO] [stderr] Adding termcolor v1.1.3 (available: v1.4.1) [INFO] [stderr] Adding test-case v1.2.3 (available: v3.3.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.20) [INFO] [stderr] Adding x11rb v0.8.1 (available: v0.13.2) [INFO] [stderr] Adding xcb v0.9.0 (available: v1.6.0) [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.10.2 [INFO] [stderr] Downloaded test-case v1.2.3 [INFO] [stderr] Downloaded pangocairo-sys v0.11.0 [INFO] [stderr] Downloaded pangocairo v0.10.0 [INFO] [stderr] Downloaded penrose_keysyms v0.1.1 [INFO] [stderr] Downloaded penrose_proc v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 234b5fec989c5d2737ba9bb1d3e23c62591e01061300193641b0cd39e5a709ee [INFO] running `Command { std: "docker" "start" "-a" "234b5fec989c5d2737ba9bb1d3e23c62591e01061300193641b0cd39e5a709ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "234b5fec989c5d2737ba9bb1d3e23c62591e01061300193641b0cd39e5a709ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "234b5fec989c5d2737ba9bb1d3e23c62591e01061300193641b0cd39e5a709ee", kill_on_drop: false }` [INFO] [stdout] 234b5fec989c5d2737ba9bb1d3e23c62591e01061300193641b0cd39e5a709ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] be5ce487b4a107d9866596705d9e488716d7fd9938b54833c65b8dff81541d56 [INFO] running `Command { std: "docker" "start" "-a" "be5ce487b4a107d9866596705d9e488716d7fd9938b54833c65b8dff81541d56", kill_on_drop: false }` [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pangocairo v0.10.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling penrose_keysyms v0.1.1 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pangocairo-sys v0.11.0 [INFO] [stderr] Compiling penrose_proc v0.1.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stderr] Compiling libawm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `clients_for_workspace` and `apply_arrange_actions` are never used [INFO] [stdout] --> src/core/manager/clients.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Clients { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn clients_for_workspace(&self, wix: usize) -> Vec<&Client> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn apply_arrange_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_workspace` is never read [INFO] [stdout] --> src/core/manager/workspaces.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub(super) struct Workspaces { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 27 | inner: Ring, [INFO] [stdout] 28 | pub(super) previous_workspace: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workspaces` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.06s [INFO] running `Command { std: "docker" "inspect" "be5ce487b4a107d9866596705d9e488716d7fd9938b54833c65b8dff81541d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5ce487b4a107d9866596705d9e488716d7fd9938b54833c65b8dff81541d56", kill_on_drop: false }` [INFO] [stdout] be5ce487b4a107d9866596705d9e488716d7fd9938b54833c65b8dff81541d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e748084afdc176777d30f2e5577df1d404692616dde6101d6c57815a900883f5 [INFO] running `Command { std: "docker" "start" "-a" "e748084afdc176777d30f2e5577df1d404692616dde6101d6c57815a900883f5", kill_on_drop: false }` [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling test-case v1.2.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling simplelog v0.10.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling pangocairo-sys v0.11.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling pangocairo v0.10.0 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stderr] Compiling libawm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `clients_for_workspace` and `apply_arrange_actions` are never used [INFO] [stdout] --> src/core/manager/clients.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Clients { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn clients_for_workspace(&self, wix: usize) -> Vec<&Client> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn apply_arrange_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_workspace` is never read [INFO] [stdout] --> src/core/manager/workspaces.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub(super) struct Workspaces { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 27 | inner: Ring, [INFO] [stdout] 28 | pub(super) previous_workspace: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workspaces` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clients_for_workspace` and `apply_arrange_actions` are never used [INFO] [stdout] --> src/core/manager/clients.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Clients { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn clients_for_workspace(&self, wix: usize) -> Vec<&Client> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn apply_arrange_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `previous_workspace` is never read [INFO] [stdout] --> src/core/manager/workspaces.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub(super) struct Workspaces { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 27 | inner: Ring, [INFO] [stdout] 28 | pub(super) previous_workspace: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workspaces` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/core/xconnection/mod.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | pub struct MockXConn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.04s [INFO] running `Command { std: "docker" "inspect" "e748084afdc176777d30f2e5577df1d404692616dde6101d6c57815a900883f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e748084afdc176777d30f2e5577df1d404692616dde6101d6c57815a900883f5", kill_on_drop: false }` [INFO] [stdout] e748084afdc176777d30f2e5577df1d404692616dde6101d6c57815a900883f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d31280e2903bac6a99a2a3ac3a1111d00a6c5b6e4d57f91be421dc8b60e68326 [INFO] running `Command { std: "docker" "start" "-a" "d31280e2903bac6a99a2a3ac3a1111d00a6c5b6e4d57f91be421dc8b60e68326", kill_on_drop: false }` [INFO] [stderr] warning: methods `clients_for_workspace` and `apply_arrange_actions` are never used [INFO] [stderr] --> src/core/manager/clients.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Clients { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn clients_for_workspace(&self, wix: usize) -> Vec<&Client> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 266 | pub fn apply_arrange_actions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `previous_workspace` is never read [INFO] [stderr] --> src/core/manager/workspaces.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 26 | pub(super) struct Workspaces { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 27 | inner: Ring, [INFO] [stderr] 28 | pub(super) previous_workspace: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Workspaces` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/core/xconnection/mod.rs:618:5 [INFO] [stderr] | [INFO] [stderr] 618 | pub struct MockXConn { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | missing_docs, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libawm` (lib) generated 2 warnings [INFO] [stderr] warning: `libawm` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libawm-ddf478390768b4a7) [INFO] [stdout] [INFO] [stdout] running 142 tests [INFO] [stdout] test core::manager::clients::tests::client_lost_focus_on_focused_clears_focused_client_id ... ok [INFO] [stdout] test core::manager::clients::tests::toggle_fullscreen_multiple_clients_off ... ok [INFO] [stdout] test core::manager::clients::tests::toggle_fullscreen_multiple_clients_on ... ok [INFO] [stdout] test core::manager::clients::tests::toggle_fullscreen_single_client_off ... ok [INFO] [stdout] test core::manager::clients::tests::toggle_fullscreen_single_client_on ... ok [INFO] [stdout] test core::manager::screens::tests::changing_focus_generates_event_actions ... ok [INFO] [stdout] test core::manager::screens::tests::changing_focus_only_generates_event_actions_on_change ... ok [INFO] [stdout] test core::manager::screens::tests::cycle_screen_does_not_generate_event_actions_when_unable_to_cycle ... ok [INFO] [stdout] test core::manager::screens::tests::cycle_screen_generates_event_actions ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_doesnt_generates_events_when_screens_are_unchanged ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_generates_events_when_there_is_a_change ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_fewer_retains_from_left ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_more_truncates ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_new_take_first_available_2 ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_new_take_first_available_0 ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_non_default_workspaces ... ok [INFO] [stdout] test core::manager::screens::tests::update_known_screens_unchanged ... ok [INFO] [stdout] test core::manager::tests::client ... ok [INFO] [stdout] test core::manager::tests::client_to_invalid_workspace_is_noop ... ok [INFO] [stdout] test core::manager::tests::client_to_screen ... ok [INFO] [stdout] test core::manager::tests::client_mut ... ok [INFO] [stdout] test core::manager::tests::client_to_workspace_sets_focus ... ok [INFO] [stdout] test core::manager::tests::cycle_client_updates_focus ... ok [INFO] [stdout] test core::manager::tests::cycle_layout ... ok [INFO] [stdout] test core::manager::tests::client_to_workspace ... ok [INFO] [stdout] test core::manager::tests::cycle_screen_backwards_on_first_screen ... ok [INFO] [stdout] test core::manager::tests::cycle_screen_backwards_on_second_screen ... ok [INFO] [stdout] test core::manager::tests::client_to_screen_sets_correct_workspace ... ok [INFO] [stdout] test core::manager::tests::cycle_screen_forwards_on_last_screen ... ok [INFO] [stdout] test core::manager::tests::client_to_workspace_inserts_at_head ... ok [INFO] [stdout] test core::manager::tests::cycle_screen_forwards_on_first_screen ... ok [INFO] [stdout] test core::manager::tests::cycle_screen_updates_active ... ok [INFO] [stdout] test core::manager::tests::drag_client ... ok [INFO] [stdout] test core::manager::tests::focus_screen_different ... ok [INFO] [stdout] test core::manager::tests::focus_screen_same ... ok [INFO] [stdout] test core::manager::tests::dragging_clients_forward_from_index_0 ... ok [INFO] [stdout] test core::manager::tests::focus_client_no_clients ... ok [INFO] [stdout] test core::manager::tests::focus_client ... ok [INFO] [stdout] test core::manager::tests::client_to_invalid_screen_is_noop ... ok [INFO] [stdout] test core::manager::tests::focus_workspace_sets_focus_in_ring ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_cycle_layout ... ok [INFO] [stdout] test core::manager::tests::cycle_workspace_updates_focused ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_cycle_workspace ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_exit ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_client_to_screen ... ok [INFO] [stdout] test core::manager::tests::drag_workspace_move_focused_workspaces_between_screens ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_drag_workspace ... ok [INFO] [stdout] test core::manager::tests::killing_a_client_does_not_remove_it_from_the_workspace ... ok [INFO] [stdout] test core::manager::tests::getting_all_clients_on_workspace ... ok [INFO] [stdout] test core::manager::tests::focus_workspace ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_cycle_client ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_drag_client ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_focus_workspace ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_client_to_workspace ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_kill_client ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_focus_client ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_layout_screen ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_remove_workspace ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_set_client_insert_point ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_set_root_window_name ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_rotate_clients ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_update_main_ratio ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_update_max_main ... ok [INFO] [stdout] test core::manager::tests::screen ... ok [INFO] [stdout] test core::manager::tests::rotate_clients ... ok [INFO] [stdout] test core::manager::tests::selector_workspace ... ok [INFO] [stdout] test core::manager::tests::selector_screen ... ok [INFO] [stdout] test core::manager::tests::selector_client ... ok [INFO] [stdout] test core::manager::tests::toggle_client_fullscreen ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_toggle_workspace ... ok [INFO] [stdout] test core::manager::tests::toggle_workspace ... ok [INFO] [stdout] test core::manager::tests::update_focus_client_does_not_accept_focus_different ... ok [INFO] [stdout] test core::manager::tests::update_focus_client_does_not_accept_focus_same ... ok [INFO] [stdout] test core::manager::tests::update_focus_client_is_unknown_workspace_empty ... ok [INFO] [stdout] test core::manager::tests::unmanaged_window_types_are_not_added_to_workspaces ... ok [INFO] [stdout] test core::manager::tests::update_focus_client_is_unknown_workspace_populated ... ok [INFO] [stdout] test core::manager::tests::x_focus_events_set_workspace_focus ... ok [INFO] [stdout] test core::manager::util::tests::pad_region_centered ... ok [INFO] [stdout] test core::manager::tests::updating_screens_retains_focused_workspaces ... ok [INFO] [stdout] test core::manager::util::tests::pad_region_tiny ... ok [INFO] [stdout] test core::manager::tests::update_focus_client_is_current_focus ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_position_client ... ok [INFO] [stdout] test core::manager::util::tests::position_floating ... ok [INFO] [stdout] test core::manager::util::tests::position_floating_tiny ... ok [INFO] [stdout] test core::manager::workspaces::tests::add_duplicate_client_is_error ... ok [INFO] [stdout] test core::manager::workspaces::tests::add_workspace ... ok [INFO] [stdout] test core::manager::tests::update_focus_client_is_not_current_focus ... ok [INFO] [stdout] test core::manager::tests::workspace_switching_with_active_clients ... ok [INFO] [stdout] test core::manager::workspaces::tests::push_workspace ... ok [INFO] [stdout] test core::manager::workspaces::tests::remove_workspace ... ok [INFO] [stdout] test core::manager::tests::layout_trigger_test_toggle_client_fullscreen ... ok [INFO] [stdout] test core::manager::workspaces::tests::remove_workspace_unknown_is_error ... ok [INFO] [stdout] test core::ring::tests::all_elements ... ok [INFO] [stdout] test core::manager::workspaces::tests::set_client_insert_point ... ok [INFO] [stdout] test core::ring::tests::apply_to ... ok [INFO] [stdout] test core::ring::tests::cycle_focus ... ok [INFO] [stdout] test core::ring::tests::dragging_an_element_backward ... ok [INFO] [stdout] test core::ring::tests::dragging_an_element_forward ... ok [INFO] [stdout] test core::ring::tests::element ... ok [INFO] [stdout] test core::ring::tests::focus ... ok [INFO] [stdout] test core::ring::tests::indexed_element ... ok [INFO] [stdout] test core::ring::tests::indices_are_in_bounds ... ok [INFO] [stdout] test core::ring::tests::insert_points ... ok [INFO] [stdout] test core::ring::tests::remove ... ok [INFO] [stdout] test core::ring::tests::remove_focused ... ok [INFO] [stdout] test core::ring::tests::rotate_holds_focus_but_permutes_order ... ok [INFO] [stdout] test core::ring::tests::vec_map ... ok [INFO] [stdout] test core::workspace::tests::adding_a_client ... ok [INFO] [stdout] test core::workspace::tests::applying_a_layout_gives_one_action_per_client ... ok [INFO] [stdout] test core::workspace::tests::dragging_a_client_forward ... ok [INFO] [stdout] test core::workspace::tests::dragging_non_index_0_client_backward ... ok [INFO] [stdout] test core::workspace::tests::ref_to_focused_client_when_empty ... ok [INFO] [stdout] test core::workspace::tests::ref_to_focused_client_when_populated ... ok [INFO] [stdout] test core::workspace::tests::removing_a_client_when_not_present ... ok [INFO] [stdout] test core::xconnection::tests::window_name_net_wm_name_empty ... ok [INFO] [stdout] test core::xconnection::tests::window_name_both_prefers_net ... ok [INFO] [stdout] test draw::tests::color_from_hex_rgba_black_alpha ... ok [INFO] [stdout] test core::xconnection::tests::window_name_net_wm_name_only ... ok [INFO] [stdout] test draw::tests::color_from_hex_rgba_blue ... ok [INFO] [stdout] test draw::tests::color_from_hex_rgba_green ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_alpha1 ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_no_alpha_black ... ok [INFO] [stdout] test draw::tests::color_from_hex_rgba_red ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_no_alpha_blue ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_no_alpha_red ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_no_alpha_white ... ok [INFO] [stdout] test draw::tests::color_rgb_u32_black ... ok [INFO] [stdout] test draw::tests::color_rgb_u32_blue ... ok [INFO] [stdout] test draw::tests::color_from_hex_rgba_white ... ok [INFO] [stdout] test core::workspace::tests::removing_a_client_when_present ... ok [INFO] [stdout] test core::xconnection::tests::window_name_wm_name_only ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_alpha0 ... ok [INFO] [stdout] test draw::tests::color_from_str_or_string_no_alpha_green ... ok [INFO] [stdout] test draw::tests::color_from_hex_rgba_black ... ok [INFO] [stdout] test draw::tests::color_rgb_u32_green ... ok [INFO] [stderr] Doc-tests libawm [INFO] [stdout] test draw::tests::color_rgba_u32_red ... ok [INFO] [stdout] test draw::tests::color_rgba_u32_white ... ok [INFO] [stdout] test draw::tests::color_rgb_u32_red ... ok [INFO] [stdout] test draw::tests::color_rgba_u32_black ... ok [INFO] [stdout] test draw::tests::color_rgba_u32_blue ... ok [INFO] [stdout] test draw::tests::color_rgba_u32_green ... ok [INFO] [stdout] test draw::tests::color_rgb_u32_white ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 142 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test src/core/hooks.rs - core::hooks (line 20) - compile ... FAILED [INFO] [stdout] test src/core/layout.rs - core::layout (line 16) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::contains_point (line 194) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::as_rows (line 246) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::values (line 117) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::split_at_width (line 299) ... FAILED [INFO] [stdout] test src/contrib/extensions/notify_send.rs - contrib::extensions::notify_send::notify_send (line 57) - compile ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::split_at_height (line 339) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::contains (line 171) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::scale_w (line 133) ... FAILED [INFO] [stdout] test src/contrib/extensions/dmenu.rs - contrib::extensions::dmenu::DMenu::run (line 125) - compile ... FAILED [INFO] [stdout] test src/contrib/hooks.rs - contrib::hooks::ClientSpawnRules (line 155) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::scale_h (line 152) ... FAILED [INFO] [stdout] test src/core/config.rs - core::config::ConfigBuilder (line 12) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::as_columns (line 271) ... FAILED [INFO] [stdout] test src/core/data_types.rs - core::data_types::Region::centered_in (line 213) ... FAILED [INFO] [stdout] test src/core/macros.rs - core::macros::gen_keybindings (line 104) - compile ... FAILED [INFO] [stdout] test src/core/config.rs - core::config::Config (line 14) ... FAILED [INFO] [stdout] test src/core/macros.rs - core::macros::run_external (line 7) - compile ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::client_ids (line 126) ... FAILED [INFO] [stdout] test src/core/macros.rs - core::macros::run_internal (line 26) - compile ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::cycle_client (line 367) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::drag_client (line 401) ... FAILED [INFO] [stdout] test src/core/macros.rs - core::macros::map (line 79) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::focus_client (line 190) ... FAILED [INFO] [stdout] test src/core/macros.rs - core::macros::gen_keybindings (line 163) - compile ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::rotate_clients (line 425) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::layout_conf (line 350) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::add_client (line 161) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::remove_focused_client (line 236) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::layout_symbol (line 333) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::cycle_layout (line 314) ... FAILED [INFO] [stdout] test src/core/macros.rs - core::macros::gen_keybindings (line 141) - compile ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::focused_client (line 142) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::iter (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) - compile ... FAILED [INFO] [stdout] test src/draw/bar.rs - draw::bar (line 12) - compile ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::try_set_layout (line 290) ... FAILED [INFO] [stdout] test src/core/workspace.rs - core::workspace::Workspace::remove_client (line 213) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/core/hooks.rs - core::hooks (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/hooks.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 2 | use penrose::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `penrose` [INFO] [stdout] --> src/core/hooks.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 2 | use penrose::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/hooks.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 50 | fn main() -> penrose::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/layout.rs - core::layout (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/layout.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::contains_point (line 194) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::{Point, Region}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::as_rows (line 246) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::values (line 117) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::split_at_width (line 299) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/contrib/extensions/notify_send.rs - contrib::extensions::notify_send::notify_send (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/contrib/extensions/notify_send.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::{contrib::extensions::notify_send::*}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `notify_send` in this scope [INFO] [stdout] --> src/contrib/extensions/notify_send.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 5 | notify_send("My Notification", "hello from penrose!", NotifyConfig::default())?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::notify_send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotifyConfig` [INFO] [stdout] --> src/contrib/extensions/notify_send.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 5 | notify_send("My Notification", "hello from penrose!", NotifyConfig::default())?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `NotifyConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::NotifyConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/contrib/extensions/notify_send.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn example() -> penrose::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [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/core/data_types.rs - core::data_types::Region::split_at_height (line 339) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::contains (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::scale_w (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/contrib/extensions/dmenu.rs - contrib::extensions::dmenu::DMenu::run (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::{contrib::extensions::dmenu::*, WindowManager, XcbConnection}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `penrose` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::{contrib::extensions::dmenu::*, WindowManager, XcbConnection}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DMenu` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 6 | let menu = DMenu::new(">>>", lines, DMenuConfig::default()); [INFO] [stdout] | ^^^^^ use of undeclared type `DMenu` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::DMenu; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DMenuConfig` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 6 | let menu = DMenu::new(">>>", lines, DMenuConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DMenuConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::DMenuConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuMatch` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 11 | MenuMatch::Line(i, s) => println!("matched '{}' on line '{}'", s, i), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MenuMatch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::MenuMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuMatch` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 12 | MenuMatch::UserInput(s) => println!("user input: '{}'", s), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MenuMatch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::MenuMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuMatch` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 13 | MenuMatch::NoMatch => println!("no match"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MenuMatch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::contrib::extensions::MenuMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/contrib/extensions/dmenu.rs:127:59 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(manager: &mut WindowManager) -> penrose::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/contrib/hooks.rs - contrib::hooks::ClientSpawnRules (line 155) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/contrib/hooks.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::scale_h (line 152) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/config.rs - core::config::ConfigBuilder (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::{config::Config, layout::{LayoutConf, Layout, side_stack, monocle}}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::as_columns (line 271) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/data_types.rs - core::data_types::Region::centered_in (line 213) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/data_types.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::core::data_types::Region; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/macros.rs - core::macros::gen_keybindings (line 104) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/core/macros.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `gen_keybindings` in this scope [INFO] [stdout] --> src/core/macros.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 6 | let key_bindings = gen_keybindings! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::gen_keybindings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestKeyBindings` in this scope [INFO] [stdout] --> src/core/macros.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn example() -> TestKeyBindings { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/config.rs - core::config::Config (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/config.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::{Config, draw::Color}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `penrose` [INFO] [stdout] --> src/core/config.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::{Config, draw::Color}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/macros.rs - core::macros::run_external (line 7) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/core/macros.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_external` in this scope [INFO] [stdout] --> src/core/macros.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 7 | run_external!("dmenu_run") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::run_external; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestKeyHandler` in this scope [INFO] [stdout] --> src/core/macros.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn example() -> TestKeyHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::client_ids (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 8 | example(test_workspace("example", 5)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/macros.rs - core::macros::run_internal (line 26) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/core/macros.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_internal` in this scope [INFO] [stdout] --> src/core/macros.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 7 | run_internal!(cycle_client, Forward) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::run_internal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestKeyHandler` in this scope [INFO] [stdout] --> src/core/macros.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn example() -> TestKeyHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::cycle_client (line 367) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:372:35 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(workspace.cycle_client(Forward), Some((0, 1))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(workspace.cycle_client(Forward), Some((1, 2))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:374:35 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(workspace.cycle_client(Forward), Some((2, 0))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 12 | example(test_workspace("example", 3)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:369:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::drag_client (line 401) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:403:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:407:34 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(workspace.drag_client(Forward), Some(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 13 | example(test_workspace("example", 3)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:403:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/macros.rs - core::macros::map (line 79) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/core/macros.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map` in this scope [INFO] [stdout] --> src/core/macros.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 4 | map! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::focus_client (line 190) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 11 | example(test_workspace("example", 5)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/macros.rs - core::macros::gen_keybindings (line 163) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/core/macros.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `gen_keybindings` in this scope [INFO] [stdout] --> src/core/macros.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 6 | gen_keybindings! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::gen_keybindings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestKeyBindings` in this scope [INFO] [stdout] --> src/core/macros.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn example() -> TestKeyBindings { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::rotate_clients (line 425) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:427:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 8 | workspace.rotate_clients(Forward); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 12 | workspace.rotate_clients(Forward); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 17 | example(test_workspace("example", 4)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:427:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::layout_conf (line 350) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutConf` [INFO] [stdout] --> src/core/workspace.rs:353:37 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(workspace.layout_conf(), LayoutConf::default()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LayoutConf` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 8 | example(test_workspace("example", 2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:352:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::add_client (line 161) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> penrose::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InsertPoint` [INFO] [stdout] --> src/core/workspace.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 7 | workspace.add_client(1, &InsertPoint::Last)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `InsertPoint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::InsertPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InsertPoint` [INFO] [stdout] --> src/core/workspace.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 10 | workspace.add_client(2, &InsertPoint::First)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `InsertPoint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::InsertPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 14 | example(test_workspace("example", 1)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:163:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> penrose::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::remove_focused_client (line 236) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 14 | example(test_workspace("example", 2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::layout_symbol (line 333) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 8 | example(test_workspace("example", 2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:335:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::cycle_layout (line 314) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:318:35 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(workspace.cycle_layout(Forward), "second"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Forward` in this scope [INFO] [stdout] --> src/core/workspace.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(workspace.cycle_layout(Forward), "first"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 10 | example(test_workspace("example", 2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:316:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/macros.rs - core::macros::gen_keybindings (line 141) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/core/macros.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `gen_keybindings` in this scope [INFO] [stdout] --> src/core/macros.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 6 | gen_keybindings! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::gen_keybindings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestKeyBindings` in this scope [INFO] [stdout] --> src/core/macros.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn example() -> TestKeyBindings { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::focused_client (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 11 | example(test_workspace("example", 5)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::iter (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Xid` in this scope [INFO] [stdout] --> src/core/workspace.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 5 | let ids: Vec = workspace.iter().map(|id| *id).collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Xid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 10 | example(test_workspace("example", 5)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `penrose` [INFO] [stdout] --> src/lib.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate penrose; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `gen_keybindings` in this scope [INFO] [stdout] --> src/lib.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 12 | let key_bindings = gen_keybindings! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use libawm::gen_keybindings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map` in this scope [INFO] [stdout] --> src/lib.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 40 | wm.grab_keys_and_run(key_bindings, map!{}) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use libawm::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/draw/bar.rs - draw::bar (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/draw/bar.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/draw/bar.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 4 | use penrose::core::hooks::Hooks; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/draw/bar.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 5 | use penrose::draw::{Color, dwm_bar, TextStyle}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/draw/bar.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 6 | use penrose::xcb::{XcbDraw, new_xcb_backed_window_manager}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `penrose::core::hooks::Hooks`, `penrose::draw::Color`, `penrose::draw::dwm_bar`, `penrose::draw::TextStyle`, `penrose::xcb::XcbDraw`, `penrose::xcb::new_xcb_backed_window_manager` [INFO] [stdout] --> src/draw/bar.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 4 | use penrose::core::hooks::Hooks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use penrose::draw::{Color, dwm_bar, TextStyle}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | use penrose::xcb::{XcbDraw, new_xcb_backed_window_manager}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/draw/bar.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 24 | let config = Config::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use simplelog::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `logging_error_handler` in this scope [INFO] [stdout] --> src/draw/bar.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 35 | let mut wm = new_xcb_backed_window_manager(config, hooks, logging_error_handler())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use libawm::logging_error_handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/draw/bar.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 10 | fn example() -> penrose::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::try_set_layout (line 290) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 14 | example(test_workspace("example", 2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:292:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/workspace.rs - core::workspace::Workspace::remove_client (line 213) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `penrose` [INFO] [stdout] --> src/core/workspace.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 3 | use penrose::__test_helpers::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `penrose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `penrose`, use `cargo add penrose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_workspace` in this scope [INFO] [stdout] --> src/core/workspace.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 14 | example(test_workspace("example", 5)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/core/workspace.rs:215:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | fn example(mut workspace: Workspace) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/contrib/extensions/dmenu.rs - contrib::extensions::dmenu::DMenu::run (line 125) [INFO] [stdout] src/contrib/extensions/notify_send.rs - contrib::extensions::notify_send::notify_send (line 57) [INFO] [stdout] src/contrib/hooks.rs - contrib::hooks::ClientSpawnRules (line 155) [INFO] [stdout] src/core/config.rs - core::config::Config (line 14) [INFO] [stdout] src/core/config.rs - core::config::ConfigBuilder (line 12) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::as_columns (line 271) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::as_rows (line 246) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::centered_in (line 213) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::contains (line 171) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::contains_point (line 194) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::scale_h (line 152) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::scale_w (line 133) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::split_at_height (line 339) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::split_at_width (line 299) [INFO] [stdout] src/core/data_types.rs - core::data_types::Region::values (line 117) [INFO] [stdout] src/core/hooks.rs - core::hooks (line 20) [INFO] [stdout] src/core/layout.rs - core::layout (line 16) [INFO] [stdout] src/core/macros.rs - core::macros::gen_keybindings (line 104) [INFO] [stdout] src/core/macros.rs - core::macros::gen_keybindings (line 141) [INFO] [stdout] src/core/macros.rs - core::macros::gen_keybindings (line 163) [INFO] [stdout] src/core/macros.rs - core::macros::map (line 79) [INFO] [stdout] src/core/macros.rs - core::macros::run_external (line 7) [INFO] [stdout] src/core/macros.rs - core::macros::run_internal (line 26) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::add_client (line 161) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::client_ids (line 126) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::cycle_client (line 367) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::cycle_layout (line 314) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::drag_client (line 401) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::focus_client (line 190) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::focused_client (line 142) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::iter (line 108) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::layout_conf (line 350) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::layout_symbol (line 333) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::remove_client (line 213) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::remove_focused_client (line 236) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::rotate_clients (line 425) [INFO] [stdout] src/core/workspace.rs - core::workspace::Workspace::try_set_layout (line 290) [INFO] [stdout] src/draw/bar.rs - draw::bar (line 12) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 39 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d31280e2903bac6a99a2a3ac3a1111d00a6c5b6e4d57f91be421dc8b60e68326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31280e2903bac6a99a2a3ac3a1111d00a6c5b6e4d57f91be421dc8b60e68326", kill_on_drop: false }` [INFO] [stdout] d31280e2903bac6a99a2a3ac3a1111d00a6c5b6e4d57f91be421dc8b60e68326