[INFO] cloning repository https://github.com/ThyW/crubwm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThyW/crubwm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThyW%2Fcrubwm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThyW%2Fcrubwm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de8fe80016427fdaf04275a33d3615677d824322 [INFO] checking ThyW/crubwm against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThyW%2Fcrubwm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThyW/crubwm on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThyW/crubwm [INFO] finished tweaking git repo https://github.com/ThyW/crubwm [INFO] tweaked toml for git repo https://github.com/ThyW/crubwm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThyW/crubwm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gethostname v0.2.2 [INFO] [stderr] Downloaded cairo-sys-rs v0.15.1 [INFO] [stderr] Downloaded glib-macros v0.15.11 [INFO] [stderr] Downloaded glib-sys v0.15.10 [INFO] [stderr] Downloaded cairo-rs v0.15.12 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded glib v0.15.12 [INFO] [stderr] Downloaded x11 v2.19.1 [INFO] [stderr] Downloaded nix v0.24.1 [INFO] [stderr] Downloaded system-deps v6.0.2 [INFO] [stderr] Downloaded gobject-sys v0.15.10 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded hp v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b30c4da903ee2326ebc8bced6b75b2ec6ca1a9f1c8cb0b0ed7a872b0ea461b2 [INFO] running `Command { std: "docker" "start" "-a" "0b30c4da903ee2326ebc8bced6b75b2ec6ca1a9f1c8cb0b0ed7a872b0ea461b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b30c4da903ee2326ebc8bced6b75b2ec6ca1a9f1c8cb0b0ed7a872b0ea461b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b30c4da903ee2326ebc8bced6b75b2ec6ca1a9f1c8cb0b0ed7a872b0ea461b2", kill_on_drop: false }` [INFO] [stdout] 0b30c4da903ee2326ebc8bced6b75b2ec6ca1a9f1c8cb0b0ed7a872b0ea461b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16bb7459762698857f12f7f94c38174a34a6f129bad6e15baa53287f4216338e [INFO] running `Command { std: "docker" "start" "-a" "16bb7459762698857f12f7f94c38174a34a6f129bad6e15baa53287f4216338e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling crubwm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hp v1.0.0 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Compiling cfg-expr v0.10.3 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking gethostname v0.2.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking x11rb-protocol v0.10.0 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling glib-macros v0.15.11 [INFO] [stderr] Checking glib v0.15.12 [INFO] [stderr] Checking x11rb v0.10.1 [INFO] [stderr] Checking cairo-rs v0.15.12 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.21s [INFO] running `Command { std: "docker" "inspect" "16bb7459762698857f12f7f94c38174a34a6f129bad6e15baa53287f4216338e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16bb7459762698857f12f7f94c38174a34a6f129bad6e15baa53287f4216338e", kill_on_drop: false }` [INFO] [stdout] 16bb7459762698857f12f7f94c38174a34a6f129bad6e15baa53287f4216338e [INFO] checking ThyW/crubwm against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThyW%2Fcrubwm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThyW/crubwm on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThyW/crubwm [INFO] finished tweaking git repo https://github.com/ThyW/crubwm [INFO] tweaked toml for git repo https://github.com/ThyW/crubwm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThyW/crubwm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13e3a5f478043209f640bd437724883b9f528fe8bdd833a657b70252ad11e4e4 [INFO] running `Command { std: "docker" "start" "-a" "13e3a5f478043209f640bd437724883b9f528fe8bdd833a657b70252ad11e4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13e3a5f478043209f640bd437724883b9f528fe8bdd833a657b70252ad11e4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e3a5f478043209f640bd437724883b9f528fe8bdd833a657b70252ad11e4e4", kill_on_drop: false }` [INFO] [stdout] 13e3a5f478043209f640bd437724883b9f528fe8bdd833a657b70252ad11e4e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26e4c3885e0e85e38b39d6bb417ca24e5e4655ddc980c8ea631091878c28e9b0 [INFO] running `Command { std: "docker" "start" "-a" "26e4c3885e0e85e38b39d6bb417ca24e5e4655ddc980c8ea631091878c28e9b0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling crubwm v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling cfg-expr v0.10.3 [INFO] [stderr] Checking hp v1.0.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking gethostname v0.2.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking x11rb-protocol v0.10.0 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling glib-macros v0.15.11 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Checking glib v0.15.12 [INFO] [stderr] Checking cairo-rs v0.15.12 [INFO] [stderr] Checking x11rb v0.10.1 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.31s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling crubwm v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.workspaces` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 494 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 495 | for workspace in self.workspaces.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 502 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.workspaces` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 494 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 495 | for workspace in self.workspaces.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 502 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 775 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 781 | self.manage_window(window_id)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 785 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 775 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 781 | self.manage_window(window_id)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 785 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:796:29 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 795 | let geometry = self.connection().get_geometry(window)?.reply()?; [INFO] [stdout] 796 | let new_client_id = self.new_client_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:799:25 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 799 | let workspace = self.get_workspace_under_cursor_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 804 | self.focus_workspace(id, false)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:818:21 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 818 | self.get_focused_workspace_mut()?.insert_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:827:13 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 827 | self.get_focused_workspace_mut()?.insert_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 877 | self.get_focused_workspace_mut()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 878 | .apply_layout(connection, None, default_colormap)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:796:29 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 795 | let geometry = self.connection().get_geometry(window)?.reply()?; [INFO] [stdout] 796 | let new_client_id = self.new_client_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:799:25 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 799 | let workspace = self.get_workspace_under_cursor_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:897:32 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 897 | let workspace_option = self.workspace_for_window_mut(window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 927 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 804 | self.focus_workspace(id, false)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:906:43 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 906 | if let Some(previous_window_id) = self [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 907 | | .get_focused_workspace_mut()? [INFO] [stdout] | |________________________________________^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 927 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:818:21 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 818 | self.get_focused_workspace_mut()?.insert_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:827:13 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 827 | self.get_focused_workspace_mut()?.insert_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 887 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 794 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 877 | self.get_focused_workspace_mut()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 878 | .apply_layout(connection, None, default_colormap)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 916 | self.get_focused_workspace_mut()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 927 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:921:38 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 921 | if let Some(workspace) = self.workspace_with_id_mut(workspace_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 922 | workspace.apply_layout(connection, None, default_colormap)? [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:897:32 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 897 | let workspace_option = self.workspace_for_window_mut(window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 927 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:906:43 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 906 | if let Some(previous_window_id) = self [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 907 | | .get_focused_workspace_mut()? [INFO] [stdout] | |________________________________________^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 927 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 916 | self.get_focused_workspace_mut()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 927 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:921:38 [INFO] [stdout] | [INFO] [stdout] 894 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 921 | if let Some(workspace) = self.workspace_with_id_mut(workspace_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 922 | workspace.apply_layout(connection, None, default_colormap)? [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1023:25 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1023 | let workspace = self.workspace_for_window_mut(ev.event).ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.is_dragging` because it is borrowed [INFO] [stdout] --> src/wm/state.rs:1047:21 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- `self.is_dragging` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 1047 | self.is_dragging = false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.is_dragging` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1023:25 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1023 | let workspace = self.workspace_for_window_mut(ev.event).ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.is_dragging` because it is borrowed [INFO] [stdout] --> src/wm/state.rs:1047:21 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- `self.is_dragging` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 1047 | self.is_dragging = false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.is_dragging` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.is_resizing` because it is borrowed [INFO] [stdout] --> src/wm/state.rs:1058:25 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- `self.is_resizing` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 1058 | self.is_resizing = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.is_resizing` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.is_resizing` because it is borrowed [INFO] [stdout] --> src/wm/state.rs:1058:25 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- `self.is_resizing` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 1058 | self.is_resizing = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.is_resizing` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.is_resizing` because it is borrowed [INFO] [stdout] --> src/wm/state.rs:1066:21 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- `self.is_resizing` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 1066 | self.is_resizing = false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.is_resizing` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.is_resizing` because it is borrowed [INFO] [stdout] --> src/wm/state.rs:1066:21 [INFO] [stdout] | [INFO] [stdout] 1022 | let connection = self.connection(); [INFO] [stdout] | ---- `self.is_resizing` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 1066 | self.is_resizing = false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.is_resizing` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 1073 | } [INFO] [stdout] | - borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1086:25 [INFO] [stdout] | [INFO] [stdout] 1083 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1086 | let workspace = self.workspace_for_window_mut(ev.event).ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1130 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1086:25 [INFO] [stdout] | [INFO] [stdout] 1083 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1086 | let workspace = self.workspace_for_window_mut(ev.event).ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1130 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1243:31 [INFO] [stdout] | [INFO] [stdout] 1241 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1242 | let default_colormap = self.default_colormap(); [INFO] [stdout] 1243 | if let Some(window) = self.get_focused_workspace_mut()?.focus.focused_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1282 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1244:29 [INFO] [stdout] | [INFO] [stdout] 1241 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1244 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1282 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1243:31 [INFO] [stdout] | [INFO] [stdout] 1241 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1242 | let default_colormap = self.default_colormap(); [INFO] [stdout] 1243 | if let Some(window) = self.get_focused_workspace_mut()?.focus.focused_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1282 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1296:30 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1296 | let focused_client = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1297 | | .get_focused_workspace_mut()? [INFO] [stdout] | |________________________________________^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1333 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1314:33 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1314 | let focused_workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1333 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1244:29 [INFO] [stdout] | [INFO] [stdout] 1241 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1244 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1282 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1316:9 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1316 | self.get_focused_workspace_mut()?.apply_layout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 1317 | connection.clone(), [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1322:31 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1322 | let other_workspace = self.workspace_with_id_mut(workspace_id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 1323 | other_workspace.insert_container(container)?; [INFO] [stdout] 1324 | other_workspace.apply_layout(connection, None, default_colormap)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1340:9 [INFO] [stdout] | [INFO] [stdout] 1337 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1340 | self.get_focused_workspace_mut()?.change_layout(layout)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1345 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1341:9 [INFO] [stdout] | [INFO] [stdout] 1337 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1341 | self.get_focused_workspace_mut()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 1342 | .apply_layout(connection, None, default_colormap)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1351:25 [INFO] [stdout] | [INFO] [stdout] 1350 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1351 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1356 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1361:39 [INFO] [stdout] | [INFO] [stdout] 1360 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1361 | let focused_client_id = match self.get_focused_workspace_mut()?.focus.focused_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1417 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1296:30 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1296 | let focused_client = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1297 | | .get_focused_workspace_mut()? [INFO] [stdout] | |________________________________________^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1333 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1367:25 [INFO] [stdout] | [INFO] [stdout] 1360 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1367 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1417 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1314:33 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1314 | let focused_workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1333 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1316:9 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1316 | self.get_focused_workspace_mut()?.apply_layout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 1317 | connection.clone(), [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1322:31 [INFO] [stdout] | [INFO] [stdout] 1295 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1322 | let other_workspace = self.workspace_with_id_mut(workspace_id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 1323 | other_workspace.insert_container(container)?; [INFO] [stdout] 1324 | other_workspace.apply_layout(connection, None, default_colormap)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1340:9 [INFO] [stdout] | [INFO] [stdout] 1337 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1340 | self.get_focused_workspace_mut()?.change_layout(layout)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1345 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1423:31 [INFO] [stdout] | [INFO] [stdout] 1421 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1422 | let default_colormap = self.default_colormap(); [INFO] [stdout] 1423 | if let Some(window) = self.get_focused_workspace_mut()?.focus.focused_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1441 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1341:9 [INFO] [stdout] | [INFO] [stdout] 1337 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1341 | self.get_focused_workspace_mut()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 1342 | .apply_layout(connection, None, default_colormap)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1424:29 [INFO] [stdout] | [INFO] [stdout] 1421 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1424 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1441 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1351:25 [INFO] [stdout] | [INFO] [stdout] 1350 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1351 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1356 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1361:39 [INFO] [stdout] | [INFO] [stdout] 1360 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1361 | let focused_client_id = match self.get_focused_workspace_mut()?.focus.focused_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1417 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1367:25 [INFO] [stdout] | [INFO] [stdout] 1360 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1367 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1417 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1423:31 [INFO] [stdout] | [INFO] [stdout] 1421 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 1422 | let default_colormap = self.default_colormap(); [INFO] [stdout] 1423 | if let Some(window) = self.get_focused_workspace_mut()?.focus.focused_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1441 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1424:29 [INFO] [stdout] | [INFO] [stdout] 1421 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1424 | let workspace = self.get_focused_workspace_mut()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1441 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1466 | self.init_keyman(self.config.keybinds.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.workspaces` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1468:26 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1468 | for workspace in self.workspaces.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1524 | connection.destroy_window(*bar_window)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1517:13 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1517 | self.workspace_with_id_mut(each.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.bar_windows` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1527:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1527 | self.bar_windows.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1528:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1528 | self.setup_bars()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1466 | self.init_keyman(self.config.keybinds.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.workspaces` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1468:26 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1468 | for workspace in self.workspaces.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1524 | connection.destroy_window(*bar_window)?; [INFO] [stdout] | ---------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1517:13 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1517 | self.workspace_with_id_mut(each.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.bar_windows` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1527:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1527 | self.bar_windows.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/state.rs:1528:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let connection = self.connection(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1528 | self.setup_bars()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1531 | } [INFO] [stdout] | - immutable borrow might be used here, when `connection` is dropped and runs the `Drop` code for type `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/wm/mod.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run(&mut self) -> WmResult { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | argument requires that `self.state` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | self.state.update_bars()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | argument requires that `self.state` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 134 | self.state.update_bars()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/mod.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | argument requires that `self.state` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 140 | if let Err(e) = self.handle_event(ev) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/wm/mod.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn run(&mut self) -> WmResult { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | argument requires that `self.state` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | self.state.update_bars()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | argument requires that `self.state` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 134 | self.state.update_bars()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/wm/mod.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = self.state.connection(); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | argument requires that `self.state` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 140 | if let Err(e) = self.handle_event(ev) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0506, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crubwm` (bin "crubwm" test) due to 40 previous errors [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0502, E0506, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crubwm` (bin "crubwm") due to 40 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "26e4c3885e0e85e38b39d6bb417ca24e5e4655ddc980c8ea631091878c28e9b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e4c3885e0e85e38b39d6bb417ca24e5e4655ddc980c8ea631091878c28e9b0", kill_on_drop: false }` [INFO] [stdout] 26e4c3885e0e85e38b39d6bb417ca24e5e4655ddc980c8ea631091878c28e9b0