[INFO] fetching crate torsh-models 0.1.0-alpha.1... [INFO] checking torsh-models-0.1.0-alpha.1 against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834-1 [INFO] extracting crate torsh-models 0.1.0-alpha.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate torsh-models 0.1.0-alpha.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate torsh-models 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate torsh-models 0.1.0-alpha.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate torsh-models 0.1.0-alpha.1 on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate torsh-models 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a6c1383e655496a6ca0ccc25eb7f55213aa87c61b7787a63039ff292a805239 [INFO] running `Command { std: "docker" "start" "-a" "7a6c1383e655496a6ca0ccc25eb7f55213aa87c61b7787a63039ff292a805239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a6c1383e655496a6ca0ccc25eb7f55213aa87c61b7787a63039ff292a805239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a6c1383e655496a6ca0ccc25eb7f55213aa87c61b7787a63039ff292a805239", kill_on_drop: false }` [INFO] [stdout] 7a6c1383e655496a6ca0ccc25eb7f55213aa87c61b7787a63039ff292a805239 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab14bdeb5c0fad8088cf6e2e5285a18f041a3171e3bc6e4a8c6703b244a6fddc [INFO] running `Command { std: "docker" "start" "-a" "ab14bdeb5c0fad8088cf6e2e5285a18f041a3171e3bc6e4a8c6703b244a6fddc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking zlib-rs v0.5.2 [INFO] [stderr] Checking rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking libz-rs-sys v0.5.2 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Compiling scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Compiling torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Checking sprs v0.11.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling scirs2-cluster v0.1.0-beta.3 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Checking scirs2-core v0.1.0-beta.3 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking console v0.16.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking numrs2 v0.1.0-beta.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling qhull-sys v0.4.0 [INFO] [stderr] Checking unit-prefix v0.5.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking indicatif v0.18.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking safetensors v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking qhull v0.4.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-spatial v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-sparse 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-nn v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-optim v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-models v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/audio/classification/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/classification/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/audio/classification/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/audio/hubert/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/audio/hubert/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Dropout`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, `Linear`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/hubert/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/audio/hubert/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/audio/hubert/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Embedding`, `GELU`, `GroupNorm`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/audio/wavlm/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/audio/wavlm/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Dropout`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, `Linear`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/wavlm/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/audio/wavlm/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/audio/wavlm/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/audio/whisper/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/audio/whisper/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Dropout`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, `Linear`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/whisper/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/audio/whisper/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/audio/whisper/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/fine_tuning.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/fine_tuning.rs:1006:13 [INFO] [stdout] | [INFO] [stdout] 1006 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/generative.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::{error::TorshError, DType, DeviceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/gnn.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::{DType, DeviceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/multimodal/common/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/multimodal/common/types.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/multimodal/common/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/multimodal/common/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/common/utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/embeddings.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::type_conversions::*` [INFO] [stdout] --> src/multimodal/clip/embeddings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use torsh_tensor::type_conversions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/encoders.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/layers.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/models.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/align/model.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::type_conversions::*` [INFO] [stdout] --> src/multimodal/align/text/embeddings.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_tensor::type_conversions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ModelResult` [INFO] [stdout] --> src/nlp/common/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ModelResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/attention.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/nlp/roberta/attention.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/embeddings.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/layers.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/nlp/roberta/layers.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/models.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/nlp/roberta/models.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/optimization.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/optimization.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 852 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/video.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::{DType, DeviceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/vision/resnet/blocks.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PatchEmbedStrategy` [INFO] [stdout] --> src/vision/vision_transformer.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::vision::vit::{PatchEmbedStrategy, ViTConfig, ViTVariant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/vision/vit/embeddings.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | pub use crate::comparison::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `utils` in the type 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/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub use crate::ensembling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `EnsembleMethod` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ----------------- but the name `EnsembleMethod` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub use crate::ensembling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `ConfigValue` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ----------------- but the name `ConfigValue` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub use crate::ensembling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `ValidationStrategy` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `ValidationStrategy` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | pub use crate::fine_tuning::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `TaskType` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `TaskType` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | pub use crate::pruning::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `LayerType` in the type namespace is first re-exported here [INFO] [stdout] 285 | pub use crate::quantization::*; [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ----------------- but the name `LayerType` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `ValidationResults` in the type namespace is first re-exported here [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `ValidationResults` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `common` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `common` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `create_model_by_architecture` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `create_model_by_architecture` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `supported_architectures` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `supported_architectures` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `is_architecture_supported` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `is_architecture_supported` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/audio/classification/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/classification/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/audio/classification/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation` [INFO] [stdout] --> src/audio/common/mod.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | use torsh_tensor::creation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/audio/hubert/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/audio/hubert/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Dropout`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, `Linear`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/hubert/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/audio/hubert/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/audio/hubert/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Embedding`, `GELU`, `GroupNorm`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/audio/wavlm/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/audio/wavlm/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Dropout`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, `Linear`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/wavlm/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/audio/wavlm/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/audio/wavlm/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/audio/whisper/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/audio/whisper/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conv1d`, `Dropout`, `Embedding`, `GELU`, `GroupNorm`, `LayerNorm`, `Linear`, and `MultiheadAttention` [INFO] [stdout] --> src/audio/whisper/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Conv1d, Dropout, Embedding, GroupNorm, LayerNorm, Linear, MultiheadAttention, GELU, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/audio/whisper/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/audio/whisper/mod.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/comparison.rs:1129:9 [INFO] [stdout] | [INFO] [stdout] 1129 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> src/downloader.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/few_shot.rs:878:9 [INFO] [stdout] | [INFO] [stdout] 878 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/fine_tuning.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/fine_tuning.rs:1006:13 [INFO] [stdout] | [INFO] [stdout] 1006 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/generative.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::{error::TorshError, DType, DeviceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/gnn.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::{DType, DeviceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/multimodal/common/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceType`, `Result`, and `TorshError` [INFO] [stdout] --> src/multimodal/common/types.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | DeviceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Parameter` [INFO] [stdout] --> src/multimodal/common/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tensor` and `creation` [INFO] [stdout] --> src/multimodal/common/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/common/utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/embeddings.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::type_conversions::*` [INFO] [stdout] --> src/multimodal/clip/embeddings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use torsh_tensor::type_conversions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/encoders.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/layers.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/clip/models.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation` [INFO] [stdout] --> src/multimodal/clip/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use torsh_tensor::creation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/multimodal/align/model.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::type_conversions::*` [INFO] [stdout] --> src/multimodal/align/text/embeddings.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_tensor::type_conversions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation` [INFO] [stdout] --> src/multimodal/align/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use torsh_tensor::creation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ModelResult` [INFO] [stdout] --> src/nlp/common/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ModelResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/attention.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/nlp/roberta/attention.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/embeddings.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/layers.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/nlp/roberta/layers.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/nlp/roberta/models.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation` [INFO] [stdout] --> src/nlp/roberta/models.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_tensor::{creation, Tensor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/optimization.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> src/optimization.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use torsh_nn::{Module, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 852 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:1318:13 [INFO] [stdout] | [INFO] [stdout] 1318 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:1329:13 [INFO] [stdout] | [INFO] [stdout] 1329 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::DeviceType` [INFO] [stdout] --> src/surgery.rs:1340:13 [INFO] [stdout] | [INFO] [stdout] 1340 | use torsh_core::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/video.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use torsh_core::{DType, DeviceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/vision/resnet/blocks.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation` [INFO] [stdout] --> src/vision/resnet/models.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | use torsh_tensor::creation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PatchEmbedStrategy` [INFO] [stdout] --> src/vision/vision_transformer.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::vision::vit::{PatchEmbedStrategy, ViTConfig, ViTVariant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::Tensor` [INFO] [stdout] --> src/vision/vision_transformer.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | use torsh_tensor::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/vision/vit/embeddings.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | error::{Result, TorshError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | pub use crate::comparison::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `utils` in the type 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/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub use crate::ensembling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `EnsembleMethod` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ----------------- but the name `EnsembleMethod` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub use crate::ensembling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `ConfigValue` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ----------------- but the name `ConfigValue` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | pub use crate::ensembling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `ValidationStrategy` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `ValidationStrategy` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | pub use crate::fine_tuning::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `TaskType` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `TaskType` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | pub use crate::pruning::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `LayerType` in the type namespace is first re-exported here [INFO] [stdout] 285 | pub use crate::quantization::*; [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ----------------- but the name `LayerType` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | pub use crate::surgery::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `ValidationResults` in the type namespace is first re-exported here [INFO] [stdout] 287 | pub use crate::validation::*; [INFO] [stdout] | -------------------- but the name `ValidationResults` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `common` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `common` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `create_model_by_architecture` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `create_model_by_architecture` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `supported_architectures` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `supported_architectures` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | pub use crate::vision::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `is_architecture_supported` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 299 | pub use crate::multimodal::*; [INFO] [stdout] | -------------------- but the name `is_architecture_supported` in the value 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/rl.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if rng.gen::() < epsilon { [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/rl.rs:448:30 [INFO] [stdout] | [INFO] [stdout] 448 | let random_val = 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/rl.rs:1042:34 [INFO] [stdout] | [INFO] [stdout] 1042 | let random_val = 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/rl.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if rng.gen::() < epsilon { [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/rl.rs:448:30 [INFO] [stdout] | [INFO] [stdout] 448 | let random_val = 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/rl.rs:1042:34 [INFO] [stdout] | [INFO] [stdout] 1042 | let random_val = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `safetensors::Dtype::size`: Use `bitsize` instead as some elements have smaller than a full byte of width [INFO] [stdout] --> src/utils.rs:486:65 [INFO] [stdout] | [INFO] [stdout] 486 | let data_size = shape.iter().product::() * dtype.size(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `safetensors::Dtype::size`: Use `bitsize` instead as some elements have smaller than a full byte of width [INFO] [stdout] --> src/utils.rs:486:65 [INFO] [stdout] | [INFO] [stdout] 486 | let data_size = shape.iter().product::() * dtype.size(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/few_shot.rs:784:43 [INFO] [stdout] | [INFO] [stdout] 784 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/validation.rs:404:43 [INFO] [stdout] | [INFO] [stdout] 404 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/validation.rs:375:43 [INFO] [stdout] | [INFO] [stdout] 375 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/vision/vision_transformer.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_nn::prelude` [INFO] [stdout] --> src/multimodal/common/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use torsh_nn::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/pruning.rs:427:43 [INFO] [stdout] | [INFO] [stdout] 427 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/few_shot.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/validation.rs:500:43 [INFO] [stdout] | [INFO] [stdout] 500 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_sum` [INFO] [stdout] --> src/architectures.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let k_sum = k_features.sum()?; // Sum over all dimensions (simplified) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_k_sum` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/architectures.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 381 | fn create_local_attention_mask(&self, seq_len: usize, window_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/architectures.rs:392:58 [INFO] [stdout] | [INFO] [stdout] 392 | fn create_block_diagonal_mask(&self, seq_len: usize, block_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/architectures.rs:403:51 [INFO] [stdout] | [INFO] [stdout] 403 | fn create_strided_mask(&self, seq_len: usize, stride: usize) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad_token_id` [INFO] [stdout] --> src/architectures.rs:693:59 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn create_padding_mask(&self, input_ids: &Tensor, pad_token_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pad_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coeff` [INFO] [stdout] --> src/audio/common/mod.rs:261:41 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn pre_emphasis(audio: &Tensor, coeff: f32) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_coeff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/validation.rs:404:43 [INFO] [stdout] | [INFO] [stdout] 404 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/validation.rs:375:43 [INFO] [stdout] | [INFO] [stdout] 375 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/few_shot.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/vision/vision_transformer.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/few_shot.rs:784:43 [INFO] [stdout] | [INFO] [stdout] 784 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/pruning.rs:427:43 [INFO] [stdout] | [INFO] [stdout] 427 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_nn::prelude` [INFO] [stdout] --> src/multimodal/common/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use torsh_nn::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/validation.rs:500:43 [INFO] [stdout] | [INFO] [stdout] 500 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_sum` [INFO] [stdout] --> src/architectures.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let k_sum = k_features.sum()?; // Sum over all dimensions (simplified) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_k_sum` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/architectures.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 381 | fn create_local_attention_mask(&self, seq_len: usize, window_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/architectures.rs:392:58 [INFO] [stdout] | [INFO] [stdout] 392 | fn create_block_diagonal_mask(&self, seq_len: usize, block_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/architectures.rs:403:51 [INFO] [stdout] | [INFO] [stdout] 403 | fn create_strided_mask(&self, seq_len: usize, stride: usize) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad_token_id` [INFO] [stdout] --> src/architectures.rs:693:59 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn create_padding_mask(&self, input_ids: &Tensor, pad_token_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pad_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coeff` [INFO] [stdout] --> src/audio/common/mod.rs:261:41 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn pre_emphasis(audio: &Tensor, coeff: f32) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_coeff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `teacher_features` [INFO] [stdout] --> src/distillation.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | teacher_features: &Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_teacher_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domain.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut features = config.base_features; [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/domain.rs:768:13 [INFO] [stdout] | [INFO] [stdout] 768 | let mut features = config.base_features; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain.rs:1141:14 [INFO] [stdout] | [INFO] [stdout] 1141 | for (i, layer) in self.layers[..self.layers.len() - 1].iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `teacher_features` [INFO] [stdout] --> src/distillation.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | teacher_features: &Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_teacher_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domain.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut features = config.base_features; [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/domain.rs:768:13 [INFO] [stdout] | [INFO] [stdout] 768 | let mut features = config.base_features; [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/ensembling.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let mut result = Tensor::zeros(predictions[0].shape().dims(), predictions[0].device())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `majority_class` [INFO] [stdout] --> src/ensembling.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let majority_class = vote_counts [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_majority_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weighted_majority` [INFO] [stdout] --> src/ensembling.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let weighted_majority = weighted_votes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weighted_majority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain.rs:1141:14 [INFO] [stdout] | [INFO] [stdout] 1141 | for (i, layer) in self.layers[..self.layers.len() - 1].iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/few_shot.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | let update = diff.mul_scalar(self.outer_lr as f32)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ensembling.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let mut result = Tensor::zeros(predictions[0].shape().dims(), predictions[0].device())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `majority_class` [INFO] [stdout] --> src/ensembling.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let majority_class = vote_counts [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_majority_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weighted_majority` [INFO] [stdout] --> src/ensembling.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let weighted_majority = weighted_votes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weighted_majority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/few_shot.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | let update = diff.mul_scalar(self.outer_lr as f32)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/generative.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | device: DeviceType, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ones` [INFO] [stdout] --> src/generative.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let ones = Tensor::ones_like(fake_logits)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/generative.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | device: DeviceType, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_emb` [INFO] [stdout] --> src/generative.rs:1076:13 [INFO] [stdout] | [INFO] [stdout] 1076 | let t_emb = self.time_embedding.forward(timestep)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_emb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/generative.rs:1099:14 [INFO] [stdout] | [INFO] [stdout] 1099 | for (i, up_block) in self.up_blocks.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/multimodal/common/utils.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let labels = creation::arange(0i64, batch_size as i64, 1i64)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_one_hot` [INFO] [stdout] --> src/multimodal/common/utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let target_one_hot = torsh_tensor::creation::zeros_like(&logits)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_one_hot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_patches` [INFO] [stdout] --> src/multimodal/clip/embeddings.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let num_patches = config.num_patches(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_patches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/multimodal/align/model.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let labels = creation::arange(0i64, batch_size as i64, 1i64)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/fine_tuning.rs:1315:17 [INFO] [stdout] | [INFO] [stdout] 1315 | let device = DeviceType::Cpu; [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/fine_tuning.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let device = DeviceType::Cpu; [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/fine_tuning.rs:1551:13 [INFO] [stdout] | [INFO] [stdout] 1551 | let device = DeviceType::Cpu; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_layer` [INFO] [stdout] --> src/nlp/roberta/attention.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let query_layer = self.query.forward(hidden_states)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_layer` [INFO] [stdout] --> src/nlp/roberta/attention.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let key_layer = self.key.forward(hidden_states)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/generative.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | device: DeviceType, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ones` [INFO] [stdout] --> src/generative.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let ones = Tensor::ones_like(fake_logits)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/generative.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | device: DeviceType, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_emb` [INFO] [stdout] --> src/generative.rs:1076:13 [INFO] [stdout] | [INFO] [stdout] 1076 | let t_emb = self.time_embedding.forward(timestep)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_emb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/generative.rs:1099:14 [INFO] [stdout] | [INFO] [stdout] 1099 | for (i, up_block) in self.up_blocks.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/multimodal/common/utils.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let labels = creation::arange(0i64, batch_size as i64, 1i64)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_one_hot` [INFO] [stdout] --> src/multimodal/common/utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let target_one_hot = torsh_tensor::creation::zeros_like(&logits)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_one_hot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_patches` [INFO] [stdout] --> src/multimodal/clip/embeddings.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let num_patches = config.num_patches(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_patches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/multimodal/align/model.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let labels = creation::arange(0i64, batch_size as i64, 1i64)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_layer` [INFO] [stdout] --> src/nlp/roberta/attention.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let query_layer = self.query.forward(hidden_states)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_layer` [INFO] [stdout] --> src/nlp/roberta/attention.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let key_layer = self.key.forward(hidden_states)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params_data` [INFO] [stdout] --> src/quantization.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let params_data = std::fs::read_to_string(path)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_params_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nlp/t5.rs:1200:13 [INFO] [stdout] | [INFO] [stdout] 1200 | let mut model = T5Model::t5_small().unwrap(); [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/nlp/t5.rs:1213:13 [INFO] [stdout] | [INFO] [stdout] 1213 | let mut generator = T5ForConditionalGeneration::t5_small_conditional().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rl.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | for (i, layer) in self.layers[..self.layers.len() - if self.config.dueling { 0 } else { 1 }] [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_logits` [INFO] [stdout] --> src/rl.rs:769:17 [INFO] [stdout] | [INFO] [stdout] 769 | let action_logits = self.actor.forward(states)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_logits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `composition_stats` [INFO] [stdout] --> src/surgery.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let composition_stats = self.apply_model_compositions(model)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_composition_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/surgery.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | config: &LayerConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/surgery.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | let mut errors = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `models` [INFO] [stdout] --> src/surgery.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 900 | fn new(models: Vec<&M>) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `models` [INFO] [stdout] --> src/surgery.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | fn new(models: Vec<&M>, combination: CombinationMethod) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params_data` [INFO] [stdout] --> src/quantization.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let params_data = std::fs::read_to_string(path)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_params_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/utils.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 443 | for (name, tensor) in tensors { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/utils.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let shape = tensor.shape().dims().to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/utils.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | let (bytes, dtype) = match tensor.dtype() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/utils.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let start = all_data.len(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/utils.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | let end = all_data.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rl.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | for (i, layer) in self.layers[..self.layers.len() - if self.config.dueling { 0 } else { 1 }] [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_logits` [INFO] [stdout] --> src/rl.rs:769:17 [INFO] [stdout] | [INFO] [stdout] 769 | let action_logits = self.actor.forward(states)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_logits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temporal_stride` [INFO] [stdout] --> src/video.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | temporal_stride: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temporal_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `composition_stats` [INFO] [stdout] --> src/surgery.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let composition_stats = self.apply_model_compositions(model)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_composition_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/surgery.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | config: &LayerConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/surgery.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | let mut errors = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vision/resnet/models.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | for i in 1..blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `models` [INFO] [stdout] --> src/surgery.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 900 | fn new(models: Vec<&M>) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `models` [INFO] [stdout] --> src/surgery.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | fn new(models: Vec<&M>, combination: CombinationMethod) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/utils.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 443 | for (name, tensor) in tensors { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/utils.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let shape = tensor.shape().dims().to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/utils.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | let (bytes, dtype) = match tensor.dtype() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/utils.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let start = all_data.len(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/utils.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | let end = all_data.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/vision_3d.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let batch_size = points.size(0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_points` [INFO] [stdout] --> src/vision_3d.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | let num_points = points.size(1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/vision_3d.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | let batch_size = xyz.size(0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head_dim` is never read [INFO] [stdout] --> src/architectures.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub struct RotaryPositionEncoder { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 579 | head_dim: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slopes` is never read [INFO] [stdout] --> src/architectures.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 633 | pub struct ALiBiPositionEncoder { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 634 | slopes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct Wav2Vec2ForCTC { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 278 | config: Wav2Vec2Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `d_model` is never read [INFO] [stdout] --> src/common.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SinusoidalPositionalEncoding { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 32 | d_model: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_relative_distance` and `relative_embeddings` are never read [INFO] [stdout] --> src/common.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct RelativePositionalEncoding { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 142 | d_model: usize, [INFO] [stdout] 143 | max_relative_distance: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | relative_embeddings: Parameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `normalized_shape` and `eps` are never read [INFO] [stdout] --> src/common.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct RMSNorm { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 245 | normalized_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | eps: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_groups`, `num_channels`, and `eps` are never read [INFO] [stdout] --> src/common.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct GroupNorm { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 316 | num_groups: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 317 | num_channels: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | eps: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `deep_outputs` are never read [INFO] [stdout] --> src/domain.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct UNet { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 304 | config: UNetConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | deep_outputs: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/domain.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 750 | pub struct UNet3D { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 751 | config: UNet3DConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modes` and `width` are never read [INFO] [stdout] --> src/domain.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1250 | pub struct FourierLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1253 | modes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1254 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FourierLayer` 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 `performance_history` and `momentum` are never read [INFO] [stdout] --> src/ensembling.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 262 | struct AdaptationState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 263 | /// Performance history [INFO] [stdout] 264 | performance_history: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | /// Weight update momentum [INFO] [stdout] 266 | momentum: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaptationState` 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 `num_classes` is never read [INFO] [stdout] --> src/few_shot.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct FewShotDataset { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | num_classes: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embedding_dim` is never read [INFO] [stdout] --> src/few_shot.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct PrototypicalNetwork { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | embedding_dim: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_lr`, `outer_lr`, and `first_order` are never read [INFO] [stdout] --> src/few_shot.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct MAML { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 333 | inner_lr: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 334 | /// Outer learning rate [INFO] [stdout] 335 | outer_lr: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | first_order: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner_lr` is never read [INFO] [stdout] --> src/few_shot.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 465 | pub struct Reptile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 469 | inner_lr: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/few_shot.rs:574:5 [INFO] [stdout] | [INFO] [stdout] 572 | pub struct FewShotEvaluator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 573 | /// Configuration [INFO] [stdout] 574 | config: FewShotConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rank` is never read [INFO] [stdout] --> src/fine_tuning.rs:951:5 [INFO] [stdout] | [INFO] [stdout] 947 | struct LoRAAdapter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 951 | rank: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/generative.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct VAEEncoder { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | config: VAEConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VAEEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/generative.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 691 | pub struct GANDiscriminator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 696 | config: GANConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GANDiscriminator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `use_bias` is never read [INFO] [stdout] --> src/gnn.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct GCNLayer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | use_bias: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GCNLayer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/gnn.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct GraphSAGE { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 404 | layers: Vec, [INFO] [stdout] 405 | config: GraphSAGEConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphSAGE` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/gnn.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 709 | pub struct GAT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 710 | layers: Vec, [INFO] [stdout] 711 | config: GATConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GAT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/gnn.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 971 | pub struct GIN { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 972 | layers: Vec, [INFO] [stdout] 973 | config: GINConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GIN` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reduction_ratio` is never read [INFO] [stdout] --> src/multimodal/common/utils.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct SqueezeExcitation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | reduction_ratio: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/clip/encoders.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CLIPVisionTransformer { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | config: CLIPVisionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/clip/encoders.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct CLIPTextTransformer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | config: CLIPTextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/multimodal/clip/layers.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CLIPAttention { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 101 | attention: MultiheadAttention, [INFO] [stdout] 102 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/clip/models.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CLIPModel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | config: CLIPConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/align/text/embeddings.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ALIGNTextEmbeddings { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | config: ALIGNTextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/align/text/encoder.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ALIGNTextEncoder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | config: ALIGNTextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/align/vision/encoder.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ALIGNVisionEncoder { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | config: ALIGNVisionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ALIGNVisionEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stride` is never read [INFO] [stdout] --> src/multimodal/align/vision/mbconv.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MBConvBlock { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MBConvBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `se_ratio` is never read [INFO] [stdout] --> src/multimodal/align/vision/mbconv.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct SqueezeExcitation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 233 | se_ratio: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SqueezeExcitation` 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 `dropout` and `config` are never read [INFO] [stdout] --> src/nlp/roberta/attention.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RobertaSelfAttention { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | dropout: Dropout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | config: RobertaConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/nlp/roberta/models.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RobertaModel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | config: RobertaConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_labels` is never read [INFO] [stdout] --> src/nlp/roberta/models.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct RobertaForSequenceClassification { [INFO] [stdout] | -------------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | num_labels: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_labels` is never read [INFO] [stdout] --> src/nlp/roberta/models.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct RobertaForTokenClassification { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | num_labels: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `relative_attention_num_buckets`, `relative_attention_max_distance`, `d_model`, `d_kv`, and `num_heads` are never read [INFO] [stdout] --> src/nlp/t5.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct T5Attention { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 298 | relative_attention_num_buckets: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | relative_attention_max_distance: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 300 | d_model: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 301 | d_kv: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 302 | num_heads: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute_bias` and `relative_position_to_bucket` are never used [INFO] [stdout] --> src/nlp/t5.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 312 | impl T5Attention { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | fn compute_bias(&self, query_length: usize, key_length: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn relative_position_to_bucket(&self, relative_position: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `act` is never read [INFO] [stdout] --> src/nlp/t5.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct T5DenseActDense { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 521 | act: ReLU, // ReLU activation [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics_history` is never read [INFO] [stdout] --> src/optimization.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct ModelOptimizer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | metrics_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `observers` is never read [INFO] [stdout] --> src/quantization.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct ModelQuantizer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | observers: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layer_registry` is never read [INFO] [stdout] --> src/surgery.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct ModelSurgeon { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 273 | layer_registry: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `in_features` and `out_features` are never read [INFO] [stdout] --> src/surgery.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 619 | struct SimpleLinearLayer { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 620 | in_features: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 621 | out_features: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `in_channels`, `out_channels`, and `kernel_size` are never read [INFO] [stdout] --> src/surgery.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 680 | struct SimpleConv2dLayer { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 681 | in_channels: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 682 | out_channels: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 683 | kernel_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `models` is never read [INFO] [stdout] --> src/surgery.rs:1104:5 [INFO] [stdout] | [INFO] [stdout] 1103 | struct BranchMergeComposition { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 1104 | models: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stride` is never read [INFO] [stdout] --> src/video.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct BasicBlock3D { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avgpool` and `config` are never read [INFO] [stdout] --> src/video.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct ResNet3D { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | avgpool: Parameter, // Placeholder for adaptive average pooling [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | config: ResNet3DConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/video.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct SlowFast { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 439 | config: SlowFastConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/video.rs:793:5 [INFO] [stdout] | [INFO] [stdout] 784 | pub struct VideoTransformer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 793 | config: VideoTransformerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reduction_ratio` is never read [INFO] [stdout] --> src/vision/resnet/blocks.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SEBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | reduction_ratio: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stride` is never read [INFO] [stdout] --> src/vision/resnet/blocks.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct BasicBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stride`, `groups`, and `base_width` are never read [INFO] [stdout] --> src/vision/resnet/blocks.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct BottleneckBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | se_block: Option, [INFO] [stdout] 289 | groups: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 290 | base_width: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embed_dim` is never read [INFO] [stdout] --> src/vision/vision_transformer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct PatchEmbedding { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 56 | patch_size: usize, [INFO] [stdout] 57 | embed_dim: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatchEmbedding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `strategy` is never read [INFO] [stdout] --> src/vision/vit/embeddings.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PatchEmbedding { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | strategy: PatchEmbedStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/vision_3d.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct CNN3D { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | config: CNN3DConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/vision_3d.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct PointNet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 435 | config: PointNetConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `radius` and `num_samples` are never read [INFO] [stdout] --> src/vision_3d.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 690 | pub struct SetAbstractionLayer { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 694 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 695 | num_samples: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/vision_3d.rs:858:5 [INFO] [stdout] | [INFO] [stdout] 854 | pub struct PointNetPlusPlus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 858 | config: PointNetPlusPlusConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builder.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | GLOBAL_FACTORY.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temporal_stride` [INFO] [stdout] --> src/video.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | temporal_stride: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temporal_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vision/resnet/models.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | for i in 1..blocks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/vision_3d.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let batch_size = points.size(0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_points` [INFO] [stdout] --> src/vision_3d.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | let num_points = points.size(1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/vision_3d.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | let batch_size = xyz.size(0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head_dim` is never read [INFO] [stdout] --> src/architectures.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub struct RotaryPositionEncoder { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 579 | head_dim: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slopes` is never read [INFO] [stdout] --> src/architectures.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 633 | pub struct ALiBiPositionEncoder { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 634 | slopes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/audio/wav2vec2/mod.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct Wav2Vec2ForCTC { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 278 | config: Wav2Vec2Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `d_model` is never read [INFO] [stdout] --> src/common.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SinusoidalPositionalEncoding { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 32 | d_model: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_relative_distance` and `relative_embeddings` are never read [INFO] [stdout] --> src/common.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct RelativePositionalEncoding { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 142 | d_model: usize, [INFO] [stdout] 143 | max_relative_distance: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | relative_embeddings: Parameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `normalized_shape` and `eps` are never read [INFO] [stdout] --> src/common.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct RMSNorm { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 245 | normalized_shape: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | eps: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_groups`, `num_channels`, and `eps` are never read [INFO] [stdout] --> src/common.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct GroupNorm { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 316 | num_groups: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 317 | num_channels: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | eps: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `deep_outputs` are never read [INFO] [stdout] --> src/domain.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct UNet { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 304 | config: UNetConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | deep_outputs: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/domain.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 750 | pub struct UNet3D { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 751 | config: UNet3DConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modes` and `width` are never read [INFO] [stdout] --> src/domain.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1250 | pub struct FourierLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1253 | modes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1254 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FourierLayer` 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 `performance_history` and `momentum` are never read [INFO] [stdout] --> src/ensembling.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 262 | struct AdaptationState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 263 | /// Performance history [INFO] [stdout] 264 | performance_history: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | /// Weight update momentum [INFO] [stdout] 266 | momentum: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaptationState` 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 `num_classes` is never read [INFO] [stdout] --> src/few_shot.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct FewShotDataset { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | num_classes: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embedding_dim` is never read [INFO] [stdout] --> src/few_shot.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct PrototypicalNetwork { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | embedding_dim: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_lr`, `outer_lr`, and `first_order` are never read [INFO] [stdout] --> src/few_shot.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct MAML { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 333 | inner_lr: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 334 | /// Outer learning rate [INFO] [stdout] 335 | outer_lr: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | first_order: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner_lr` is never read [INFO] [stdout] --> src/few_shot.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 465 | pub struct Reptile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 469 | inner_lr: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/few_shot.rs:574:5 [INFO] [stdout] | [INFO] [stdout] 572 | pub struct FewShotEvaluator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 573 | /// Configuration [INFO] [stdout] 574 | config: FewShotConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rank` is never read [INFO] [stdout] --> src/fine_tuning.rs:951:5 [INFO] [stdout] | [INFO] [stdout] 947 | struct LoRAAdapter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 951 | rank: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/generative.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct VAEEncoder { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | config: VAEConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VAEEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/generative.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 691 | pub struct GANDiscriminator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 696 | config: GANConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GANDiscriminator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `use_bias` is never read [INFO] [stdout] --> src/gnn.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct GCNLayer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | use_bias: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GCNLayer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/gnn.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct GraphSAGE { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 404 | layers: Vec, [INFO] [stdout] 405 | config: GraphSAGEConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphSAGE` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/gnn.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 709 | pub struct GAT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 710 | layers: Vec, [INFO] [stdout] 711 | config: GATConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GAT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/gnn.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 971 | pub struct GIN { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 972 | layers: Vec, [INFO] [stdout] 973 | config: GINConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GIN` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reduction_ratio` is never read [INFO] [stdout] --> src/multimodal/common/utils.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct SqueezeExcitation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | reduction_ratio: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/clip/encoders.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CLIPVisionTransformer { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | config: CLIPVisionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/clip/encoders.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct CLIPTextTransformer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | config: CLIPTextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/multimodal/clip/layers.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CLIPAttention { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 101 | attention: MultiheadAttention, [INFO] [stdout] 102 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/clip/models.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CLIPModel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | config: CLIPConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/align/text/embeddings.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ALIGNTextEmbeddings { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | config: ALIGNTextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/align/text/encoder.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ALIGNTextEncoder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | config: ALIGNTextConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/multimodal/align/vision/encoder.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ALIGNVisionEncoder { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | config: ALIGNVisionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ALIGNVisionEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stride` is never read [INFO] [stdout] --> src/multimodal/align/vision/mbconv.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MBConvBlock { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MBConvBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `se_ratio` is never read [INFO] [stdout] --> src/multimodal/align/vision/mbconv.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct SqueezeExcitation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 233 | se_ratio: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SqueezeExcitation` 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 `dropout` and `config` are never read [INFO] [stdout] --> src/nlp/roberta/attention.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RobertaSelfAttention { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | dropout: Dropout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | config: RobertaConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/nlp/roberta/models.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RobertaModel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | config: RobertaConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_labels` is never read [INFO] [stdout] --> src/nlp/roberta/models.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct RobertaForSequenceClassification { [INFO] [stdout] | -------------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | num_labels: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_labels` is never read [INFO] [stdout] --> src/nlp/roberta/models.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct RobertaForTokenClassification { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | num_labels: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `d_model`, `d_kv`, and `num_heads` are never read [INFO] [stdout] --> src/nlp/t5.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct T5Attention { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 300 | d_model: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 301 | d_kv: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 302 | num_heads: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compute_bias` is never used [INFO] [stdout] --> src/nlp/t5.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 312 | impl T5Attention { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | fn compute_bias(&self, query_length: usize, key_length: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `act` is never read [INFO] [stdout] --> src/nlp/t5.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct T5DenseActDense { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 521 | act: ReLU, // ReLU activation [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics_history` is never read [INFO] [stdout] --> src/optimization.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct ModelOptimizer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | metrics_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `observers` is never read [INFO] [stdout] --> src/quantization.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct ModelQuantizer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | observers: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layer_registry` is never read [INFO] [stdout] --> src/surgery.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct ModelSurgeon { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 273 | layer_registry: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `in_features` and `out_features` are never read [INFO] [stdout] --> src/surgery.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 619 | struct SimpleLinearLayer { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 620 | in_features: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 621 | out_features: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `in_channels`, `out_channels`, and `kernel_size` are never read [INFO] [stdout] --> src/surgery.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 680 | struct SimpleConv2dLayer { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 681 | in_channels: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 682 | out_channels: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 683 | kernel_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `models` is never read [INFO] [stdout] --> src/surgery.rs:1104:5 [INFO] [stdout] | [INFO] [stdout] 1103 | struct BranchMergeComposition { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 1104 | models: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stride` is never read [INFO] [stdout] --> src/video.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct BasicBlock3D { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avgpool` and `config` are never read [INFO] [stdout] --> src/video.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct ResNet3D { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | avgpool: Parameter, // Placeholder for adaptive average pooling [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | config: ResNet3DConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/video.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct SlowFast { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 439 | config: SlowFastConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/video.rs:793:5 [INFO] [stdout] | [INFO] [stdout] 784 | pub struct VideoTransformer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 793 | config: VideoTransformerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reduction_ratio` is never read [INFO] [stdout] --> src/vision/resnet/blocks.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SEBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | reduction_ratio: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stride` is never read [INFO] [stdout] --> src/vision/resnet/blocks.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct BasicBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stride`, `groups`, and `base_width` are never read [INFO] [stdout] --> src/vision/resnet/blocks.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct BottleneckBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | stride: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | se_block: Option, [INFO] [stdout] 289 | groups: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 290 | base_width: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embed_dim` is never read [INFO] [stdout] --> src/vision/vision_transformer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct PatchEmbedding { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 56 | patch_size: usize, [INFO] [stdout] 57 | embed_dim: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatchEmbedding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `strategy` is never read [INFO] [stdout] --> src/vision/vit/embeddings.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PatchEmbedding { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | strategy: PatchEmbedStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/vision_3d.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct CNN3D { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | config: CNN3DConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/vision_3d.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct PointNet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 435 | config: PointNetConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `radius` and `num_samples` are never read [INFO] [stdout] --> src/vision_3d.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 690 | pub struct SetAbstractionLayer { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 694 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 695 | num_samples: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/vision_3d.rs:858:5 [INFO] [stdout] | [INFO] [stdout] 854 | pub struct PointNetPlusPlus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 858 | config: PointNetPlusPlusConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builder.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | GLOBAL_FACTORY.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/fine_tuning.rs:1392:17 [INFO] [stdout] | [INFO] [stdout] 1392 | assert!(stats.frozen_params >= 0); // Allow for strategies with no frozen parameters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/comprehensive_usage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Shape` [INFO] [stdout] --> examples/comprehensive_usage.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use torsh_core::{DType, DeviceType, Shape}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EfficientNetVariant` [INFO] [stdout] --> examples/comprehensive_usage.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | EfficientNet, EfficientNetConfig, EfficientNetVariant, ResNet, ResNetConfig, ResNetVariant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModelBenchmark` [INFO] [stdout] --> examples/comprehensive_usage.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | use torsh_models::benchmark::{BenchmarkConfig, ModelBenchmark}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComparisonConfig` and `ModelComparator` [INFO] [stdout] --> examples/comprehensive_usage.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | use torsh_models::comparison::{ComparisonConfig, ModelComparator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModelQuantizer` and `QuantizationStrategy` [INFO] [stdout] --> examples/comprehensive_usage.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | use torsh_models::quantization::{ModelQuantizer, QuantizationConfig, QuantizationStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Shape` [INFO] [stdout] --> tests/integration_tests.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_core::{DType, DeviceType, Shape}; [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: `super::*` [INFO] [stdout] --> tests/integration_tests.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/comprehensive_usage.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut efficientnet = EfficientNet::new(efficientnet_config)?; [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] --> examples/comprehensive_usage.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut roberta = RobertaForSequenceClassification::new(roberta_config, 2)?; [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] --> examples/comprehensive_usage.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut wav2vec2 = Wav2Vec2ForCTC::new(wav2vec2_config)?; [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] --> tests/integration_tests.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut model = EfficientNet::new(config)?; [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] --> examples/comprehensive_usage.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut clip_model = CLIPModel::new(clip_config)?; [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] --> tests/integration_tests.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut model = VisionTransformer::new(config)?; [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] --> tests/integration_tests.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut model = RobertaForSequenceClassification::new(config, 2)?; [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] --> tests/integration_tests.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut model = Wav2Vec2ForCTC::new(config)?; [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] --> tests/integration_tests.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let mut model = CLIPModel::new(config)?; [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] --> examples/comprehensive_usage.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | let mut dqn = DQN::new(dqn_config)?; [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] --> examples/comprehensive_usage.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let mut ppo = PPO::new(ppo_config)?; [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] --> examples/comprehensive_usage.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut unet = UNet::new(unet_config)?; [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] --> examples/comprehensive_usage.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | let mut pinn = PINN::new(pinn_config)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/integration_tests.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let result = create_test_tensor(&[1000000, 1000000], DeviceType::Cpu); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/integration_tests.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | assert!(models.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/integration_tests.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | assert!(vision_models.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 24s [INFO] running `Command { std: "docker" "inspect" "ab14bdeb5c0fad8088cf6e2e5285a18f041a3171e3bc6e4a8c6703b244a6fddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab14bdeb5c0fad8088cf6e2e5285a18f041a3171e3bc6e4a8c6703b244a6fddc", kill_on_drop: false }` [INFO] [stdout] ab14bdeb5c0fad8088cf6e2e5285a18f041a3171e3bc6e4a8c6703b244a6fddc