[INFO] cloning repository https://github.com/hasan197/kaca-macos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hasan197/kaca-macos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasan197%2Fkaca-macos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasan197%2Fkaca-macos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99534477c5ae2443e0651af7395cc5011523c247 [INFO] checking hasan197/kaca-macos/99534477c5ae2443e0651af7395cc5011523c247 against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasan197%2Fkaca-macos" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hasan197/kaca-macos [INFO] finished tweaking git repo https://github.com/hasan197/kaca-macos [INFO] tweaked toml for git repo https://github.com/hasan197/kaca-macos written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hasan197/kaca-macos on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hasan197/kaca-macos 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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.12 [INFO] [stderr] Downloaded bytemuck v1.25.1 [INFO] [stderr] Downloaded pin-project-internal v1.1.13 [INFO] [stderr] Downloaded pin-project v1.1.13 [INFO] [stderr] Downloaded zerocopy-derive v0.8.54 [INFO] [stderr] Downloaded zerocopy v0.8.54 [INFO] [stderr] Downloaded ctor v0.10.1 [INFO] [stderr] Downloaded dtor v0.8.1 [INFO] [stderr] Downloaded tiny-xlib v0.2.5 [INFO] [stderr] Downloaded qrcode v0.14.1 [INFO] [stderr] Downloaded getset v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a [INFO] running `Command { std: "docker" "start" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling drm-sys v0.8.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling cc v1.2.67 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling zerocopy v0.8.54 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tiny-xlib v0.2.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking arrayvec v0.7.8 [INFO] [stderr] Checking pxfm v0.1.30 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking ctor v0.10.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling anyhow v1.0.103 [INFO] [stderr] Checking regex-automata v0.4.15 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling bytemuck_derive v1.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling getset v0.1.7 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking drm-ffi v0.9.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking bytemuck v1.25.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking drm v0.14.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking wayland-protocols v0.32.13 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Compiling neli-proc-macros v0.2.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking neli v0.7.4 [INFO] [stderr] Checking qrcode v0.14.1 [INFO] [stderr] Checking local-ip-address v0.6.13 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking kaca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/protocol.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | ClipboardImage = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | Notification = 0x05, [INFO] [stdout] 34 | FileMeta = 0x06, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | FileChunk = 0x07, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Sms = 0x08, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | Call = 0x09, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | Keyboard = 0x0A, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | Touch = 0x0B, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/protocol.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl MessageType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 46 | pub fn from_u8(v: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/protocol.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn decode(msg_type: u8, payload: Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_message` is never used [INFO] [stdout] --> src/protocol.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_message(reader: &mut R) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_message` is never used [INFO] [stdout] --> src/protocol.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn write_message(writer: &mut W, msg: &Message) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frame_msg` is never used [INFO] [stdout] --> src/protocol.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn frame_msg(width: u32, height: u32, jpeg: &[u8]) -> Message { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/protocol.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | ClipboardImage = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | Notification = 0x05, [INFO] [stdout] 34 | FileMeta = 0x06, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | FileChunk = 0x07, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Sms = 0x08, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | Call = 0x09, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | Keyboard = 0x0A, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | Touch = 0x0B, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/protocol.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl MessageType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 46 | pub fn from_u8(v: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/protocol.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn decode(msg_type: u8, payload: Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_message` is never used [INFO] [stdout] --> src/protocol.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_message(reader: &mut R) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_message` is never used [INFO] [stdout] --> src/protocol.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn write_message(writer: &mut W, msg: &Message) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frame_msg` is never used [INFO] [stdout] --> src/protocol.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn frame_msg(width: u32, height: u32, jpeg: &[u8]) -> Message { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: winit v0.30.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a", kill_on_drop: false }` [INFO] [stdout] a35764a1d288d0c97f870294aa0c9f9fd02fbd1815caa9c89a7ee0ddd83aa38a