[INFO] cloning repository https://github.com/b1tcod3/bodex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b1tcod3/bodex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tcod3%2Fbodex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tcod3%2Fbodex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec5b3faedd66c96c86b5d864b5c8075c12341053 [INFO] checking b1tcod3/bodex/ec5b3faedd66c96c86b5d864b5c8075c12341053 against master#eeb94be79adc9df7a09ad0b2421f16e60e6d932c for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tcod3%2Fbodex" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/b1tcod3/bodex [INFO] finished tweaking git repo https://github.com/b1tcod3/bodex [INFO] tweaked toml for git repo https://github.com/b1tcod3/bodex written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/b1tcod3/bodex on toolchain eeb94be79adc9df7a09ad0b2421f16e60e6d932c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/b1tcod3/bodex 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" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded natord v1.0.9 [INFO] [stderr] Downloaded toml_edit v0.24.1+spec-1.1.0 [INFO] [stderr] Downloaded snafu-derive v0.8.9 [INFO] [stderr] Downloaded smol_str v0.3.5 [INFO] [stderr] Downloaded java-locator v0.1.9 [INFO] [stderr] Downloaded ctor-lite v0.1.1 [INFO] [stderr] Downloaded linked_hash_set v0.1.6 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded android-build v0.1.3 [INFO] [stderr] Downloaded snafu v0.8.9 [INFO] [stderr] Downloaded i-slint-core-macros v1.15.1 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded i-slint-backend-selector v1.15.1 [INFO] [stderr] Downloaded i-slint-backend-android-activity v1.15.1 [INFO] [stderr] Downloaded skia-bindings v0.90.0 [INFO] [stderr] Downloaded resvg v0.46.0 [INFO] [stderr] Downloaded i-slint-backend-winit v1.15.1 [INFO] [stderr] Downloaded rusqlite v0.29.0 [INFO] [stderr] Downloaded parley v0.7.0 [INFO] [stderr] Downloaded kurbo v0.12.0 [INFO] [stderr] Downloaded pulldown-cmark v0.13.0 [INFO] [stderr] Downloaded usvg v0.46.0 [INFO] [stderr] Downloaded write-fonts v0.43.0 [INFO] [stderr] Downloaded objc2-metal v0.3.2 [INFO] [stderr] Downloaded swash v0.2.6 [INFO] [stderr] Downloaded skrifa v0.37.0 [INFO] [stderr] Downloaded i-slint-core v1.15.1 [INFO] [stderr] Downloaded kurbo v0.13.0 [INFO] [stderr] Downloaded harfrust v0.3.2 [INFO] [stderr] Downloaded slint v1.15.1 [INFO] [stderr] Downloaded read-fonts v0.35.0 [INFO] [stderr] Downloaded i-slint-renderer-skia v1.15.1 [INFO] [stderr] Downloaded i-slint-renderer-software v1.15.1 [INFO] [stderr] Downloaded i-slint-common v1.15.1 [INFO] [stderr] Downloaded annotate-snippets v0.12.11 [INFO] [stderr] Downloaded skia-safe v0.90.0 [INFO] [stderr] Downloaded fontique v0.7.0 [INFO] [stderr] Downloaded zune-jpeg v0.5.12 [INFO] [stderr] Downloaded xkbcommon v0.9.0 [INFO] [stderr] Downloaded i-slint-compiler v1.15.1 [INFO] [stderr] Downloaded i-slint-backend-linuxkms v1.15.1 [INFO] [stderr] Downloaded softbuffer v0.4.8 [INFO] [stderr] Downloaded lyon_geom v1.0.18 [INFO] [stderr] Downloaded roxmltree v0.21.1 [INFO] [stderr] Downloaded svgtypes v0.16.1 [INFO] [stderr] Downloaded unicode-script v0.5.8 [INFO] [stderr] Downloaded htmlparser v0.2.1 [INFO] [stderr] Downloaded slint-macros v1.15.1 [INFO] [stderr] Downloaded font-types v0.10.1 [INFO] [stderr] Downloaded imagesize v0.14.0 [INFO] [stderr] Downloaded borsh v1.6.0 [INFO] [stderr] Downloaded avif-serialize v0.8.8 [INFO] [stderr] Downloaded pulldown-cmark-escape v0.11.0 [INFO] [stderr] Downloaded linebender_resource_handle v0.1.1 [INFO] [stderr] Downloaded rspolib v0.1.2 [INFO] [stderr] Downloaded yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Downloaded slint-build v1.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a615c7bd9ae926697c62766ee2672d16b5d7628f78b11d57f54b37260603b726 [INFO] running `Command { std: "docker" "start" "-a" "a615c7bd9ae926697c62766ee2672d16b5d7628f78b11d57f54b37260603b726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a615c7bd9ae926697c62766ee2672d16b5d7628f78b11d57f54b37260603b726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a615c7bd9ae926697c62766ee2672d16b5d7628f78b11d57f54b37260603b726", kill_on_drop: false }` [INFO] [stdout] a615c7bd9ae926697c62766ee2672d16b5d7628f78b11d57f54b37260603b726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d3b84ac20aefd91dce18ada2979e7fc2edae416778c9920983e82b2dee59724 [INFO] running `Command { std: "docker" "start" "-a" "6d3b84ac20aefd91dce18ada2979e7fc2edae416778c9920983e82b2dee59724", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking core_maths v0.1.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling toml_parser v1.0.8+spec-1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling font-types v0.10.1 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking read-fonts v0.35.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling linebender_resource_handle v0.1.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling fontique v0.7.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking unicode-ident v1.0.23 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling i-slint-common v1.15.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking euclid v0.22.13 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling kurbo v0.13.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling unicode-script v0.5.8 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling zune-jpeg v0.5.12 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling svgtypes v0.16.1 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling lyon_geom v1.0.18 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling avif-serialize v0.8.8 [INFO] [stderr] Compiling roxmltree v0.21.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling rspolib v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling imagesize v0.14.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling data-url v0.3.2 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling usvg v0.46.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling snafu v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking lyon_path v1.0.16 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Checking skrifa v0.37.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Checking calloop v0.14.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling natord v1.0.9 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling i-slint-compiler v1.15.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling linked_hash_set v0.1.6 [INFO] [stderr] Compiling rowan v0.16.1 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling annotate-snippets v0.12.11 [INFO] [stderr] Checking swash v0.2.6 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking const-field-offset v0.1.5 [INFO] [stderr] Compiling lyon_extra v1.0.3 [INFO] [stderr] Compiling resvg v0.46.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking harfrust v0.3.2 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking wayland-protocols-misc v0.3.10 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling vtable-macro v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smol_str v0.3.5 [INFO] [stderr] Compiling typed-index-collections v3.5.0 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking vtable v0.3.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling spin_on v0.1.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling auto_enums v0.8.7 [INFO] [stderr] Checking parley v0.7.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Compiling i-slint-core-macros v1.15.1 [INFO] [stderr] Checking lyon_algorithms v1.0.16 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking pin-weak v1.1.0 [INFO] [stderr] Checking clru v0.6.2 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking ctor-lite v0.1.1 [INFO] [stderr] Checking htmlparser v0.2.1 [INFO] [stderr] Checking scoped-tls-hkt v0.1.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Checking i-slint-core v1.15.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking x11-clipboard v0.9.3 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling i-slint-backend-winit v1.15.1 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking zeno v0.3.3 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Compiling toml_edit v0.24.1+spec-1.1.0 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Checking copypasta v0.10.2 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking zbus v5.13.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling i-slint-backend-selector v1.15.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking i-slint-renderer-software v1.15.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling slint-build v1.15.1 [INFO] [stderr] Checking rusqlite v0.29.0 [INFO] [stderr] Compiling slint-macros v1.15.1 [INFO] [stderr] Compiling bodex v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking slint v1.15.1 [INFO] [stderr] warning: bodex@0.1.0: warning: padding only has effect on layout elements [INFO] [stderr] warning: bodex@0.1.0: --> /opt/rustwide/workdir/ui/views/producto/nuevo_producto.slint:41:67 [INFO] [stderr] warning: bodex@0.1.0: | [INFO] [stderr] warning: bodex@0.1.0: 41 | background: #1a1a2e; border-radius: 4px; padding: 10px; [INFO] [stderr] warning: bodex@0.1.0: | ^^^^^ [INFO] [stderr] warning: bodex@0.1.0: | [INFO] [stderr] warning: bodex@0.1.0: warning: padding only has effect on layout elements [INFO] [stderr] warning: bodex@0.1.0: --> /opt/rustwide/workdir/ui/views/producto/nuevo_producto.slint:66:67 [INFO] [stderr] warning: bodex@0.1.0: | [INFO] [stderr] warning: bodex@0.1.0: 66 | background: #1a1a2e; border-radius: 4px; padding: 10px; [INFO] [stderr] warning: bodex@0.1.0: | ^^^^^ [INFO] [stderr] warning: bodex@0.1.0: warning: padding only has effect on layout elements [INFO] [stderr] warning: bodex@0.1.0: --> /opt/rustwide/workdir/ui/views/producto/nuevo_producto.slint:86:67 [INFO] [stderr] warning: bodex@0.1.0: | [INFO] [stderr] warning: bodex@0.1.0: 86 | background: #1a1a2e; border-radius: 4px; padding: 10px; [INFO] [stderr] warning: bodex@0.1.0: | ^^^^^ [INFO] [stderr] warning: bodex@0.1.0: warning: padding only has effect on layout elements [INFO] [stderr] warning: bodex@0.1.0: --> /opt/rustwide/workdir/ui/views/producto/nuevo_producto.slint:108:67 [INFO] [stderr] warning: bodex@0.1.0: | [INFO] [stderr] warning: bodex@0.1.0: 108 | background: #1a1a2e; border-radius: 4px; padding: 10px; [INFO] [stderr] warning: bodex@0.1.0: | ^^^^^ [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/db/usuarios.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/inventory.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{self, Producto as DbProducto, ProductoNuevo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/models/producto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `medida::Medida` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use medida::Medida; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tipo_empaque::TipoEmpaque` [INFO] [stdout] --> src/models/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tipo_empaque::TipoEmpaque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DetalleVentaConProducto` and `VentaConDetalles` [INFO] [stdout] --> src/models/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub use venta::{DetalleVenta, DetalleVentaConProducto, Venta, VentaConDetalles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelRc`, `StandardListViewItem`, and `VecModel` [INFO] [stdout] --> src/ui_handlers.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use slint::{ComponentHandle, ModelRc, SharedString, StandardListViewItem, VecModel, Weak}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/db/usuarios.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/inventory.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{self, Producto as DbProducto, ProductoNuevo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/models/producto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `medida::Medida` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use medida::Medida; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tipo_empaque::TipoEmpaque` [INFO] [stdout] --> src/models/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tipo_empaque::TipoEmpaque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DetalleVentaConProducto` and `VentaConDetalles` [INFO] [stdout] --> src/models/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub use venta::{DetalleVenta, DetalleVentaConProducto, Venta, VentaConDetalles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelRc`, `StandardListViewItem`, and `VecModel` [INFO] [stdout] --> src/ui_handlers.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use slint::{ComponentHandle, ModelRc, SharedString, StandardListViewItem, VecModel, Weak}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/inventory.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let conn = db::open_connection()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usuario` [INFO] [stdout] --> src/ui_handlers.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | ... Ok(Some(usuario)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usuario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/inventory.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let conn = db::open_connection()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usuario` [INFO] [stdout] --> src/ui_handlers.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | ... Ok(Some(usuario)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usuario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marcas` is never used [INFO] [stdout] --> src/db/marcas.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn obtener_marcas(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn crear_marca(conn: &Connection, m: &MarcaNueva) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marca_por_id` is never used [INFO] [stdout] --> src/db/marcas.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn obtener_marca_por_id(conn: &Connection, id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `actualizar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn actualizar_marca(conn: &Connection, m: &Marca) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn eliminar_marca(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_productos` is never used [INFO] [stdout] --> src/db/productos.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn obtener_productos(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapear_producto` is never used [INFO] [stdout] --> src/db/productos.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn mapear_producto(row: &Row) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn crear_usuario( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn eliminar_usuario(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `registrar_venta` is never used [INFO] [stdout] --> src/db/ventas.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn registrar_venta( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_historial` is never used [INFO] [stdout] --> src/db/ventas.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn obtener_historial(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product` is never used [INFO] [stdout] --> src/inventory.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_product( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Marca` is never constructed [INFO] [stdout] --> src/models/marca.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Marca { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarcaNueva` is never constructed [INFO] [stdout] --> src/models/marca.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MarcaNueva { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Medida` is never used [INFO] [stdout] --> src/models/medida.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Medida { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_los_nombres` are never used [INFO] [stdout] --> src/models/medida.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Medida { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn todos_los_nombres() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Producto` is never constructed [INFO] [stdout] --> src/models/producto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Producto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/producto.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ProductoConMarca { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub precio_neto: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub descripcion: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub codigo: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub marca_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub medida_p_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | pub cantidad_p: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub empaque_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductoConMarca` 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: enum `TipoEmpaque` is never used [INFO] [stdout] --> src/models/tipo_empaque.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TipoEmpaque { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_tipos` are never used [INFO] [stdout] --> src/models/tipo_empaque.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TipoEmpaque { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn todos_tipos() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `username`, `password_hash`, `rol`, `activo`, and `ultimo_login` are never read [INFO] [stdout] --> src/models/usuario.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Usuario { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub password_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub rol: Rol, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub ultimo_login: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usuario` 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: struct `Venta` is never constructed [INFO] [stdout] --> src/models/venta.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Venta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVenta` is never constructed [INFO] [stdout] --> src/models/venta.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DetalleVenta { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVentaConProducto` is never constructed [INFO] [stdout] --> src/models/venta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DetalleVentaConProducto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VentaConDetalles` is never constructed [INFO] [stdout] --> src/models/venta.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct VentaConDetalles { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_connection` is never used [INFO] [stdout] --> src/db/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn open_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db` is never used [INFO] [stdout] --> src/db/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn init_db(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/db/marcas.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_table(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marcas` is never used [INFO] [stdout] --> src/db/marcas.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn obtener_marcas(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn crear_marca(conn: &Connection, m: &MarcaNueva) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marca_por_id` is never used [INFO] [stdout] --> src/db/marcas.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn obtener_marca_por_id(conn: &Connection, id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `actualizar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn actualizar_marca(conn: &Connection, m: &Marca) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn eliminar_marca(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/db/productos.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_table(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_productos` is never used [INFO] [stdout] --> src/db/productos.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn obtener_productos(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_productos_con_marca` is never used [INFO] [stdout] --> src/db/productos.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn obtener_productos_con_marca(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_producto` is never used [INFO] [stdout] --> src/db/productos.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn crear_producto(conn: &Connection, p: &ProductoNuevo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_producto` is never used [INFO] [stdout] --> src/db/productos.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn eliminar_producto(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapear_producto` is never used [INFO] [stdout] --> src/db/productos.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn mapear_producto(row: &Row) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/db/usuarios.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_table(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_admin` is never used [INFO] [stdout] --> src/db/usuarios.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn seed_admin(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validar_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn validar_usuario(conn: &Connection, user: &str, pass: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn crear_usuario( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn eliminar_usuario(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/db/ventas.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_table(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_detalle_table` is never used [INFO] [stdout] --> src/db/ventas.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_detalle_table(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `registrar_venta` is never used [INFO] [stdout] --> src/db/ventas.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn registrar_venta( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_historial` is never used [INFO] [stdout] --> src/db/ventas.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn obtener_historial(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductInfo` is never constructed [INFO] [stdout] --> src/inventory.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ProductInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOADED_PRODUCTS` is never used [INFO] [stdout] --> src/inventory.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static LOADED_PRODUCTS: OnceLock>> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cache` is never used [INFO] [stdout] --> src/inventory.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_cache() -> &'static Mutex> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_num` is never used [INFO] [stdout] --> src/inventory.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_num(val: &SharedString, default: T) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_inventory_rows` is never used [INFO] [stdout] --> src/inventory.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_inventory_rows() -> Result>, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_product_by_index` is never used [INFO] [stdout] --> src/inventory.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_product_by_index(index: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_product_by_index` is never used [INFO] [stdout] --> src/inventory.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn delete_product_by_index(index: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_product` is never used [INFO] [stdout] --> src/inventory.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_product( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product` is never used [INFO] [stdout] --> src/inventory.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_product( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Marca` is never constructed [INFO] [stdout] --> src/models/marca.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Marca { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarcaNueva` is never constructed [INFO] [stdout] --> src/models/marca.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MarcaNueva { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Medida` is never used [INFO] [stdout] --> src/models/medida.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Medida { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_los_nombres` are never used [INFO] [stdout] --> src/models/medida.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Medida { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn todos_los_nombres() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Producto` is never constructed [INFO] [stdout] --> src/models/producto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Producto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductoNuevo` is never constructed [INFO] [stdout] --> src/models/producto.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ProductoNuevo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductoConMarca` is never constructed [INFO] [stdout] --> src/models/producto.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ProductoConMarca { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rol` is never used [INFO] [stdout] --> src/models/rol.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Rol { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TipoEmpaque` is never used [INFO] [stdout] --> src/models/tipo_empaque.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TipoEmpaque { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_tipos` are never used [INFO] [stdout] --> src/models/tipo_empaque.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TipoEmpaque { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn todos_tipos() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Usuario` is never constructed [INFO] [stdout] --> src/models/usuario.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Usuario { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Venta` is never constructed [INFO] [stdout] --> src/models/venta.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Venta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVenta` is never constructed [INFO] [stdout] --> src/models/venta.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DetalleVenta { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVentaConProducto` is never constructed [INFO] [stdout] --> src/models/venta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DetalleVentaConProducto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VentaConDetalles` is never constructed [INFO] [stdout] --> src/models/venta.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct VentaConDetalles { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_callbacks` is never used [INFO] [stdout] --> src/ui_handlers.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn setup_callbacks(ui: &AppWindow) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refresh_ui` is never used [INFO] [stdout] --> src/ui_handlers.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn refresh_ui(ui_handle: Weak) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_initial_data` is never used [INFO] [stdout] --> src/ui_handlers.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn load_initial_data(_ui: &AppWindow) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/db/usuarios.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/inventory.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{self, Producto as DbProducto, ProductoNuevo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/models/producto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `medida::Medida` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use medida::Medida; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tipo_empaque::TipoEmpaque` [INFO] [stdout] --> src/models/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tipo_empaque::TipoEmpaque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DetalleVentaConProducto` and `VentaConDetalles` [INFO] [stdout] --> src/models/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub use venta::{DetalleVenta, DetalleVentaConProducto, Venta, VentaConDetalles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelRc`, `StandardListViewItem`, and `VecModel` [INFO] [stdout] --> src/ui_handlers.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use slint::{ComponentHandle, ModelRc, SharedString, StandardListViewItem, VecModel, Weak}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/db/usuarios.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/inventory.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{self, Producto as DbProducto, ProductoNuevo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/models/producto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `medida::Medida` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use medida::Medida; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tipo_empaque::TipoEmpaque` [INFO] [stdout] --> src/models/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tipo_empaque::TipoEmpaque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DetalleVentaConProducto` and `VentaConDetalles` [INFO] [stdout] --> src/models/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub use venta::{DetalleVenta, DetalleVentaConProducto, Venta, VentaConDetalles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelRc`, `StandardListViewItem`, and `VecModel` [INFO] [stdout] --> src/ui_handlers.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use slint::{ComponentHandle, ModelRc, SharedString, StandardListViewItem, VecModel, Weak}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/inventory.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let conn = db::open_connection()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usuario` [INFO] [stdout] --> src/ui_handlers.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | ... Ok(Some(usuario)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usuario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/inventory.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let conn = db::open_connection()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usuario` [INFO] [stdout] --> src/ui_handlers.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | ... Ok(Some(usuario)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usuario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marcas` is never used [INFO] [stdout] --> src/db/marcas.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn obtener_marcas(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn crear_marca(conn: &Connection, m: &MarcaNueva) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marca_por_id` is never used [INFO] [stdout] --> src/db/marcas.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn obtener_marca_por_id(conn: &Connection, id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `actualizar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn actualizar_marca(conn: &Connection, m: &Marca) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn eliminar_marca(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_productos` is never used [INFO] [stdout] --> src/db/productos.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn obtener_productos(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapear_producto` is never used [INFO] [stdout] --> src/db/productos.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn mapear_producto(row: &Row) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn crear_usuario( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn eliminar_usuario(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `registrar_venta` is never used [INFO] [stdout] --> src/db/ventas.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn registrar_venta( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_historial` is never used [INFO] [stdout] --> src/db/ventas.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn obtener_historial(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product` is never used [INFO] [stdout] --> src/inventory.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_product( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Marca` is never constructed [INFO] [stdout] --> src/models/marca.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Marca { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarcaNueva` is never constructed [INFO] [stdout] --> src/models/marca.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MarcaNueva { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Medida` is never used [INFO] [stdout] --> src/models/medida.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Medida { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_los_nombres` are never used [INFO] [stdout] --> src/models/medida.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Medida { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn todos_los_nombres() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Producto` is never constructed [INFO] [stdout] --> src/models/producto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Producto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/producto.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ProductoConMarca { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub precio_neto: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub descripcion: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub codigo: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub marca_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub medida_p_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | pub cantidad_p: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub empaque_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductoConMarca` 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: enum `TipoEmpaque` is never used [INFO] [stdout] --> src/models/tipo_empaque.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TipoEmpaque { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_tipos` are never used [INFO] [stdout] --> src/models/tipo_empaque.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TipoEmpaque { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn todos_tipos() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `username`, `password_hash`, `rol`, `activo`, and `ultimo_login` are never read [INFO] [stdout] --> src/models/usuario.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Usuario { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub password_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub rol: Rol, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub ultimo_login: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usuario` 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: struct `Venta` is never constructed [INFO] [stdout] --> src/models/venta.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Venta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVenta` is never constructed [INFO] [stdout] --> src/models/venta.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DetalleVenta { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVentaConProducto` is never constructed [INFO] [stdout] --> src/models/venta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DetalleVentaConProducto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VentaConDetalles` is never constructed [INFO] [stdout] --> src/models/venta.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct VentaConDetalles { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marcas` is never used [INFO] [stdout] --> src/db/marcas.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn obtener_marcas(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn crear_marca(conn: &Connection, m: &MarcaNueva) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_marca_por_id` is never used [INFO] [stdout] --> src/db/marcas.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn obtener_marca_por_id(conn: &Connection, id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `actualizar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn actualizar_marca(conn: &Connection, m: &Marca) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_marca` is never used [INFO] [stdout] --> src/db/marcas.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn eliminar_marca(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_productos` is never used [INFO] [stdout] --> src/db/productos.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn obtener_productos(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapear_producto` is never used [INFO] [stdout] --> src/db/productos.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn mapear_producto(row: &Row) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn crear_usuario( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eliminar_usuario` is never used [INFO] [stdout] --> src/db/usuarios.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn eliminar_usuario(conn: &Connection, id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `registrar_venta` is never used [INFO] [stdout] --> src/db/ventas.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn registrar_venta( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtener_historial` is never used [INFO] [stdout] --> src/db/ventas.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn obtener_historial(conn: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_product` is never used [INFO] [stdout] --> src/inventory.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_product( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Marca` is never constructed [INFO] [stdout] --> src/models/marca.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Marca { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarcaNueva` is never constructed [INFO] [stdout] --> src/models/marca.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MarcaNueva { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Medida` is never used [INFO] [stdout] --> src/models/medida.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Medida { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_los_nombres` are never used [INFO] [stdout] --> src/models/medida.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Medida { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn todos_los_nombres() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Producto` is never constructed [INFO] [stdout] --> src/models/producto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Producto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/producto.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ProductoConMarca { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub precio_neto: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub descripcion: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub codigo: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub marca_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub medida_p_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | pub cantidad_p: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub empaque_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductoConMarca` 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: enum `TipoEmpaque` is never used [INFO] [stdout] --> src/models/tipo_empaque.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TipoEmpaque { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_i32`, `info`, and `todos_tipos` are never used [INFO] [stdout] --> src/models/tipo_empaque.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TipoEmpaque { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn from_i32(id: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn info(&self) -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn todos_tipos() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `username`, `password_hash`, `rol`, `activo`, and `ultimo_login` are never read [INFO] [stdout] --> src/models/usuario.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Usuario { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub password_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub rol: Rol, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub ultimo_login: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usuario` 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: struct `Venta` is never constructed [INFO] [stdout] --> src/models/venta.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Venta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVenta` is never constructed [INFO] [stdout] --> src/models/venta.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DetalleVenta { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetalleVentaConProducto` is never constructed [INFO] [stdout] --> src/models/venta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DetalleVentaConProducto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VentaConDetalles` is never constructed [INFO] [stdout] --> src/models/venta.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct VentaConDetalles { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 25s [INFO] running `Command { std: "docker" "inspect" "6d3b84ac20aefd91dce18ada2979e7fc2edae416778c9920983e82b2dee59724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3b84ac20aefd91dce18ada2979e7fc2edae416778c9920983e82b2dee59724", kill_on_drop: false }` [INFO] [stdout] 6d3b84ac20aefd91dce18ada2979e7fc2edae416778c9920983e82b2dee59724