[INFO] cloning repository https://github.com/fake-rick/caw-link-desktop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fake-rick/caw-link-desktop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffake-rick%2Fcaw-link-desktop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffake-rick%2Fcaw-link-desktop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a42b6d8dee1a1280fdf786b2789987b36b2587d9 [INFO] checking fake-rick/caw-link-desktop against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffake-rick%2Fcaw-link-desktop" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fake-rick/caw-link-desktop on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fake-rick/caw-link-desktop [INFO] finished tweaking git repo https://github.com/fake-rick/caw-link-desktop [INFO] tweaked toml for git repo https://github.com/fake-rick/caw-link-desktop written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fake-rick/caw-link-desktop 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lyon_algorithms v1.0.4 [INFO] [stderr] Downloaded libseat v0.2.1 [INFO] [stderr] Downloaded unicode-properties v0.1.1 [INFO] [stderr] Downloaded by_address v1.1.0 [INFO] [stderr] Downloaded slint-build v1.3.2 [INFO] [stderr] Downloaded input v0.8.3 [INFO] [stderr] Downloaded i-slint-backend-qt v1.3.2 [INFO] [stderr] Downloaded libseat-sys v0.1.7 [INFO] [stderr] Downloaded cpp_common v0.5.9 [INFO] [stderr] Downloaded drm-ffi v0.5.0 [INFO] [stderr] Downloaded lyon_extra v1.0.1 [INFO] [stderr] Downloaded cpp_macros v0.5.9 [INFO] [stderr] Downloaded scoped-tls-hkt v0.1.4 [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded codemap-diagnostic v0.1.2 [INFO] [stderr] Downloaded vtable v0.1.11 [INFO] [stderr] Downloaded derive_utils v0.13.2 [INFO] [stderr] Downloaded drm v0.9.0 [INFO] [stderr] Downloaded i-slint-backend-winit v1.3.2 [INFO] [stderr] Downloaded serialport v4.3.0 [INFO] [stderr] Downloaded i-slint-compiler v1.3.2 [INFO] [stderr] Downloaded skia-safe v0.68.0 [INFO] [stderr] Downloaded i-slint-core v1.3.2 [INFO] [stderr] Downloaded femtovg v0.8.1 [INFO] [stderr] Downloaded i-slint-common v1.3.2 [INFO] [stderr] Downloaded slint v1.3.2 [INFO] [stderr] Downloaded glow v0.13.1 [INFO] [stderr] Downloaded skia-bindings v0.68.0 [INFO] [stderr] Downloaded imgref v1.10.0 [INFO] [stderr] Downloaded fontdue v0.8.0 [INFO] [stderr] Downloaded bincode v2.0.0-rc.3 [INFO] [stderr] Downloaded drm-sys v0.4.0 [INFO] [stderr] Downloaded virtue v0.0.13 [INFO] [stderr] Downloaded auto_enums v0.8.4 [INFO] [stderr] Downloaded i-slint-renderer-femtovg v1.3.2 [INFO] [stderr] Downloaded gbm v0.12.0 [INFO] [stderr] Downloaded qttypes v0.2.11 [INFO] [stderr] Downloaded softbuffer v0.3.4 [INFO] [stderr] Downloaded lyon_geom v1.0.5 [INFO] [stderr] Downloaded i-slint-backend-linuxkms v1.3.2 [INFO] [stderr] Downloaded slint-macros v1.3.2 [INFO] [stderr] Downloaded tiny-xlib v0.2.2 [INFO] [stderr] Downloaded i-slint-core-macros v1.3.2 [INFO] [stderr] Downloaded gbm-sys v0.2.2 [INFO] [stderr] Downloaded copypasta v0.10.0 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded udev v0.7.0 [INFO] [stderr] Downloaded cpp v0.5.9 [INFO] [stderr] Downloaded unescaper v0.1.3 [INFO] [stderr] Downloaded i-slint-backend-selector v1.3.2 [INFO] [stderr] Downloaded vtable-macro v0.1.10 [INFO] [stderr] Downloaded i-slint-renderer-skia v1.3.2 [INFO] [stderr] Downloaded const-field-offset-macro v0.1.3 [INFO] [stderr] Downloaded cpp_build v0.5.9 [INFO] [stderr] Downloaded const-field-offset v0.1.3 [INFO] [stderr] Downloaded bincode_derive v2.0.0-rc.3 [INFO] [stderr] Downloaded x11-clipboard v0.8.1 [INFO] [stderr] Downloaded lyon_path v1.0.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9124a30082b8eb9bd464b944c206ce7b070fcf3ae726612e70dc4cd5558b7515 [INFO] running `Command { std: "docker" "start" "-a" "9124a30082b8eb9bd464b944c206ce7b070fcf3ae726612e70dc4cd5558b7515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9124a30082b8eb9bd464b944c206ce7b070fcf3ae726612e70dc4cd5558b7515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9124a30082b8eb9bd464b944c206ce7b070fcf3ae726612e70dc4cd5558b7515", kill_on_drop: false }` [INFO] [stdout] 9124a30082b8eb9bd464b944c206ce7b070fcf3ae726612e70dc4cd5558b7515 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7a63fcc3c89334fe0cb31f5391cc05d183c6e69fd6e57afc2140e994643b60f [INFO] running `Command { std: "docker" "start" "-a" "c7a63fcc3c89334fe0cb31f5391cc05d183c6e69fd6e57afc2140e994643b60f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling wayland-backend v0.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.31.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling roxmltree v0.18.1 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking wayland-client v0.31.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tiny-skia-path v0.11.3 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling fontconfig-parser v0.5.3 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling memmap2 v0.8.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling fontdb v0.15.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Checking polling v3.3.2 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking wayland-protocols v0.31.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling kurbo v0.9.5 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking unicode-script v0.5.5 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling svgtypes v0.12.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking tiny-skia v0.11.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking memmap2 v0.9.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking usvg-tree v0.36.0 [INFO] [stderr] Checking wayland-cursor v0.31.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking xdg-home v1.0.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling i-slint-common v1.3.2 [INFO] [stderr] Compiling rustybuzz v0.10.0 [INFO] [stderr] Checking lyon_geom v1.0.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Checking usvg-parser v0.36.0 [INFO] [stderr] Checking usvg-text-layout v0.36.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Checking lyon_path v1.0.4 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling const-field-offset-macro v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Checking zbus v3.14.1 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling usvg v0.36.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Checking const-field-offset v0.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking rustybuzz v0.11.0 [INFO] [stderr] Compiling vtable-macro v0.1.10 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling derive_utils v0.13.2 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling i-slint-compiler v1.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling codemap-diagnostic v0.1.2 [INFO] [stderr] Checking vtable v0.1.11 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling auto_enums v0.8.4 [INFO] [stderr] Compiling resvg v0.36.0 [INFO] [stderr] Compiling fontdue v0.8.0 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling lyon_extra v1.0.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling i-slint-core-macros v1.3.2 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling css-color-parser2 v1.0.1 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling by_address v1.1.0 [INFO] [stderr] Checking scoped-tls-hkt v0.1.4 [INFO] [stderr] Checking clru v0.6.1 [INFO] [stderr] Checking pin-weak v1.1.0 [INFO] [stderr] Checking accesskit v0.12.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling spin_on v0.1.1 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking i-slint-core v1.3.2 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Compiling i-slint-backend-qt v1.3.2 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Compiling softbuffer v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking lru v0.12.1 [INFO] [stderr] Checking imgref v1.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking cpp v0.5.9 [INFO] [stderr] Checking x11-clipboard v0.8.1 [INFO] [stderr] Checking tiny-xlib v0.2.2 [INFO] [stderr] Checking smithay-clipboard v0.7.0 [INFO] [stderr] Compiling i-slint-backend-winit v1.3.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking femtovg v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking copypasta v0.10.0 [INFO] [stderr] Compiling i-slint-backend-selector v1.3.2 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking i-slint-renderer-femtovg v1.3.2 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking unescaper v0.1.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking serialport v4.3.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Compiling slint-build v1.3.2 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Compiling caw-link-desktop v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling slint-macros v1.3.2 [INFO] [stderr] Checking slint v1.3.2 [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/caw/connector.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CmdCode`, `SystemCode`, `protocol::ProtocolHeader` [INFO] [stdout] --> src/caw/connector.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | code::{CmdCode, SystemCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | pingpong::Pingpong, [INFO] [stdout] 13 | protocol::ProtocolHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/caw/protocols/pingpong.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::config::{self, BigEndian, Configuration, Fixint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/caw/protocols/protocol.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/caw/connector.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CmdCode`, `SystemCode`, `protocol::ProtocolHeader` [INFO] [stdout] --> src/caw/connector.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | code::{CmdCode, SystemCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | pingpong::Pingpong, [INFO] [stdout] 13 | protocol::ProtocolHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/caw/protocols/pingpong.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::config::{self, BigEndian, Configuration, Fixint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/caw/protocols/protocol.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/connector.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/caw/connector.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ConnectorError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 21 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectorError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timeout` and `config` are never read [INFO] [stdout] --> src/caw/connector.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Connector { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | device: Box, [INFO] [stdout] 44 | timeout: Instant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | config: Configuration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_timeout`, `ping`, and `event_loop` are never used [INFO] [stdout] --> src/caw/connector.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Connector { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(device: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn check_timeout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn ping(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn event_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/devices/device.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_TIMEOUT` is never used [INFO] [stdout] --> src/caw/devices/serial.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static DEFAULT_TIMEOUT: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceNotExist` and `Unknown` are never constructed [INFO] [stdout] --> src/caw/devices/serial.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum SerialError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 21 | DeviceNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerialError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_id`, `search`, and `ports` are never used [INFO] [stdout] --> src/caw/devices/serial.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Serial { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 63 | pub fn new(path: &str, baud_rate: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set_id(&mut self, device_id: u32, type_id: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn search(baud_rate: u32, w_buf: &[u8], f: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn ports() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISCOVER_MAGIC` is never used [INFO] [stdout] --> src/caw/protocols/discover.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DISCOVER_MAGIC: [u8; 4] = [0xff, 0xff, 0xff, 0x00]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_MAGIC` is never used [INFO] [stdout] --> src/caw/protocols/discover.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DEVICE_MAGIC: [u8; 4] = [0xff, 0xff, 0xff, 0x01]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/discover.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/connector.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_device_magic`, `parse`, and `get_id` are never used [INFO] [stdout] --> src/caw/protocols/discover.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Discover { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 21 | pub fn check_device_magic(buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_id(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseMagicFailed` is never constructed [INFO] [stdout] --> src/caw/protocols/discover.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum DiscoverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 45 | ParseMagicFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiscoverError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/caw/connector.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ConnectorError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 21 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectorError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/pingpong.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingpong` is never constructed [INFO] [stdout] --> src/caw/protocols/pingpong.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pingpong {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ping` is never used [INFO] [stdout] --> src/caw/protocols/pingpong.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pingpong { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn ping( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timeout` and `config` are never read [INFO] [stdout] --> src/caw/connector.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Connector { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | device: Box, [INFO] [stdout] 44 | timeout: Instant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | config: Configuration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HEADER_SIZE` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static HEADER_SIZE: usize = 19; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseHeaderFailed` is never constructed [INFO] [stdout] --> src/caw/protocols/protocol.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum ProtocolError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 16 | ParseHeaderFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cmd_code`, `set_data_size`, and `set_checksum` are never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ProtocolHeader { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 59 | /// 设置指令 [INFO] [stdout] 60 | pub fn set_cmd_code(mut self, code: CmdCode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_data_size(mut self, size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_checksum(mut self, buf: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_timeout`, `ping`, and `event_loop` are never used [INFO] [stdout] --> src/caw/connector.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Connector { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(device: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn check_timeout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn ping(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn event_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ProtocolHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 79 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc8_with_ccitt` is never used [INFO] [stdout] --> src/caw/utils/crypto.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn crc8_with_ccitt(crc: u8, data: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/devices/device.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc8_slice_with_ccitt` is never used [INFO] [stdout] --> src/caw/utils/crypto.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn crc8_slice_with_ccitt(buf: &[u8]) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_TIMEOUT` is never used [INFO] [stdout] --> src/caw/devices/serial.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static DEFAULT_TIMEOUT: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceNotExist` and `Unknown` are never constructed [INFO] [stdout] --> src/caw/devices/serial.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum SerialError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 21 | DeviceNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerialError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_id`, and `search` are never used [INFO] [stdout] --> src/caw/devices/serial.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Serial { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 63 | pub fn new(path: &str, baud_rate: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set_id(&mut self, device_id: u32, type_id: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn search(baud_rate: u32, w_buf: &[u8], f: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISCOVER_MAGIC` is never used [INFO] [stdout] --> src/caw/protocols/discover.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DISCOVER_MAGIC: [u8; 4] = [0xff, 0xff, 0xff, 0x00]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_MAGIC` is never used [INFO] [stdout] --> src/caw/protocols/discover.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DEVICE_MAGIC: [u8; 4] = [0xff, 0xff, 0xff, 0x01]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/discover.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_device_magic`, `parse`, and `get_id` are never used [INFO] [stdout] --> src/caw/protocols/discover.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Discover { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 21 | pub fn check_device_magic(buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_id(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseMagicFailed` is never constructed [INFO] [stdout] --> src/caw/protocols/discover.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum DiscoverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 45 | ParseMagicFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiscoverError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/pingpong.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pingpong` is never constructed [INFO] [stdout] --> src/caw/protocols/pingpong.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pingpong {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ping` is never used [INFO] [stdout] --> src/caw/protocols/pingpong.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pingpong { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn ping( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseHeaderFailed` is never constructed [INFO] [stdout] --> src/caw/protocols/protocol.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum ProtocolError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 16 | ParseHeaderFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cmd_code`, `set_data_size`, and `set_checksum` are never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ProtocolHeader { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 59 | /// 设置指令 [INFO] [stdout] 60 | pub fn set_cmd_code(mut self, code: CmdCode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_data_size(mut self, size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_checksum(mut self, buf: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ProtocolHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 79 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/caw/connector.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CmdCode`, `SystemCode`, `protocol::ProtocolHeader` [INFO] [stdout] --> src/caw/connector.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | code::{CmdCode, SystemCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | pingpong::Pingpong, [INFO] [stdout] 13 | protocol::ProtocolHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/caw/protocols/pingpong.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::config::{self, BigEndian, Configuration, Fixint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/caw/protocols/protocol.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/caw/connector.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CmdCode`, `SystemCode`, `protocol::ProtocolHeader` [INFO] [stdout] --> src/caw/connector.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | code::{CmdCode, SystemCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | pingpong::Pingpong, [INFO] [stdout] 13 | protocol::ProtocolHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/caw/protocols/pingpong.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::config::{self, BigEndian, Configuration, Fixint}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/caw/protocols/protocol.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/caw-link-desktop-c941f842ad01dc00/out/appwindow.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 4 | ...e (sp :: FieldOffsets , Default)] # [const_field_offset (sp :: const_field_offset)] # [repr (C)] # [pin] struct InnerIndexWidget_root_4 { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | ...ot_4 : sp :: r#Rectangle , r#text_6 : sp :: r#Text , r#text_7 : sp :: r#Text , r#empty_8 : sp :: r#Empty , r#rectangle_9 : sp :: r#BorderRectangle , r#root_4_empty_5_layout_cache : sp :: Property < sp :: SharedVector < sp :: Coord , > > , r#root_4_empty_5_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_4_empty_5_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_4_empty_8_layout_cache : sp :: Property < sp :: SharedVector < sp :: Coord , > > , r#root_4_empty_8_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_4_empty_8_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_4_empty_8_width : sp :: Property < sp :: LogicalLength > , r#root_4_height : sp :: Property < sp :: LogicalLength > , r#root_4_width : sp :: Property < sp :: LogicalLength > , r#root_4_x : sp :: Property < sp :: LogicalLength > , r#root_4_y : sp :: Property < sp :: LogicalLength > , self_weak : sp :: OnceCell < sp :: VWeakMapped < sp :: ItemTreeVTable , InnerIndexWidget_root_4 >> , root : sp :: OnceCell < sp :: VWeak < sp :: ItemTreeVTable , InnerAppWindow >> , tree_index : :: core :: cell :: Cell < u32 > , tree_index_of_first_child : :: core :: cell :: Cell < u32 > ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | r#root_4 : () , r#text_6 : () , r#text_7 : () , r#empty_8 : () , r#rectangle_9 : () , r#root_4_empty_5_layout_cache : () , r#root_4_empty_5_layoutinfo_h : () , r#root_4_empty_5_layoutinfo_v : () , r#root_4_empty_8_layout_cache : () , r#root_4_empty_8_layoutinfo_h : () , r#root_4_empty_8_layoutinfo_v : () , r#root_4_empty_8_width : () , r#root_4_height : () , r#root_4_width : () , r#root_4_x : () , r#root_4_y : () , self_weak : () , root : () , tree_index : () , tree_index_of_first_child : () , } [INFO] [stdout] | ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/caw-link-desktop-c941f842ad01dc00/out/appwindow.rs:519:21 [INFO] [stdout] | [INFO] [stdout] 518 | ...e (sp :: FieldOffsets , Default)] # [const_field_offset (sp :: const_field_offset)] # [repr (C)] # [pin_drop] pub struct InnerAppWindow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 519 | ...ot_1 : sp :: r#WindowItem , r#indexwidget_3 : InnerIndexWidget_root_4 , r#root_1_empty_2_layout_cache : sp :: Property < sp :: SharedVector < sp :: Coord , > > , r#root_1_empty_2_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_1_empty_2_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_1_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_1_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_1_x : sp :: Property < sp :: LogicalLength > , r#root_1_y : sp :: Property < sp :: LogicalLength > , self_weak : sp :: OnceCell < sp :: VWeakMapped < sp :: ItemTreeVTable , InnerAppWindow >> , root : sp :: OnceCell < sp :: VWeak < sp :: ItemTreeVTable , InnerAppWindow >> , tree_index : :: core :: cell :: Cell < u32 > , tree_index_of_first_child : :: core :: cell :: Cell < u32 > , globals : Globals_AppWindow , window_adapter_ : sp :: OnceCell < sp :: WindowAdapterRc > ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 519 | r#root_1 : () , r#indexwidget_3 : () , r#root_1_empty_2_layout_cache : () , r#root_1_empty_2_layoutinfo_h : () , r#root_1_empty_2_layoutinfo_v : () , r#root_1_layoutinfo_h : () , r#root_1_layoutinfo_v : () , r#root_1_x : () , r#root_1_y : () , self_weak : () , root : () , tree_index : () , tree_index_of_first_child : () , globals : () , window_adapter_ : () , } [INFO] [stdout] | ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/caw/connector.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ConnectorError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 21 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectorError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event_loop` is never used [INFO] [stdout] --> src/caw/connector.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl Connector { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn event_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_TIMEOUT` is never used [INFO] [stdout] --> src/caw/devices/serial.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static DEFAULT_TIMEOUT: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceNotExist` and `Unknown` are never constructed [INFO] [stdout] --> src/caw/devices/serial.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum SerialError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 21 | DeviceNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerialError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HEADER_SIZE` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static HEADER_SIZE: usize = 19; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseHeaderFailed` is never constructed [INFO] [stdout] --> src/caw/protocols/protocol.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum ProtocolError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 16 | ParseHeaderFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_checksum` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ProtocolHeader { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_checksum(mut self, buf: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ProtocolHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 79 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc8_with_ccitt` is never used [INFO] [stdout] --> src/caw/utils/crypto.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn crc8_with_ccitt(crc: u8, data: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc8_slice_with_ccitt` is never used [INFO] [stdout] --> src/caw/utils/crypto.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn crc8_slice_with_ccitt(buf: &[u8]) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/caw-link-desktop-c941f842ad01dc00/out/appwindow.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 4 | ...e (sp :: FieldOffsets , Default)] # [const_field_offset (sp :: const_field_offset)] # [repr (C)] # [pin] struct InnerIndexWidget_root_4 { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | ...ot_4 : sp :: r#Rectangle , r#text_6 : sp :: r#Text , r#text_7 : sp :: r#Text , r#empty_8 : sp :: r#Empty , r#rectangle_9 : sp :: r#BorderRectangle , r#root_4_empty_5_layout_cache : sp :: Property < sp :: SharedVector < sp :: Coord , > > , r#root_4_empty_5_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_4_empty_5_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_4_empty_8_layout_cache : sp :: Property < sp :: SharedVector < sp :: Coord , > > , r#root_4_empty_8_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_4_empty_8_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_4_empty_8_width : sp :: Property < sp :: LogicalLength > , r#root_4_height : sp :: Property < sp :: LogicalLength > , r#root_4_width : sp :: Property < sp :: LogicalLength > , r#root_4_x : sp :: Property < sp :: LogicalLength > , r#root_4_y : sp :: Property < sp :: LogicalLength > , self_weak : sp :: OnceCell < sp :: VWeakMapped < sp :: ItemTreeVTable , InnerIndexWidget_root_4 >> , root : sp :: OnceCell < sp :: VWeak < sp :: ItemTreeVTable , InnerAppWindow >> , tree_index : :: core :: cell :: Cell < u32 > , tree_index_of_first_child : :: core :: cell :: Cell < u32 > ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | r#root_4 : () , r#text_6 : () , r#text_7 : () , r#empty_8 : () , r#rectangle_9 : () , r#root_4_empty_5_layout_cache : () , r#root_4_empty_5_layoutinfo_h : () , r#root_4_empty_5_layoutinfo_v : () , r#root_4_empty_8_layout_cache : () , r#root_4_empty_8_layoutinfo_h : () , r#root_4_empty_8_layoutinfo_v : () , r#root_4_empty_8_width : () , r#root_4_height : () , r#root_4_width : () , r#root_4_x : () , r#root_4_y : () , self_weak : () , root : () , tree_index : () , tree_index_of_first_child : () , } [INFO] [stdout] | ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/caw-link-desktop-c941f842ad01dc00/out/appwindow.rs:519:21 [INFO] [stdout] | [INFO] [stdout] 518 | ...e (sp :: FieldOffsets , Default)] # [const_field_offset (sp :: const_field_offset)] # [repr (C)] # [pin_drop] pub struct InnerAppWindow { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 519 | ...ot_1 : sp :: r#WindowItem , r#indexwidget_3 : InnerIndexWidget_root_4 , r#root_1_empty_2_layout_cache : sp :: Property < sp :: SharedVector < sp :: Coord , > > , r#root_1_empty_2_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_1_empty_2_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_1_layoutinfo_h : sp :: Property < r#LayoutInfo > , r#root_1_layoutinfo_v : sp :: Property < r#LayoutInfo > , r#root_1_x : sp :: Property < sp :: LogicalLength > , r#root_1_y : sp :: Property < sp :: LogicalLength > , self_weak : sp :: OnceCell < sp :: VWeakMapped < sp :: ItemTreeVTable , InnerAppWindow >> , root : sp :: OnceCell < sp :: VWeak < sp :: ItemTreeVTable , InnerAppWindow >> , tree_index : :: core :: cell :: Cell < u32 > , tree_index_of_first_child : :: core :: cell :: Cell < u32 > , globals : Globals_AppWindow , window_adapter_ : sp :: OnceCell < sp :: WindowAdapterRc > ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 519 | r#root_1 : () , r#indexwidget_3 : () , r#root_1_empty_2_layout_cache : () , r#root_1_empty_2_layoutinfo_h : () , r#root_1_empty_2_layoutinfo_v : () , r#root_1_layoutinfo_h : () , r#root_1_layoutinfo_v : () , r#root_1_x : () , r#root_1_y : () , self_weak : () , root : () , tree_index : () , tree_index_of_first_child : () , globals : () , window_adapter_ : () , } [INFO] [stdout] | ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/caw/connector.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ConnectorError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 21 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectorError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event_loop` is never used [INFO] [stdout] --> src/caw/connector.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl Connector { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn event_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_TIMEOUT` is never used [INFO] [stdout] --> src/caw/devices/serial.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static DEFAULT_TIMEOUT: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceNotExist` and `Unknown` are never constructed [INFO] [stdout] --> src/caw/devices/serial.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum SerialError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 21 | DeviceNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerialError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseHeaderFailed` is never constructed [INFO] [stdout] --> src/caw/protocols/protocol.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum ProtocolError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 16 | ParseHeaderFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_checksum` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ProtocolHeader { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_checksum(mut self, buf: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/caw/protocols/protocol.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ProtocolHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 79 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.32s [INFO] running `Command { std: "docker" "inspect" "c7a63fcc3c89334fe0cb31f5391cc05d183c6e69fd6e57afc2140e994643b60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a63fcc3c89334fe0cb31f5391cc05d183c6e69fd6e57afc2140e994643b60f", kill_on_drop: false }` [INFO] [stdout] c7a63fcc3c89334fe0cb31f5391cc05d183c6e69fd6e57afc2140e994643b60f