[INFO] cloning repository https://github.com/sid-lakhani/pico [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sid-lakhani/pico" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsid-lakhani%2Fpico", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsid-lakhani%2Fpico'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27e1cf35a8de7d42aeaab504453947d98958f657 [INFO] testing sid-lakhani/pico against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsid-lakhani%2Fpico" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sid-lakhani/pico [INFO] finished tweaking git repo https://github.com/sid-lakhani/pico [INFO] tweaked toml for git repo https://github.com/sid-lakhani/pico written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sid-lakhani/pico on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sid-lakhani/pico 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy v0.8.28 [INFO] [stderr] Downloaded zerocopy-derive v0.8.28 [INFO] [stderr] Downloaded moxcms v0.7.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ede6ceb614e8afbed70d588224442c0f5b108c1bcf4dbdcf2cc68da859c24eb [INFO] running `Command { std: "docker" "start" "-a" "5ede6ceb614e8afbed70d588224442c0f5b108c1bcf4dbdcf2cc68da859c24eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ede6ceb614e8afbed70d588224442c0f5b108c1bcf4dbdcf2cc68da859c24eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ede6ceb614e8afbed70d588224442c0f5b108c1bcf4dbdcf2cc68da859c24eb", kill_on_drop: false }` [INFO] [stdout] 5ede6ceb614e8afbed70d588224442c0f5b108c1bcf4dbdcf2cc68da859c24eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d45bcdad045d73a2c7c84a1c6fedca99b8ed37df1bb99d34311a8b4a44fde85c [INFO] running `Command { std: "docker" "start" "-a" "d45bcdad045d73a2c7c84a1c6fedca99b8ed37df1bb99d34311a8b4a44fde85c", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling pico v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XOpenDisplay` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let display = xlib::XOpenDisplay(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn pick_once() -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDefaultScreen` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let screen = xlib::XDefaultScreen(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XRootWindow` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | let root = xlib::XRootWindow(display, screen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XCreateFontCursor` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | let cursor = xlib::XCreateFontCursor(display, 34); // XC_crosshair = 34 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDefineCursor` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | xlib::XDefineCursor(display, root, cursor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XGrabPointer` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | let grab = xlib::XGrabPointer( [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | display, [INFO] [stdout] 90 | | root, [INFO] [stdout] 91 | | xlib::True, [INFO] [stdout] ... | [INFO] [stdout] 97 | | xlib::CurrentTime, [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let mut event: xlib::XEvent = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XNextEvent` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | xlib::XNextEvent(display, &mut event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let x = event.button.x_root; [INFO] [stdout] | ^^^^^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let y = event.button.y_root; [INFO] [stdout] | ^^^^^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XGetImage` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | let img = xlib::XGetImage( [INFO] [stdout] | _______________________^ [INFO] [stdout] 115 | | display, [INFO] [stdout] 116 | | root, [INFO] [stdout] 117 | | x, [INFO] [stdout] ... | [INFO] [stdout] 122 | | xlib::ZPixmap, [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XGetPixel` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let pixel = xlib::XGetPixel(img, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDestroyImage` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | xlib::XDestroyImage(img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XUngrabPointer` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | xlib::XUngrabPointer(display, xlib::CurrentTime); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XCloseDisplay` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | xlib::XCloseDisplay(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.16s [INFO] running `Command { std: "docker" "inspect" "d45bcdad045d73a2c7c84a1c6fedca99b8ed37df1bb99d34311a8b4a44fde85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45bcdad045d73a2c7c84a1c6fedca99b8ed37df1bb99d34311a8b4a44fde85c", kill_on_drop: false }` [INFO] [stdout] d45bcdad045d73a2c7c84a1c6fedca99b8ed37df1bb99d34311a8b4a44fde85c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04b879f811338ac9483222fda7ee8eb21933e8499d0da2814c45b143c93e2250 [INFO] running `Command { std: "docker" "start" "-a" "04b879f811338ac9483222fda7ee8eb21933e8499d0da2814c45b143c93e2250", kill_on_drop: false }` [INFO] [stderr] Compiling pico v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XOpenDisplay` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let display = xlib::XOpenDisplay(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn pick_once() -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDefaultScreen` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let screen = xlib::XDefaultScreen(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XRootWindow` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | let root = xlib::XRootWindow(display, screen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XCreateFontCursor` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | let cursor = xlib::XCreateFontCursor(display, 34); // XC_crosshair = 34 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDefineCursor` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | xlib::XDefineCursor(display, root, cursor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XGrabPointer` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | let grab = xlib::XGrabPointer( [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | display, [INFO] [stdout] 90 | | root, [INFO] [stdout] 91 | | xlib::True, [INFO] [stdout] ... | [INFO] [stdout] 97 | | xlib::CurrentTime, [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let mut event: xlib::XEvent = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XNextEvent` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | xlib::XNextEvent(display, &mut event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let x = event.button.x_root; [INFO] [stdout] | ^^^^^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let y = event.button.y_root; [INFO] [stdout] | ^^^^^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XGetImage` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | let img = xlib::XGetImage( [INFO] [stdout] | _______________________^ [INFO] [stdout] 115 | | display, [INFO] [stdout] 116 | | root, [INFO] [stdout] 117 | | x, [INFO] [stdout] ... | [INFO] [stdout] 122 | | xlib::ZPixmap, [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XGetPixel` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let pixel = xlib::XGetPixel(img, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDestroyImage` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | xlib::XDestroyImage(img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XUngrabPointer` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | xlib::XUngrabPointer(display, xlib::CurrentTime); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XCloseDisplay` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | xlib::XCloseDisplay(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "04b879f811338ac9483222fda7ee8eb21933e8499d0da2814c45b143c93e2250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b879f811338ac9483222fda7ee8eb21933e8499d0da2814c45b143c93e2250", kill_on_drop: false }` [INFO] [stdout] 04b879f811338ac9483222fda7ee8eb21933e8499d0da2814c45b143c93e2250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d236c91a8d9d5ad681c9f1ebe0f1c6bc9e9f9f80349a6eb49f2a443e7150eb7f [INFO] running `Command { std: "docker" "start" "-a" "d236c91a8d9d5ad681c9f1ebe0f1c6bc9e9f9f80349a6eb49f2a443e7150eb7f", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XOpenDisplay` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | let display = xlib::XOpenDisplay(ptr::null()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/main.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | unsafe fn pick_once() -> (u8, u8, u8) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XDefaultScreen` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:78:18 [INFO] [stderr] | [INFO] [stderr] 78 | let screen = xlib::XDefaultScreen(display); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XRootWindow` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | let root = xlib::XRootWindow(display, screen); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XCreateFontCursor` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | let cursor = xlib::XCreateFontCursor(display, 34); // XC_crosshair = 34 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XDefineCursor` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | xlib::XDefineCursor(display, root, cursor); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XGrabPointer` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:88:16 [INFO] [stderr] | [INFO] [stderr] 88 | let grab = xlib::XGrabPointer( [INFO] [stderr] | ________________^ [INFO] [stderr] 89 | | display, [INFO] [stderr] 90 | | root, [INFO] [stderr] 91 | | xlib::True, [INFO] [stderr] ... | [INFO] [stderr] 97 | | xlib::CurrentTime, [INFO] [stderr] 98 | | ); [INFO] [stderr] | |_____^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:105:35 [INFO] [stderr] | [INFO] [stderr] 105 | let mut event: xlib::XEvent = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XNextEvent` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | xlib::XNextEvent(display, &mut event); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | let x = event.button.x_root; [INFO] [stderr] | ^^^^^^^^^^^^ access to union field [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | let y = event.button.y_root; [INFO] [stderr] | ^^^^^^^^^^^^ access to union field [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XGetImage` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:114:23 [INFO] [stderr] | [INFO] [stderr] 114 | let img = xlib::XGetImage( [INFO] [stderr] | _______________________^ [INFO] [stderr] 115 | | display, [INFO] [stderr] 116 | | root, [INFO] [stderr] 117 | | x, [INFO] [stderr] ... | [INFO] [stderr] 122 | | xlib::ZPixmap, [INFO] [stderr] 123 | | ); [INFO] [stderr] | |_____________^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XGetPixel` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | let pixel = xlib::XGetPixel(img, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XDestroyImage` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | xlib::XDestroyImage(img); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XUngrabPointer` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | xlib::XUngrabPointer(display, xlib::CurrentTime); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `x11::xlib::XCloseDisplay` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | xlib::XCloseDisplay(display); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `pico` (bin "pico" test) generated 15 warnings (run `cargo fix --bin "pico" -p pico --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pico-94542c244a27f936) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d236c91a8d9d5ad681c9f1ebe0f1c6bc9e9f9f80349a6eb49f2a443e7150eb7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d236c91a8d9d5ad681c9f1ebe0f1c6bc9e9f9f80349a6eb49f2a443e7150eb7f", kill_on_drop: false }` [INFO] [stdout] d236c91a8d9d5ad681c9f1ebe0f1c6bc9e9f9f80349a6eb49f2a443e7150eb7f