[INFO] cloning repository https://github.com/sukeesh/zing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sukeesh/zing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukeesh%2Fzing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukeesh%2Fzing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e75d5d42022b9989696f32125ac8a6984cf3673c [INFO] checking sukeesh/zing against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukeesh%2Fzing" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sukeesh/zing [INFO] finished tweaking git repo https://github.com/sukeesh/zing [INFO] tweaked toml for git repo https://github.com/sukeesh/zing written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sukeesh/zing on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sukeesh/zing 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded num-rational v0.1.43 [INFO] [stderr] Downloaded cargo-bundle v0.6.1 [INFO] [stderr] Downloaded ar v0.9.0 [INFO] [stderr] Downloaded rfd v0.12.1 [INFO] [stderr] Downloaded msi v0.6.0 [INFO] [stderr] Downloaded icns v0.3.1 [INFO] [stderr] Downloaded image v0.12.4 [INFO] [stderr] Downloaded ropey v1.6.1 [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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f29112eaf186121b510d06398b9cb026b5a6423f44a03d4e813056fd2e95c6f5 [INFO] running `Command { std: "docker" "start" "-a" "f29112eaf186121b510d06398b9cb026b5a6423f44a03d4e813056fd2e95c6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f29112eaf186121b510d06398b9cb026b5a6423f44a03d4e813056fd2e95c6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29112eaf186121b510d06398b9cb026b5a6423f44a03d4e813056fd2e95c6f5", kill_on_drop: false }` [INFO] [stdout] f29112eaf186121b510d06398b9cb026b5a6423f44a03d4e813056fd2e95c6f5 [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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dbbe22c2b6f0e125a084fb2b72533d894fc9ba0ebb555abe4e8c2ae03a39435 [INFO] running `Command { std: "docker" "start" "-a" "1dbbe22c2b6f0e125a084fb2b72533d894fc9ba0ebb555abe4e8c2ae03a39435", kill_on_drop: false }` [INFO] [stderr] warning: zing v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-bundle` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking async-once-cell v0.5.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking emath v0.24.1 [INFO] [stderr] Checking ecolor v0.24.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking epaint v0.24.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking egui v0.24.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling rfd v0.12.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking tempfile v3.17.1 [INFO] [stderr] Checking egui_glow v0.24.1 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.15.0 [INFO] [stderr] Checking egui-winit v0.24.1 [INFO] [stderr] Checking eframe v0.24.1 [INFO] [stderr] Checking zing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/buffer/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/config/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use egui::{Color32, Stroke, Style, Visuals}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/config/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> src/file_io/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/file_io/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding` and `TextStyle` [INFO] [stdout] --> src/ui/editor.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, FontId, TextEdit, Ui, Vec2, Rounding, Stroke, TextStyle}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayoutJob` and `TextFormat` [INFO] [stdout] --> src/ui/editor.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use egui::text::{LayoutJob, TextFormat}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ui/editor.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | } else if (ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] | ^ [INFO] [stdout] 215 | ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl)) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 ~ } else if ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] 215 ~ ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pos2`, `Rounding`, and `Stroke` [INFO] [stdout] --> src/ui/statusbar.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, Ui, Stroke, Rect, Pos2, FontId, Rounding, Vec2, Sense}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/ui/tabs.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Color32, Rect, Response, Sense, Stroke, Ui, Vec2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `editor::EditorView` [INFO] [stdout] --> src/ui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use editor::EditorView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbar::Toolbar` [INFO] [stdout] --> src/ui/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toolbar::Toolbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statusbar::StatusBar` [INFO] [stdout] --> src/ui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use statusbar::StatusBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding`, `Stroke`, and `Ui` [INFO] [stdout] --> src/ui/mod.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use egui::{Context, Ui, Vec2, Rounding, Color32, Stroke}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/buffer/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/config/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use egui::{Color32, Stroke, Style, Visuals}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/config/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/file_io/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding` and `TextStyle` [INFO] [stdout] --> src/ui/editor.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, FontId, TextEdit, Ui, Vec2, Rounding, Stroke, TextStyle}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayoutJob` and `TextFormat` [INFO] [stdout] --> src/ui/editor.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use egui::text::{LayoutJob, TextFormat}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ui/editor.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | } else if (ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] | ^ [INFO] [stdout] 215 | ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl)) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 ~ } else if ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] 215 ~ ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pos2`, `Rounding`, and `Stroke` [INFO] [stdout] --> src/ui/statusbar.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, Ui, Stroke, Rect, Pos2, FontId, Rounding, Vec2, Sense}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/ui/tabs.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Color32, Rect, Response, Sense, Stroke, Ui, Vec2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `editor::EditorView` [INFO] [stdout] --> src/ui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use editor::EditorView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbar::Toolbar` [INFO] [stdout] --> src/ui/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toolbar::Toolbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statusbar::StatusBar` [INFO] [stdout] --> src/ui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use statusbar::StatusBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding`, `Stroke`, and `Ui` [INFO] [stdout] --> src/ui/mod.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use egui::{Context, Ui, Vec2, Rounding, Color32, Stroke}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_size` [INFO] [stdout] --> src/ui/editor.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let available_size = ui.available_size(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_size` [INFO] [stdout] --> src/ui/editor.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let available_size = ui.available_size(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ui/mod.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn update_status(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ui/mod.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn update_status(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | fn setup_menu_bar(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | fn setup_menu_bar(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slice` is never used [INFO] [stdout] --> src/buffer/mod.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TextBuffer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn slice(&self, char_start: usize, char_end: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl EditorConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 57 | /// Creates a new editor configuration with default settings. [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status_timeout` is never read [INFO] [stdout] --> src/ui/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ZingApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | status_timeout: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZingApp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditorView` is never constructed [INFO] [stdout] --> src/ui/editor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EditorView; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_tab` is never used [INFO] [stdout] --> src/ui/editor.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new_tab(app: &mut ZingApp) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusBar` is never constructed [INFO] [stdout] --> src/ui/statusbar.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StatusBar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `len_lines`, `is_empty`, `slice`, `line`, and `line_col_to_char` are never used [INFO] [stdout] --> src/buffer/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TextBuffer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_str(content: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn len_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn slice(&self, char_start: usize, char_end: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn line(&self, line_idx: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn line_col_to_char(&self, line: usize, col: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Toolbar` is never constructed [INFO] [stdout] --> src/ui/toolbar.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Toolbar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_icon` is never used [INFO] [stdout] --> src/ui/toolbar.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn draw_icon(ui: &mut Ui, icon_type: &str, is_dark: bool, word_wrap: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &FILE_OP_RECEIVER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &raw const FILE_OP_RECEIVER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_spacing`, `tab_size`, and `use_spaces` are never read [INFO] [stdout] --> src/config/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EditorConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub line_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub tab_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | /// Whether to use spaces for tabs [INFO] [stdout] 39 | pub use_spaces: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditorConfig` 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: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_theme` are never used [INFO] [stdout] --> src/config/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl EditorConfig { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 57 | /// Creates a new editor configuration with default settings. [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_theme(theme: Theme) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_buffer_to_file` is never used [INFO] [stdout] --> src/file_io/mod.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn save_buffer_to_file(buffer: &mut TextBuffer, path: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status_timeout` is never read [INFO] [stdout] --> src/ui/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ZingApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | status_timeout: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZingApp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditorView` is never constructed [INFO] [stdout] --> src/ui/editor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EditorView; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_tab` is never used [INFO] [stdout] --> src/ui/editor.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new_tab(app: &mut ZingApp) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusBar` is never constructed [INFO] [stdout] --> src/ui/statusbar.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StatusBar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Toolbar` is never constructed [INFO] [stdout] --> src/ui/toolbar.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Toolbar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_icon` is never used [INFO] [stdout] --> src/ui/toolbar.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn draw_icon(ui: &mut Ui, icon_type: &str, is_dark: bool, word_wrap: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &FILE_OP_RECEIVER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &raw const FILE_OP_RECEIVER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "1dbbe22c2b6f0e125a084fb2b72533d894fc9ba0ebb555abe4e8c2ae03a39435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbbe22c2b6f0e125a084fb2b72533d894fc9ba0ebb555abe4e8c2ae03a39435", kill_on_drop: false }` [INFO] [stdout] 1dbbe22c2b6f0e125a084fb2b72533d894fc9ba0ebb555abe4e8c2ae03a39435