[INFO] cloning repository https://github.com/dickhfchan/rustos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dickhfchan/rustos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdickhfchan%2Frustos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdickhfchan%2Frustos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa698a5bcd1ff473c674067e4ab848b9cd78478a
[INFO] checking dickhfchan/rustos/aa698a5bcd1ff473c674067e4ab848b9cd78478a against master#c8551d3c63c51f290cf1dc9dc4714249ea849fd1 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdickhfchan%2Frustos" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  20% (243/1211)
Updating files:  21% (255/1211)
Updating files:  21% (256/1211)
Updating files:  22% (267/1211)
Updating files:  23% (279/1211)
Updating files:  24% (291/1211)
Updating files:  25% (303/1211)
Updating files:  26% (315/1211)
Updating files:  27% (327/1211)
Updating files:  28% (340/1211)
Updating files:  29% (352/1211)
Updating files:  30% (364/1211)
Updating files:  31% (376/1211)
Updating files:  32% (388/1211)
Updating files:  33% (400/1211)
Updating files:  34% (412/1211)
Updating files:  35% (424/1211)
Updating files:  36% (436/1211)
Updating files:  37% (449/1211)
Updating files:  38% (461/1211)
Updating files:  39% (473/1211)
Updating files:  40% (485/1211)
Updating files:  41% (497/1211)
Updating files:  42% (509/1211)
Updating files:  43% (521/1211)
Updating files:  44% (533/1211)
Updating files:  45% (545/1211)
Updating files:  46% (558/1211)
Updating files:  47% (570/1211)
Updating files:  48% (582/1211)
Updating files:  49% (594/1211)
Updating files:  50% (606/1211)
Updating files:  51% (618/1211)
Updating files:  52% (630/1211)
Updating files:  53% (642/1211)
Updating files:  54% (654/1211)
Updating files:  55% (667/1211)
Updating files:  56% (679/1211)
Updating files:  57% (691/1211)
Updating files:  58% (703/1211)
Updating files:  59% (715/1211)
Updating files:  60% (727/1211)
Updating files:  61% (739/1211)
Updating files:  62% (751/1211)
Updating files:  63% (763/1211)
Updating files:  64% (776/1211)
Updating files:  65% (788/1211)
Updating files:  66% (800/1211)
Updating files:  67% (812/1211)
Updating files:  68% (824/1211)
Updating files:  69% (836/1211)
Updating files:  70% (848/1211)
Updating files:  71% (860/1211)
Updating files:  72% (872/1211)
Updating files:  73% (885/1211)
Updating files:  74% (897/1211)
Updating files:  75% (909/1211)
Updating files:  76% (921/1211)
Updating files:  77% (933/1211)
Updating files:  78% (945/1211)
Updating files:  79% (957/1211)
Updating files:  80% (969/1211)
Updating files:  81% (981/1211)
Updating files:  82% (994/1211)
Updating files:  83% (1006/1211)
Updating files:  84% (1018/1211)
Updating files:  85% (1030/1211)
Updating files:  86% (1042/1211)
Updating files:  87% (1054/1211)
Updating files:  88% (1066/1211)
Updating files:  89% (1078/1211)
Updating files:  89% (1086/1211)
Updating files:  90% (1090/1211)
Updating files:  91% (1103/1211)
Updating files:  92% (1115/1211)
Updating files:  93% (1127/1211)
Updating files:  94% (1139/1211)
Updating files:  95% (1151/1211)
Updating files:  96% (1163/1211)
Updating files:  97% (1175/1211)
Updating files:  98% (1187/1211)
Updating files:  99% (1199/1211)
Updating files: 100% (1211/1211)
Updating files: 100% (1211/1211), done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/dickhfchan/rustos
[INFO] finished tweaking git repo https://github.com/dickhfchan/rustos
[INFO] tweaked toml for git repo https://github.com/dickhfchan/rustos written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dickhfchan/rustos on toolchain c8551d3c63c51f290cf1dc9dc4714249ea849fd1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dickhfchan/rustos 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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded spinning_top v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ca7b2fe3846d4b4a968402d21f318c86edb1453d340ec4277f7922a8431cd83
[INFO] running `Command { std: "docker" "start" "-a" "4ca7b2fe3846d4b4a968402d21f318c86edb1453d340ec4277f7922a8431cd83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ca7b2fe3846d4b4a968402d21f318c86edb1453d340ec4277f7922a8431cd83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ca7b2fe3846d4b4a968402d21f318c86edb1453d340ec4277f7922a8431cd83", kill_on_drop: false }`
[INFO] [stdout] 4ca7b2fe3846d4b4a968402d21f318c86edb1453d340ec4277f7922a8431cd83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1b2aa7d1e723ba692381c294d303d2123d4c4526cc5193614fdf595539535d7
[INFO] running `Command { std: "docker" "start" "-a" "f1b2aa7d1e723ba692381c294d303d2123d4c4526cc5193614fdf595539535d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]     Checking volatile v0.4.6
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking spinning_top v0.2.5
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking linked_list_allocator v0.10.5
[INFO] [stderr]     Checking lock_api v0.4.13
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking rustos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]  --> src/wayland.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WaylandResult`
[INFO] [stdout]  --> src/cosmic.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::wayland::{self, WaylandResult, WaylandError};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GraphicsResult`
[INFO] [stdout]  --> src/cosmic.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::graphics::{self, GraphicsResult, GraphicsError, PixelFormat};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InputResult`
[INFO] [stdout]  --> src/cosmic.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::input::{self, InputResult, InputEvent, InputEventType, KeyCode, MouseButton};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bootloader`
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bootloader::{entry_point, BootInfo};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `bootloader`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bootloader`, use `cargo add bootloader` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PanicInfo` in this scope
[INFO] [stdout]    --> src/test_framework.rs:136:30
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn test_panic_handler(info: &PanicInfo) -> ! {
[INFO] [stdout]     |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use core::panic::PanicInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_runner` in module `crate::test_framework`
[INFO] [stdout]  --> src/lib.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![test_runner(crate::test_framework::test_runner)]
[INFO] [stdout]   |                                       ^^^^^^^^^^^ not found in `crate::test_framework`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]  --> src/wayland.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WaylandResult`
[INFO] [stdout]  --> src/cosmic.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::wayland::{self, WaylandResult, WaylandError};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GraphicsResult`
[INFO] [stdout]  --> src/cosmic.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::graphics::{self, GraphicsResult, GraphicsError, PixelFormat};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InputResult`
[INFO] [stdout]  --> src/cosmic.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::input::{self, InputResult, InputEvent, InputEventType, KeyCode, MouseButton};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/lib.rs:50:1
[INFO] [stdout]     |
[INFO] [stdout]  50 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout]  51 | |     panic::handle(info)
[INFO] [stdout]  52 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lang item is first defined here
[INFO] [stdout]    --> src/test_framework.rs:136:1
[INFO] [stdout]     |
[INFO] [stdout] 136 | / fn test_panic_handler(info: &PanicInfo) -> ! {
[INFO] [stdout] 137 | |     println!("Test panic: {}", info);
[INFO] [stdout] ...   |
[INFO] [stdout] 148 | |     loop {}
[INFO] [stdout] 149 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustos` (lib test) due to 4 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]  --> src/wayland.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WaylandResult`
[INFO] [stdout]  --> src/cosmic.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::wayland::{self, WaylandResult, WaylandError};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GraphicsResult`
[INFO] [stdout]  --> src/cosmic.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::graphics::{self, GraphicsResult, GraphicsError, PixelFormat};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InputResult`
[INFO] [stdout]  --> src/cosmic.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::input::{self, InputResult, InputEvent, InputEventType, KeyCode, MouseButton};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]    --> src/wayland.rs:257:46
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn create_cosmic_surface(client_id: u32, width: u32, height: u32) -> WaylandResult<u32> {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]    --> src/wayland.rs:257:58
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn create_cosmic_surface(client_id: u32, width: u32, height: u32) -> WaylandResult<u32> {
[INFO] [stdout]     |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `surface`
[INFO] [stdout]    --> src/wayland.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let surface = WaylandSurface::new(surface_id);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `surface`
[INFO] [stdout]    --> src/graphics.rs:426:66
[INFO] [stdout]     |
[INFO] [stdout] 426 |     fn draw_window(&self, fb: &mut Framebuffer, window: &Window, surface: &Surface) -> GraphicsResult<()> {
[INFO] [stdout]     |                                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/cosmic.rs:414:44
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn focus_window_at_position(&mut self, x: i32, y: i32) -> CosmicResult<()> {
[INFO] [stdout]     |                                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/cosmic.rs:414:52
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn focus_window_at_position(&mut self, x: i32, y: i32) -> CosmicResult<()> {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compositor`
[INFO] [stdout]    --> src/cosmic.rs:418:21
[INFO] [stdout]     |
[INFO] [stdout] 418 |         if let Some(compositor) = graphics::graphics_get_compositor() {
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compositor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/wayland.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 |         if WAYLAND_DISPLAY.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/wayland.rs:233:14
[INFO] [stdout]     |
[INFO] [stdout] 233 |     unsafe { WAYLAND_DISPLAY.as_mut() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/graphics.rs:478:12
[INFO] [stdout]     |
[INFO] [stdout] 478 |         if COMPOSITOR.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/graphics.rs:489:14
[INFO] [stdout]     |
[INFO] [stdout] 489 |     unsafe { COMPOSITOR.as_mut() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/input.rs:469:12
[INFO] [stdout]     |
[INFO] [stdout] 469 |         if INPUT_MANAGER.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/input.rs:480:14
[INFO] [stdout]     |
[INFO] [stdout] 480 |     unsafe { INPUT_MANAGER.as_mut() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cosmic.rs:498:12
[INFO] [stdout]     |
[INFO] [stdout] 498 |         if COSMIC_COMPOSITOR.is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/cosmic.rs:510:14
[INFO] [stdout]     |
[INFO] [stdout] 510 |     unsafe { COSMIC_COMPOSITOR.as_mut() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]    --> src/wayland.rs:257:46
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn create_cosmic_surface(client_id: u32, width: u32, height: u32) -> WaylandResult<u32> {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]    --> src/wayland.rs:257:58
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn create_cosmic_surface(client_id: u32, width: u32, height: u32) -> WaylandResult<u32> {
[INFO] [stdout]     |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `surface`
[INFO] [stdout]    --> src/wayland.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let surface = WaylandSurface::new(surface_id);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `surface`
[INFO] [stdout]    --> src/graphics.rs:426:66
[INFO] [stdout]     |
[INFO] [stdout] 426 |     fn draw_window(&self, fb: &mut Framebuffer, window: &Window, surface: &Surface) -> GraphicsResult<()> {
[INFO] [stdout]     |                                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/cosmic.rs:414:44
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn focus_window_at_position(&mut self, x: i32, y: i32) -> CosmicResult<()> {
[INFO] [stdout]     |                                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/cosmic.rs:414:52
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn focus_window_at_position(&mut self, x: i32, y: i32) -> CosmicResult<()> {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compositor`
[INFO] [stdout]    --> src/cosmic.rs:418:21
[INFO] [stdout]     |
[INFO] [stdout] 418 |         if let Some(compositor) = graphics::graphics_get_compositor() {
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compositor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustos` (lib) due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f1b2aa7d1e723ba692381c294d303d2123d4c4526cc5193614fdf595539535d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1b2aa7d1e723ba692381c294d303d2123d4c4526cc5193614fdf595539535d7", kill_on_drop: false }`
[INFO] [stdout] f1b2aa7d1e723ba692381c294d303d2123d4c4526cc5193614fdf595539535d7
