[INFO] fetching crate torsh-cli 0.1.0-alpha.1... [INFO] checking torsh-cli-0.1.0-alpha.1 against master#cf8a95590a1b768b7711f2631d5b5e3ead464de7 for pr-149389 [INFO] extracting crate torsh-cli 0.1.0-alpha.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate torsh-cli 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate torsh-cli 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate torsh-cli 0.1.0-alpha.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate torsh-cli 0.1.0-alpha.1 on toolchain cf8a95590a1b768b7711f2631d5b5e3ead464de7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate torsh-cli 0.1.0-alpha.1 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" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iter-read v1.1.0 [INFO] [stderr] Downloaded scirs2 v0.1.0-beta.3 [INFO] [stderr] Downloaded ppmd-rust v1.2.1 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.2 [INFO] [stderr] Downloaded clap_complete v4.5.58 [INFO] [stderr] Downloaded byte-unit v5.1.6 [INFO] [stderr] Downloaded qhull v0.4.0 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded zune-jpeg v0.4.18 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded rust_decimal v1.38.0 [INFO] [stderr] Downloaded torsh-linalg v0.1.0-alpha.1 [INFO] [stderr] Downloaded imageproc v0.25.0 [INFO] [stderr] Downloaded tokenizers v0.22.1 [INFO] [stderr] Downloaded sysinfo v0.37.1 [INFO] [stderr] Downloaded torsh-profiler v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-optim v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-hub v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-quantization v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-jit v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-text v0.1.0-beta.3 [INFO] [stderr] Downloaded torsh-data v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-sparse v0.1.0-beta.3 [INFO] [stderr] Downloaded torsh-nn v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-datasets v0.1.0-beta.3 [INFO] [stderr] Downloaded torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Downloaded qhull-sys v0.4.0 [INFO] [stderr] Downloaded scirs2-autograd v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-cluster v0.1.0-beta.3 [INFO] [stderr] Downloaded serde-pickle v1.2.0 [INFO] [stderr] Downloaded torsh-core v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-vision v0.1.0-alpha.1 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded lzma-rust2 v0.13.0 [INFO] [stderr] Downloaded zip v5.1.1 [INFO] [stderr] Downloaded friedrich v0.5.0 [INFO] [stderr] Downloaded torsh-text v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-autograd v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-optimize v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-spatial v0.1.0-beta.3 [INFO] [stderr] Downloaded glam v0.30.7 [INFO] [stderr] Downloaded rayon-cond v0.4.0 [INFO] [stderr] Downloaded openblas-src v0.10.13 [INFO] [stderr] Downloaded cranelift v0.124.1 [INFO] [stderr] Downloaded cranelift-object v0.124.1 [INFO] [stderr] Downloaded scirs2-linalg v0.1.0-beta.3 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Downloaded monostate v0.1.14 [INFO] [stderr] Downloaded avif-serialize v0.8.3 [INFO] [stderr] Downloaded numrs2 v0.1.0-beta.2 [INFO] [stderr] Downloaded monostate-impl v0.1.14 [INFO] [stderr] Downloaded openblas-build v0.10.13 [INFO] [stderr] Downloaded torsh-backend v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-core v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-stats v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-vision v0.1.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 894df8dd5600f4f9b0ea3bd847151fc01d16239c19748828daf33d4fab96a082 [INFO] running `Command { std: "docker" "start" "-a" "894df8dd5600f4f9b0ea3bd847151fc01d16239c19748828daf33d4fab96a082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "894df8dd5600f4f9b0ea3bd847151fc01d16239c19748828daf33d4fab96a082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894df8dd5600f4f9b0ea3bd847151fc01d16239c19748828daf33d4fab96a082", kill_on_drop: false }` [INFO] [stdout] 894df8dd5600f4f9b0ea3bd847151fc01d16239c19748828daf33d4fab96a082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c19366ba16de3b3abf7bb35f7be74c171821a07baaad592e13c602a53c9eb531 [INFO] running `Command { std: "docker" "start" "-a" "c19366ba16de3b3abf7bb35f7be74c171821a07baaad592e13c602a53c9eb531", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking serde v1.0.225 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Compiling torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking zune-jpeg v0.4.18 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking numrs2 v0.1.0-beta.2 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking scirs2-core v0.1.0-beta.3 [INFO] [stderr] Compiling qhull-sys v0.4.0 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling scirs2-cluster v0.1.0-beta.3 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking sprs v0.11.3 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Compiling monostate-impl v0.1.14 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking qhull v0.4.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking monostate v0.1.14 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Checking console v0.16.1 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking unit-prefix v0.5.1 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking indicatif v0.18.0 [INFO] [stderr] Checking tokenizers v0.22.1 [INFO] [stderr] Checking byte-unit v5.1.6 [INFO] [stderr] Checking clap_complete v4.5.58 [INFO] [stderr] Checking dialoguer v0.12.0 [INFO] [stderr] Checking sysinfo v0.37.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking assert_cmd v2.0.17 [INFO] [stderr] Checking imageproc v0.25.0 [INFO] [stderr] Checking friedrich v0.5.0 [INFO] [stderr] Checking scirs2-linalg v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-autograd v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-datasets v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-spatial v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-sparse v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-text v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-vision v0.1.0-beta.3 [INFO] [stderr] Checking scirs2 v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-stats v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-optimize v0.1.0-beta.3 [INFO] [stderr] Checking torsh-core v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-autograd v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-linalg v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-data v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-text v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-nn v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-optim v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-vision v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-cli v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/analysis.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/analysis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/analysis.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/analysis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `benches` [INFO] [stdout] --> src/commands/model/benchmarking.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "benches")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `data`, `default`, `dev`, `hub`, `jit`, `nn`, `optim`, `profiler`, `quantization`, `text`, and `vision` [INFO] [stdout] = help: consider adding `benches` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/benchmarking.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/benchmarking.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/benchmarking.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/commands/model/benchmarking.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::{output, progress, time, validation}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/commands/model/optimization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_autograd::ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/commands/model/optimization.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/optimization.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/optimization.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/optimization.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/commands/train.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/train.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/train.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/train.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/train.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/analysis.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/analysis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/analysis.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/analysis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/commands/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use benchmark::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `execute` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 22 | pub use update::*; [INFO] [stdout] | --------- but the name `execute` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/commands/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use dataset::*; [INFO] [stdout] | ^^^^^^^^^^ the name `DownloadArgs` in the type namespace is first re-exported here [INFO] [stdout] 16 | pub use dev::*; [INFO] [stdout] 17 | pub use hub::*; [INFO] [stdout] | ------ but the name `DownloadArgs` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `benches` [INFO] [stdout] --> src/commands/model/benchmarking.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "benches")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `data`, `default`, `dev`, `hub`, `jit`, `nn`, `optim`, `profiler`, `quantization`, `text`, and `vision` [INFO] [stdout] = help: consider adding `benches` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/benchmarking.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/benchmarking.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/benchmarking.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/commands/model/benchmarking.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::{output, progress, time, validation}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/commands/model/optimization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_autograd::ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/commands/model/optimization.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/optimization.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/optimization.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/optimization.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/commands/train.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/train.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/train.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/train.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/train.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/commands/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use benchmark::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `execute` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 22 | pub use update::*; [INFO] [stdout] | --------- but the name `execute` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/commands/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use dataset::*; [INFO] [stdout] | ^^^^^^^^^^ the name `DownloadArgs` in the type namespace is first re-exported here [INFO] [stdout] 16 | pub use dev::*; [INFO] [stdout] 17 | pub use hub::*; [INFO] [stdout] | ------ but the name `DownloadArgs` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:278:63 [INFO] [stdout] | [INFO] [stdout] 278 | let sample_data: Vec = (0..1000).map(|_| rng.gen::()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:278:63 [INFO] [stdout] | [INFO] [stdout] 278 | let sample_data: Vec = (0..1000).map(|_| rng.gen::()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:468:49 [INFO] [stdout] | [INFO] [stdout] 468 | let quantization_ratio = 0.25 + rng.gen::() * 0.5; // Simulate quantization analysis [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:468:49 [INFO] [stdout] | [INFO] [stdout] 468 | let quantization_ratio = 0.25 + rng.gen::() * 0.5; // Simulate quantization analysis [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | if rng.gen::() < 0.05 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | if rng.gen::() < 0.05 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:645:51 [INFO] [stdout] | [INFO] [stdout] 645 | Array2::from_shape_fn((128, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:645:51 [INFO] [stdout] | [INFO] [stdout] 645 | Array2::from_shape_fn((128, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:754:51 [INFO] [stdout] | [INFO] [stdout] 754 | Array2::from_shape_fn((784, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:754:51 [INFO] [stdout] | [INFO] [stdout] 754 | Array2::from_shape_fn((784, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:521:66 [INFO] [stdout] | [INFO] [stdout] 521 | let sample_weights = Array2::from_shape_fn((64, 64), |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:521:66 [INFO] [stdout] | [INFO] [stdout] 521 | let sample_weights = Array2::from_shape_fn((64, 64), |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:585:49 [INFO] [stdout] | [INFO] [stdout] 585 | Array2::from_shape_fn((32, 32), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:585:49 [INFO] [stdout] | [INFO] [stdout] 585 | Array2::from_shape_fn((32, 32), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:778:51 [INFO] [stdout] | [INFO] [stdout] 778 | Array2::from_shape_fn((256, 256), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:778:51 [INFO] [stdout] | [INFO] [stdout] 778 | Array2::from_shape_fn((256, 256), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/analysis.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/benchmarking.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/benchmarking.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/conversion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/optimization.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/train.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/analysis.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/benchmarking.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/benchmarking.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/conversion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/optimization.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/train.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/benchmark.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | async fn compare_benchmarks(args: CompareArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/benchmark.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | async fn compare_benchmarks(args: CompareArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | async fn preprocess_dataset(args: PreprocessArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | async fn analyze_dataset(args: AnalyzeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | async fn split_dataset(args: SplitArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | async fn preprocess_dataset(args: PreprocessArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | async fn analyze_dataset(args: AnalyzeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | async fn split_dataset(args: SplitArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hub.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | async fn list_models(args: ListArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hub.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | async fn list_models(args: ListArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/info.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let mut experimental_features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/info.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let mut experimental_features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_content` [INFO] [stdout] --> src/commands/init.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let main_content = match template { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_content` [INFO] [stdout] --> src/commands/init.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let main_content = match template { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/commands/model/analysis.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 758 | device: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/commands/model/analysis.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 758 | device: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:927:10 [INFO] [stdout] | [INFO] [stdout] 927 | for (batch_idx, input_tensor) in inputs.inputs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | for (layer_idx, param_layer) in model.parameters.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:927:10 [INFO] [stdout] | [INFO] [stdout] 927 | for (batch_idx, input_tensor) in inputs.inputs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | for (layer_idx, param_layer) in model.parameters.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/model/benchmarking.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/model/benchmarking.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/commands/model/conversion.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let (result, duration) = time::measure_time(async { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/commands/model/conversion.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let (result, duration) = time::measure_time(async { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conversion_tensor` [INFO] [stdout] --> src/commands/model/conversion.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let conversion_tensor: Array2 = Array2::zeros((100, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conversion_tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conversion_tensor` [INFO] [stdout] --> src/commands/model/conversion.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let conversion_tensor: Array2 = Array2::zeros((100, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conversion_tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/commands/model/optimization.rs:665:56 [INFO] [stdout] | [INFO] [stdout] 665 | async fn apply_qat_quantization(model: ModelContainer, precision: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/commands/model/optimization.rs:665:56 [INFO] [stdout] | [INFO] [stdout] 665 | async fn apply_qat_quantization(model: ModelContainer, precision: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/commands/model/optimization.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | let (rows, cols) = tensor.dim(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/commands/model/optimization.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | let (rows, cols) = tensor.dim(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/train.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | args: &StartArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/train.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | args: &StartArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_path` [INFO] [stdout] --> src/commands/train.rs:1452:31 [INFO] [stdout] | [INFO] [stdout] 1452 | async fn follow_training_logs(log_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_path` [INFO] [stdout] --> src/commands/train.rs:1452:31 [INFO] [stdout] | [INFO] [stdout] 1452 | async fn follow_training_logs(log_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta2` [INFO] [stdout] --> src/commands/train.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | let beta2 = optimizer.state["beta2"].as_f64().unwrap_or(0.999) as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_beta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/commands/train.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | let eps = optimizer.state["eps"].as_f64().unwrap_or(1e-8) as f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_loss` [INFO] [stdout] --> src/commands/train.rs:1261:5 [INFO] [stdout] | [INFO] [stdout] 1261 | val_loss: f64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta2` [INFO] [stdout] --> src/commands/train.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | let beta2 = optimizer.state["beta2"].as_f64().unwrap_or(0.999) as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_beta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/commands/train.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | let eps = optimizer.state["eps"].as_f64().unwrap_or(1e-8) as f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_loss` [INFO] [stdout] --> src/commands/train.rs:1261:5 [INFO] [stdout] | [INFO] [stdout] 1261 | val_loss: f64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationModel` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | struct ValidationModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationDataset` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:575:8 [INFO] [stdout] | [INFO] [stdout] 575 | struct ValidationDataset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResults` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | struct ValidationResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_model_for_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:604:10 [INFO] [stdout] | [INFO] [stdout] 604 | async fn load_model_for_validation(model_path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_validation_dataset` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | async fn load_validation_dataset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_model_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:684:10 [INFO] [stdout] | [INFO] [stdout] 684 | async fn perform_model_validation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_inference` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:755:10 [INFO] [stdout] | [INFO] [stdout] 755 | async fn perform_inference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_inference_memory_usage` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn estimate_inference_memory_usage(model: &ValidationModel, num_samples: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_base_inference_time` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:580:4 [INFO] [stdout] | [INFO] [stdout] 580 | fn calculate_base_inference_time(model_info: &ModelInfo, batch_elements: u64, device: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_memory_usage` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn estimate_memory_usage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `architecture`, `input_shape`, and `output_shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 638 | struct BenchmarkModel { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 644 | architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 649 | /// Output shape [INFO] [stdout] 650 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batch_size` and `shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 655 | struct BenchmarkInputs { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 659 | batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 660 | /// Input shape [INFO] [stdout] 661 | shape: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkInputs` 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: field `profile_memory` is never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 679 | struct BenchmarkProfiler { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 683 | profile_memory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkProfiler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_flops`, `avg_flops_per_sec`, and `computational_efficiency` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 696 | struct ProfilingSummary { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 702 | total_flops: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 703 | /// Average FLOPS per second [INFO] [stdout] 704 | avg_flops_per_sec: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 705 | /// Computational efficiency [INFO] [stdout] 706 | computational_efficiency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilingSummary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_shape`, `output_shape`, and `parameters` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 473 | struct TorshLayer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 476 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 477 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 478 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs` and `outputs` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 487 | struct OnnxNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 490 | inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 491 | outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_data` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 811 | struct ModelContainer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 814 | raw_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelContainer` 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: field `min` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 825 | struct CalibrationStats { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 828 | min: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalibrationStats` 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: field `device` is never read [INFO] [stdout] --> src/commands/train.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct TrainingModel { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 447 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epochs_completed` and `duration` are never read [INFO] [stdout] --> src/commands/train.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 489 | struct TrainingResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 493 | epochs_completed: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | duration: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingResults` 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 `ValidationModel` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | struct ValidationModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationDataset` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:575:8 [INFO] [stdout] | [INFO] [stdout] 575 | struct ValidationDataset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResults` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | struct ValidationResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_model_for_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:604:10 [INFO] [stdout] | [INFO] [stdout] 604 | async fn load_model_for_validation(model_path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_validation_dataset` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | async fn load_validation_dataset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_model_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:684:10 [INFO] [stdout] | [INFO] [stdout] 684 | async fn perform_model_validation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_inference` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:755:10 [INFO] [stdout] | [INFO] [stdout] 755 | async fn perform_inference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_inference_memory_usage` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn estimate_inference_memory_usage(model: &ValidationModel, num_samples: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_base_inference_time` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:580:4 [INFO] [stdout] | [INFO] [stdout] 580 | fn calculate_base_inference_time(model_info: &ModelInfo, batch_elements: u64, device: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_memory_usage` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn estimate_memory_usage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `architecture`, `input_shape`, and `output_shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 638 | struct BenchmarkModel { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 644 | architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 649 | /// Output shape [INFO] [stdout] 650 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batch_size` and `shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 655 | struct BenchmarkInputs { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 659 | batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 660 | /// Input shape [INFO] [stdout] 661 | shape: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkInputs` 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: field `profile_memory` is never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 679 | struct BenchmarkProfiler { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 683 | profile_memory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkProfiler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_flops`, `avg_flops_per_sec`, and `computational_efficiency` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 696 | struct ProfilingSummary { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 702 | total_flops: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 703 | /// Average FLOPS per second [INFO] [stdout] 704 | avg_flops_per_sec: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 705 | /// Computational efficiency [INFO] [stdout] 706 | computational_efficiency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilingSummary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_shape`, `output_shape`, and `parameters` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 473 | struct TorshLayer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 476 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 477 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 478 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs` and `outputs` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 487 | struct OnnxNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 490 | inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 491 | outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_data` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 811 | struct ModelContainer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 814 | raw_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelContainer` 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: field `min` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 825 | struct CalibrationStats { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 828 | min: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalibrationStats` 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: field `device` is never read [INFO] [stdout] --> src/commands/train.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct TrainingModel { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 447 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epochs_completed` and `duration` are never read [INFO] [stdout] --> src/commands/train.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 489 | struct TrainingResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 493 | epochs_completed: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | duration: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingResults` 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: unused import: `warn` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/analysis.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/analysis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/analysis.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/analysis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `benches` [INFO] [stdout] --> src/commands/model/benchmarking.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "benches")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `data`, `default`, `dev`, `hub`, `jit`, `nn`, `optim`, `profiler`, `quantization`, `text`, and `vision` [INFO] [stdout] = help: consider adding `benches` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/benchmarking.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/benchmarking.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/benchmarking.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/commands/model/benchmarking.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::{output, progress, time, validation}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/analysis.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/analysis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/analysis.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/analysis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/commands/model/optimization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_autograd::ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/commands/model/optimization.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/optimization.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/optimization.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/optimization.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelInfo` and `ModelResult` [INFO] [stdout] --> src/commands/model/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub use types::{ModelInfo, ModelResult}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/commands/train.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/train.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/train.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/train.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/train.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `benches` [INFO] [stdout] --> src/commands/model/benchmarking.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "benches")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `data`, `default`, `dev`, `hub`, `jit`, `nn`, `optim`, `profiler`, `quantization`, `text`, and `vision` [INFO] [stdout] = help: consider adding `benches` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/model/benchmarking.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/benchmarking.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/benchmarking.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/commands/model/benchmarking.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::{output, progress, time, validation}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/commands/model/optimization.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_autograd::ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/commands/model/optimization.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/model/optimization.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/model/optimization.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/model/optimization.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelInfo` and `ModelResult` [INFO] [stdout] --> src/commands/model/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub use types::{ModelInfo, ModelResult}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/commands/train.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array4` [INFO] [stdout] --> src/commands/train.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | use scirs2_autograd::ndarray::{Array1, Array2, Array3, Array4}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_autograd::context::AutogradContext` [INFO] [stdout] --> src/commands/train.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use torsh_autograd::context::AutogradContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/commands/train.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/commands/train.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:278:63 [INFO] [stdout] | [INFO] [stdout] 278 | let sample_data: Vec = (0..1000).map(|_| rng.gen::()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:278:63 [INFO] [stdout] | [INFO] [stdout] 278 | let sample_data: Vec = (0..1000).map(|_| rng.gen::()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:468:49 [INFO] [stdout] | [INFO] [stdout] 468 | let quantization_ratio = 0.25 + rng.gen::() * 0.5; // Simulate quantization analysis [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:468:49 [INFO] [stdout] | [INFO] [stdout] 468 | let quantization_ratio = 0.25 + rng.gen::() * 0.5; // Simulate quantization analysis [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | if rng.gen::() < 0.05 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/analysis.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | if rng.gen::() < 0.05 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:645:51 [INFO] [stdout] | [INFO] [stdout] 645 | Array2::from_shape_fn((128, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:645:51 [INFO] [stdout] | [INFO] [stdout] 645 | Array2::from_shape_fn((128, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:754:51 [INFO] [stdout] | [INFO] [stdout] 754 | Array2::from_shape_fn((784, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:754:51 [INFO] [stdout] | [INFO] [stdout] 754 | Array2::from_shape_fn((784, 128), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:521:66 [INFO] [stdout] | [INFO] [stdout] 521 | let sample_weights = Array2::from_shape_fn((64, 64), |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:585:49 [INFO] [stdout] | [INFO] [stdout] 585 | Array2::from_shape_fn((32, 32), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:521:66 [INFO] [stdout] | [INFO] [stdout] 521 | let sample_weights = Array2::from_shape_fn((64, 64), |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:585:49 [INFO] [stdout] | [INFO] [stdout] 585 | Array2::from_shape_fn((32, 32), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:778:51 [INFO] [stdout] | [INFO] [stdout] 778 | Array2::from_shape_fn((256, 256), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/commands/model/conversion.rs:778:51 [INFO] [stdout] | [INFO] [stdout] 778 | Array2::from_shape_fn((256, 256), |_| rng.gen::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/analysis.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/benchmarking.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/benchmarking.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/conversion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/optimization.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/train.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/analysis.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/commands/model/benchmarking.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use torsh_core::{DType, Device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/benchmarking.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/benchmarking.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numrs2::prelude` [INFO] [stdout] --> src/commands/model/conversion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use numrs2::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/model/optimization.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/commands/train.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/benchmark.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | async fn compare_benchmarks(args: CompareArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/benchmark.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | async fn compare_benchmarks(args: CompareArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | async fn preprocess_dataset(args: PreprocessArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | async fn analyze_dataset(args: AnalyzeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | async fn split_dataset(args: SplitArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | async fn preprocess_dataset(args: PreprocessArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | async fn analyze_dataset(args: AnalyzeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/dataset.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | async fn split_dataset(args: SplitArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hub.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | async fn list_models(args: ListArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hub.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | async fn list_models(args: ListArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/info.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let mut experimental_features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_content` [INFO] [stdout] --> src/commands/init.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let main_content = match template { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/info.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let mut experimental_features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_content` [INFO] [stdout] --> src/commands/init.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let main_content = match template { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/commands/model/analysis.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 758 | device: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/commands/model/analysis.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 758 | device: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:927:10 [INFO] [stdout] | [INFO] [stdout] 927 | for (batch_idx, input_tensor) in inputs.inputs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | for (layer_idx, param_layer) in model.parameters.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:927:10 [INFO] [stdout] | [INFO] [stdout] 927 | for (batch_idx, input_tensor) in inputs.inputs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_idx` [INFO] [stdout] --> src/commands/model/benchmarking.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | for (layer_idx, param_layer) in model.parameters.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/model/benchmarking.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/model/benchmarking.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/commands/model/conversion.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let (result, duration) = time::measure_time(async { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conversion_tensor` [INFO] [stdout] --> src/commands/model/conversion.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let conversion_tensor: Array2 = Array2::zeros((100, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conversion_tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/commands/model/conversion.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let (result, duration) = time::measure_time(async { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/commands/model/conversion.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut rng = Random::seed(42); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conversion_tensor` [INFO] [stdout] --> src/commands/model/conversion.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let conversion_tensor: Array2 = Array2::zeros((100, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conversion_tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/commands/model/optimization.rs:665:56 [INFO] [stdout] | [INFO] [stdout] 665 | async fn apply_qat_quantization(model: ModelContainer, precision: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/commands/model/optimization.rs:665:56 [INFO] [stdout] | [INFO] [stdout] 665 | async fn apply_qat_quantization(model: ModelContainer, precision: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/commands/model/optimization.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | let (rows, cols) = tensor.dim(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structured` [INFO] [stdout] --> src/commands/model/optimization.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | structured: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/commands/model/optimization.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | let (rows, cols) = tensor.dim(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/train.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | args: &StartArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/train.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | args: &StartArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_path` [INFO] [stdout] --> src/commands/train.rs:1452:31 [INFO] [stdout] | [INFO] [stdout] 1452 | async fn follow_training_logs(log_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_path` [INFO] [stdout] --> src/commands/train.rs:1452:31 [INFO] [stdout] | [INFO] [stdout] 1452 | async fn follow_training_logs(log_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta2` [INFO] [stdout] --> src/commands/train.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | let beta2 = optimizer.state["beta2"].as_f64().unwrap_or(0.999) as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_beta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/commands/train.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | let eps = optimizer.state["eps"].as_f64().unwrap_or(1e-8) as f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_loss` [INFO] [stdout] --> src/commands/train.rs:1261:5 [INFO] [stdout] | [INFO] [stdout] 1261 | val_loss: f64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta2` [INFO] [stdout] --> src/commands/train.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | let beta2 = optimizer.state["beta2"].as_f64().unwrap_or(0.999) as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_beta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/commands/train.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | let eps = optimizer.state["eps"].as_f64().unwrap_or(1e-8) as f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_loss` [INFO] [stdout] --> src/commands/train.rs:1261:5 [INFO] [stdout] | [INFO] [stdout] 1261 | val_loss: f64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationModel` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | struct ValidationModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationDataset` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:575:8 [INFO] [stdout] | [INFO] [stdout] 575 | struct ValidationDataset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResults` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | struct ValidationResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_model_for_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:604:10 [INFO] [stdout] | [INFO] [stdout] 604 | async fn load_model_for_validation(model_path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_validation_dataset` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | async fn load_validation_dataset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_model_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:684:10 [INFO] [stdout] | [INFO] [stdout] 684 | async fn perform_model_validation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_inference` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:755:10 [INFO] [stdout] | [INFO] [stdout] 755 | async fn perform_inference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_inference_memory_usage` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn estimate_inference_memory_usage(model: &ValidationModel, num_samples: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkSuiteConfig` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomBenchmarkDefinition` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CustomBenchmarkDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkInputConfig` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BenchmarkInputConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceThresholds` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PerformanceThresholds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegressionConfig` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct RegressionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegressionComparisonMode` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum RegressionComparisonMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_default_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn create_default_benchmark_suite() -> BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ml_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn create_ml_benchmark_suite() -> BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ops_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn create_ops_benchmark_suite() -> BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | pub async fn run_benchmark_suite( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_base_inference_time` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:580:4 [INFO] [stdout] | [INFO] [stdout] 580 | fn calculate_base_inference_time(model_info: &ModelInfo, batch_elements: u64, device: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_memory_usage` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn estimate_memory_usage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `architecture`, `input_shape`, and `output_shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 638 | struct BenchmarkModel { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 644 | architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 649 | /// Output shape [INFO] [stdout] 650 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batch_size` and `shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 655 | struct BenchmarkInputs { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 659 | batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 660 | /// Input shape [INFO] [stdout] 661 | shape: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkInputs` 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: field `profile_memory` is never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 679 | struct BenchmarkProfiler { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 683 | profile_memory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkProfiler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_flops`, `avg_flops_per_sec`, and `computational_efficiency` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 696 | struct ProfilingSummary { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 702 | total_flops: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 703 | /// Average FLOPS per second [INFO] [stdout] 704 | avg_flops_per_sec: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 705 | /// Computational efficiency [INFO] [stdout] 706 | computational_efficiency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilingSummary` 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: function `run_standard_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1085:10 [INFO] [stdout] | [INFO] [stdout] 1085 | async fn run_standard_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_custom_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1113:10 [INFO] [stdout] | [INFO] [stdout] 1113 | async fn run_custom_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_regression_testing` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1234:10 [INFO] [stdout] | [INFO] [stdout] 1234 | async fn run_regression_testing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkComparison` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:1311:8 [INFO] [stdout] | [INFO] [stdout] 1311 | struct BenchmarkComparison { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_benchmark_results` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1331:4 [INFO] [stdout] | [INFO] [stdout] 1331 | fn compare_benchmark_results( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_metric` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1466:4 [INFO] [stdout] | [INFO] [stdout] 1466 | fn extract_metric(json: &serde_json::Value, path: &[&str]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_resnet50_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1477:10 [INFO] [stdout] | [INFO] [stdout] 1477 | async fn run_resnet50_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_bert_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1519:10 [INFO] [stdout] | [INFO] [stdout] 1519 | async fn run_bert_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_mobilenet_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1557:10 [INFO] [stdout] | [INFO] [stdout] 1557 | async fn run_mobilenet_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_transformer_training_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1598:10 [INFO] [stdout] | [INFO] [stdout] 1598 | async fn run_transformer_training_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_conv2d_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1648:10 [INFO] [stdout] | [INFO] [stdout] 1648 | async fn run_conv2d_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_matmul_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1716:10 [INFO] [stdout] | [INFO] [stdout] 1716 | async fn run_matmul_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_activation_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1772:10 [INFO] [stdout] | [INFO] [stdout] 1772 | async fn run_activation_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_memory_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1827:10 [INFO] [stdout] | [INFO] [stdout] 1827 | async fn run_memory_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_shape`, `output_shape`, and `parameters` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 473 | struct TorshLayer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 476 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 477 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 478 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs` and `outputs` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 487 | struct OnnxNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 490 | inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 491 | outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_data` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 811 | struct ModelContainer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 814 | raw_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelContainer` 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: field `min` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 825 | struct CalibrationStats { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 828 | min: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalibrationStats` 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: field `device` is never read [INFO] [stdout] --> src/commands/train.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct TrainingModel { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 447 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epochs_completed` and `duration` are never read [INFO] [stdout] --> src/commands/train.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 489 | struct TrainingResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 493 | epochs_completed: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | duration: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingResults` 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: function `init_config_dirs` is never used [INFO] [stdout] --> src/config.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn init_config_dirs(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_directory_size` is never used [INFO] [stdout] --> src/utils.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn get_directory_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_files` is never used [INFO] [stdout] --> src/utils.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn find_files(directory: &Path, pattern: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backup_file` is never used [INFO] [stdout] --> src/utils.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | pub async fn backup_file(file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_temp_files` is never used [INFO] [stdout] --> src/utils.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | pub async fn cleanup_temp_files(temp_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_timestamp` is never used [INFO] [stdout] --> src/utils.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn current_timestamp() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration` is never used [INFO] [stdout] --> src/utils.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn parse_duration(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_file_with_progress` is never used [INFO] [stdout] --> src/utils.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn download_file_with_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_url_accessible` is never used [INFO] [stdout] --> src/utils.rs:735:18 [INFO] [stdout] | [INFO] [stdout] 735 | pub async fn check_url_accessible(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/utils.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 815 | pub fn confirm(message: &str, default: bool) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/utils.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn input(message: &str, default: Option) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> src/utils.rs:841:12 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn select(message: &str, options: &[String]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationModel` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | struct ValidationModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationDataset` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:575:8 [INFO] [stdout] | [INFO] [stdout] 575 | struct ValidationDataset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResults` is never constructed [INFO] [stdout] --> src/commands/model/analysis.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | struct ValidationResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_model_for_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:604:10 [INFO] [stdout] | [INFO] [stdout] 604 | async fn load_model_for_validation(model_path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_validation_dataset` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | async fn load_validation_dataset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_model_validation` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:684:10 [INFO] [stdout] | [INFO] [stdout] 684 | async fn perform_model_validation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_inference` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:755:10 [INFO] [stdout] | [INFO] [stdout] 755 | async fn perform_inference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_inference_memory_usage` is never used [INFO] [stdout] --> src/commands/model/analysis.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn estimate_inference_memory_usage(model: &ValidationModel, num_samples: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkSuiteConfig` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomBenchmarkDefinition` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CustomBenchmarkDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkInputConfig` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BenchmarkInputConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceThresholds` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PerformanceThresholds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegressionConfig` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct RegressionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegressionComparisonMode` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum RegressionComparisonMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_default_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn create_default_benchmark_suite() -> BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ml_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn create_ml_benchmark_suite() -> BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ops_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn create_ops_benchmark_suite() -> BenchmarkSuiteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_benchmark_suite` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | pub async fn run_benchmark_suite( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_base_inference_time` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:580:4 [INFO] [stdout] | [INFO] [stdout] 580 | fn calculate_base_inference_time(model_info: &ModelInfo, batch_elements: u64, device: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_memory_usage` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn estimate_memory_usage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `architecture`, `input_shape`, and `output_shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 638 | struct BenchmarkModel { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 644 | architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 649 | /// Output shape [INFO] [stdout] 650 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batch_size` and `shape` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 655 | struct BenchmarkInputs { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 659 | batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 660 | /// Input shape [INFO] [stdout] 661 | shape: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkInputs` 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: field `profile_memory` is never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 679 | struct BenchmarkProfiler { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 683 | profile_memory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkProfiler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_flops`, `avg_flops_per_sec`, and `computational_efficiency` are never read [INFO] [stdout] --> src/commands/model/benchmarking.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 696 | struct ProfilingSummary { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 702 | total_flops: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 703 | /// Average FLOPS per second [INFO] [stdout] 704 | avg_flops_per_sec: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 705 | /// Computational efficiency [INFO] [stdout] 706 | computational_efficiency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilingSummary` 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: function `run_standard_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1085:10 [INFO] [stdout] | [INFO] [stdout] 1085 | async fn run_standard_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_custom_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1113:10 [INFO] [stdout] | [INFO] [stdout] 1113 | async fn run_custom_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_regression_testing` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1234:10 [INFO] [stdout] | [INFO] [stdout] 1234 | async fn run_regression_testing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkComparison` is never constructed [INFO] [stdout] --> src/commands/model/benchmarking.rs:1311:8 [INFO] [stdout] | [INFO] [stdout] 1311 | struct BenchmarkComparison { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_benchmark_results` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1331:4 [INFO] [stdout] | [INFO] [stdout] 1331 | fn compare_benchmark_results( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_metric` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1466:4 [INFO] [stdout] | [INFO] [stdout] 1466 | fn extract_metric(json: &serde_json::Value, path: &[&str]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_resnet50_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1477:10 [INFO] [stdout] | [INFO] [stdout] 1477 | async fn run_resnet50_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_bert_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1519:10 [INFO] [stdout] | [INFO] [stdout] 1519 | async fn run_bert_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_mobilenet_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1557:10 [INFO] [stdout] | [INFO] [stdout] 1557 | async fn run_mobilenet_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_transformer_training_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1598:10 [INFO] [stdout] | [INFO] [stdout] 1598 | async fn run_transformer_training_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_conv2d_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1648:10 [INFO] [stdout] | [INFO] [stdout] 1648 | async fn run_conv2d_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_matmul_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1716:10 [INFO] [stdout] | [INFO] [stdout] 1716 | async fn run_matmul_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_activation_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1772:10 [INFO] [stdout] | [INFO] [stdout] 1772 | async fn run_activation_benchmark( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_memory_benchmark` is never used [INFO] [stdout] --> src/commands/model/benchmarking.rs:1827:10 [INFO] [stdout] | [INFO] [stdout] 1827 | async fn run_memory_benchmark(args: &BenchmarkArgs, _config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_shape`, `output_shape`, and `parameters` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 473 | struct TorshLayer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 476 | input_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 477 | output_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 478 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs` and `outputs` are never read [INFO] [stdout] --> src/commands/model/conversion.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 487 | struct OnnxNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 490 | inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 491 | outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_data` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 811 | struct ModelContainer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 814 | raw_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelContainer` 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: field `min` is never read [INFO] [stdout] --> src/commands/model/optimization.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 825 | struct CalibrationStats { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 828 | min: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalibrationStats` 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: field `device` is never read [INFO] [stdout] --> src/commands/train.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct TrainingModel { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 447 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epochs_completed` and `duration` are never read [INFO] [stdout] --> src/commands/train.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 489 | struct TrainingResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 493 | epochs_completed: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | duration: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingResults` 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: function `init_config_dirs` is never used [INFO] [stdout] --> src/config.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn init_config_dirs(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_files` is never used [INFO] [stdout] --> src/utils.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn find_files(directory: &Path, pattern: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_temp_files` is never used [INFO] [stdout] --> src/utils.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | pub async fn cleanup_temp_files(temp_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_timestamp` is never used [INFO] [stdout] --> src/utils.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn current_timestamp() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration` is never used [INFO] [stdout] --> src/utils.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn parse_duration(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_file_with_progress` is never used [INFO] [stdout] --> src/utils.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn download_file_with_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_url_accessible` is never used [INFO] [stdout] --> src/utils.rs:735:18 [INFO] [stdout] | [INFO] [stdout] 735 | pub async fn check_url_accessible(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/utils.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 815 | pub fn confirm(message: &str, default: bool) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/utils.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn input(message: &str, default: Option) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> src/utils.rs:841:12 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn select(message: &str, options: &[String]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 38s [INFO] running `Command { std: "docker" "inspect" "c19366ba16de3b3abf7bb35f7be74c171821a07baaad592e13c602a53c9eb531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19366ba16de3b3abf7bb35f7be74c171821a07baaad592e13c602a53c9eb531", kill_on_drop: false }` [INFO] [stdout] c19366ba16de3b3abf7bb35f7be74c171821a07baaad592e13c602a53c9eb531