[INFO] cloning repository https://github.com/xujiewocao/clipboard-sync-tcp-server-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xujiewocao/clipboard-sync-tcp-server-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxujiewocao%2Fclipboard-sync-tcp-server-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxujiewocao%2Fclipboard-sync-tcp-server-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d91e7cdd3570dd27f4f4e06b88cd1daf1c91d57 [INFO] building xujiewocao/clipboard-sync-tcp-server-client against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxujiewocao%2Fclipboard-sync-tcp-server-client" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xujiewocao/clipboard-sync-tcp-server-client [INFO] finished tweaking git repo https://github.com/xujiewocao/clipboard-sync-tcp-server-client [INFO] tweaked toml for git repo https://github.com/xujiewocao/clipboard-sync-tcp-server-client written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xujiewocao/clipboard-sync-tcp-server-client on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xujiewocao/clipboard-sync-tcp-server-client 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5b1af90079aa3caa2166267a77c720b8013dc44cebad518f6f119710ee1d4d4 [INFO] running `Command { std: "docker" "start" "-a" "f5b1af90079aa3caa2166267a77c720b8013dc44cebad518f6f119710ee1d4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5b1af90079aa3caa2166267a77c720b8013dc44cebad518f6f119710ee1d4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b1af90079aa3caa2166267a77c720b8013dc44cebad518f6f119710ee1d4d4", kill_on_drop: false }` [INFO] [stdout] f5b1af90079aa3caa2166267a77c720b8013dc44cebad518f6f119710ee1d4d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef9883e284006ae36ed41dc43194bdde3fb80049402436dc7d700175903b5b6 [INFO] running `Command { std: "docker" "start" "-a" "7ef9883e284006ae36ed41dc43194bdde3fb80049402436dc7d700175903b5b6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pxfm v0.1.24 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling zvariant_derive v5.7.0 [INFO] [stderr] Compiling zvariant v5.7.0 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.11.0 [INFO] [stderr] Compiling zbus v5.11.0 [INFO] [stderr] Compiling notify-rust v4.11.7 [INFO] [stderr] Compiling clipboard-sync-alt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_text_content` is never read [INFO] [stdout] --> src/main.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | last_text_content = current_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_content_type` is never read [INFO] [stdout] --> src/main.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | last_content_type = current_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_content_type` is never read [INFO] [stdout] --> src/main.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | last_content_type = current_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_content_type` is never read [INFO] [stdout] --> src/main.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | last_content_type = current_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_content` is never used [INFO] [stdout] --> src/clipboard.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ClipboardManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn has_content(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_enabled` and `is_enabled` are never used [INFO] [stdout] --> src/notification.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NotificationManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/clipboard.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | fn png_to_rgba(&self, width: u32, height: u32, png_data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn png_to_rgba(&self, width: u32, height: u32, png_data: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "7ef9883e284006ae36ed41dc43194bdde3fb80049402436dc7d700175903b5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef9883e284006ae36ed41dc43194bdde3fb80049402436dc7d700175903b5b6", kill_on_drop: false }` [INFO] [stdout] 7ef9883e284006ae36ed41dc43194bdde3fb80049402436dc7d700175903b5b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dcaff5590eae766fa3eb9bbc541909627ecbfa968f9f8e8d7bcefb101767c8d [INFO] running `Command { std: "docker" "start" "-a" "4dcaff5590eae766fa3eb9bbc541909627ecbfa968f9f8e8d7bcefb101767c8d", kill_on_drop: false }` [INFO] [stderr] Compiling clipboard-sync-alt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_text_content` is never read [INFO] [stdout] --> src/main.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | last_text_content = current_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_content_type` is never read [INFO] [stdout] --> src/main.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | last_content_type = current_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_content_type` is never read [INFO] [stdout] --> src/main.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | last_content_type = current_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_content_type` is never read [INFO] [stdout] --> src/main.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | last_content_type = current_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_content` is never used [INFO] [stdout] --> src/clipboard.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ClipboardManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn has_content(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_enabled` and `is_enabled` are never used [INFO] [stdout] --> src/notification.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NotificationManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/clipboard.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | fn png_to_rgba(&self, width: u32, height: u32, png_data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn png_to_rgba(&self, width: u32, height: u32, png_data: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "4dcaff5590eae766fa3eb9bbc541909627ecbfa968f9f8e8d7bcefb101767c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dcaff5590eae766fa3eb9bbc541909627ecbfa968f9f8e8d7bcefb101767c8d", kill_on_drop: false }` [INFO] [stdout] 4dcaff5590eae766fa3eb9bbc541909627ecbfa968f9f8e8d7bcefb101767c8d