[INFO] fetching crate torsh-autograd 0.1.0-alpha.1... [INFO] checking torsh-autograd-0.1.0-alpha.1 against try#c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f for 2025-12-16-next-solver-global [INFO] extracting crate torsh-autograd 0.1.0-alpha.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate torsh-autograd 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate torsh-autograd 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate torsh-autograd 0.1.0-alpha.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate torsh-autograd 0.1.0-alpha.1 on toolchain c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate torsh-autograd 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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ba5ad464c2ab084ddda61113a6d2a3722a8ab1ff294305e562338cc772faf41 [INFO] running `Command { std: "docker" "start" "-a" "8ba5ad464c2ab084ddda61113a6d2a3722a8ab1ff294305e562338cc772faf41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ba5ad464c2ab084ddda61113a6d2a3722a8ab1ff294305e562338cc772faf41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba5ad464c2ab084ddda61113a6d2a3722a8ab1ff294305e562338cc772faf41", kill_on_drop: false }` [INFO] [stdout] 8ba5ad464c2ab084ddda61113a6d2a3722a8ab1ff294305e562338cc772faf41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6139fd43464728f6ca30bbf4edced5788ddc7dd89ba3bebcfa0a1bfd2882fdb1 [INFO] running `Command { std: "docker" "start" "-a" "6139fd43464728f6ca30bbf4edced5788ddc7dd89ba3bebcfa0a1bfd2882fdb1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Compiling torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking proptest v1.8.0 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Compiling darling_core v0.20.11 [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] Compiling katexit v0.1.5 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking numrs2 v0.1.0-beta.2 [INFO] [stderr] Checking scirs2-core v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-linalg v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-autograd 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 torsh-core v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-autograd v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/anomaly_detection.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | use torsh_core::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 import: `Mutex` [INFO] [stdout] --> src/grad_mode.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `TorshError` [INFO] [stdout] --> src/grad_mode.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/communication_efficient/compression.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Result as SciResult` [INFO] [stdout] --> src/communication_efficient/compression.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use crate::Result as SciResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/communication_efficient/compression.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommunicationEfficientGradient` and `CommunicationMetadata` [INFO] [stdout] --> src/communication_efficient/aggregation.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | AggregationMethod, CommunicationConfig, CommunicationEfficientGradient, CommunicationMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LatencySensitivity`, `aggregation::AggregationEngine`, and `compression::CompressionEngine` [INFO] [stdout] --> src/communication_efficient/transmission.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | aggregation::AggregationEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | compression::CompressionEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | LatencySensitivity, ProtocolOptimization, QualityOfService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/communication_efficient/transmission.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommunicationConfig`, `CommunicationTopology`, `CongestionLevel`, `ProtocolOptimization`, and `ProtocolStack` [INFO] [stdout] --> src/communication_efficient/fault_tolerance.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | config::{CommunicationConfig, CommunicationTopology, ProtocolOptimization}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | management::{CongestionLevel, TopologyManager}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | transmission::{NetworkMetrics, ProtocolStack}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BandwidthMeasurement`, `CommunicationProtocol`, `CommunicationTopology`, `CompressedGradient`, `CompressionStrategy`, `CongestionLevel`, `FaultSeverity`, `NetworkMetrics`, `OptimizationObjective`, `ProtocolMetrics`, `QualityOfService`, and `RecoveryStrategy` [INFO] [stdout] --> src/communication_efficient/adaptation.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | CommunicationTopology, CompressedGradient, CompressionStrategy, ProtocolOptimization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | QualityOfService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | }, [INFO] [stdout] 68 | fault_tolerance::{FaultSeverity, FaultType, RecoveryStrategy}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | management::{BandwidthMeasurement, CongestionLevel, OptimizationObjective}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | transmission::{CommunicationProtocol, NetworkMetrics, ProtocolMetrics}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/communication_efficient/adaptation.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/communication_efficient/adaptation.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | (throughput_score * 0.3 + latency_score * 0.3 + loss_score * 0.2 + efficiency_score * 0.2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 513 - (throughput_score * 0.3 + latency_score * 0.3 + loss_score * 0.2 + efficiency_score * 0.2) [INFO] [stdout] 513 + throughput_score * 0.3 + latency_score * 0.3 + loss_score * 0.2 + efficiency_score * 0.2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Weak` [INFO] [stdout] --> src/context/memory.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutogradResult` [INFO] [stdout] --> src/error_diagnostics.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::error_handling::{AutogradError, AutogradResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/federated_learning/aggregation.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/federated_learning/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/gradient_scheduler.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ThreadId` and `self` [INFO] [stdout] --> src/gradient_scheduler.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::{self, ThreadId}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemorySnapshot` [INFO] [stdout] --> src/memory/manager.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::memory::monitoring::{GradientMemoryMonitor, MemorySnapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryPoolStats` [INFO] [stdout] --> src/memory/manager.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::memory::pool::{MemoryPool, MemoryPoolStats}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FragmentationAnalysis` [INFO] [stdout] --> src/memory/manager.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | FragmentationAnalysis, GradientMemoryAnalysis, GradientMemoryStats, MemoryUsageTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizationTechnique` [INFO] [stdout] --> src/memory/manager.rs:84:63 [INFO] [stdout] | [INFO] [stdout] 84 | AdaptiveMemoryConfig, AllocationStrategy, MemoryPressure, OptimizationTechnique, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/memory/manager.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/memory/pool.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/memory/tracking.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceType` [INFO] [stdout] --> src/meta_gradient.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use torsh_core::{DeviceType, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/profiler/analysis.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemorySnapshot` [INFO] [stdout] --> src/profiler/profiler_core.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | AutogradProfile, HardwareUtilization, MemorySnapshot, OperationProfile, ProfileSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parallel_gradient_computation` [INFO] [stdout] --> src/scirs2_integration.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | parallel_gradient_computation, simd_backward_pass, ultra_backward_pass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::random` [INFO] [stdout] --> src/scirs2_integration.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use scirs2_core::random; // SciRS2 POLICY compliant random generation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/visualization/magnitude_analysis.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/visualization/magnitude_analysis.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/visualization/monitoring.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/visualization/monitoring.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BottleneckType` and `GradientMagnitudeCategory` [INFO] [stdout] --> src/visualization/visualizer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | BottleneckType, GradientBottleneck, GradientFlowAnalysis, GradientMagnitudeCategory, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/visualization/visualizer.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/blas_integration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/blas_integration.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/blas_integration.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/cross_framework_verification.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/cross_framework_verification.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/custom_backends.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayViewMut` and `ArrayView` [INFO] [stdout] --> src/custom_backends.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView, ArrayViewMut, Axis, Ix2, IxDyn}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/custom_backends.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/custom_backends.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/exception_safety.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/exception_safety.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/exception_safety.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/exception_safety.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/graceful_degradation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/graceful_degradation.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/hardware_acceleration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayView` [INFO] [stdout] --> src/hardware_acceleration.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView, IxDyn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/hardware_acceleration.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/hardware_acceleration.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/integration_patterns.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/neural_architecture_search.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/neural_architecture_search.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/neural_architecture_search.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/neural_architecture_search.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | ... ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] 226 + (out_ch * self.in_channels + in_ch) * self.kernel_size + k; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/neural_architecture_search.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | ... ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] 265 + (out_ch * self.in_channels + in_ch) * self.kernel_size + k; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/neural_ode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/profiling_debugging_integration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/profiling_debugging_integration.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `RwLock` [INFO] [stdout] --> src/profiling_debugging_integration.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/quantum_autograd.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/raii_resources.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/regression_testing.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `Read`, and `Write` [INFO] [stdout] --> src/regression_testing.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GradientTensor` [INFO] [stdout] --> src/scirs2_integration_testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | GradientTensor, SciRS2AutogradAdapter, SciRS2CompatibilityShim, SciRS2MigrationHelper, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/scirs2_integration_testing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/scirs2_integration_testing.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/scirs2_integration_testing.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/specialized_gradient_libs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayView` [INFO] [stdout] --> src/specialized_gradient_libs.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView, Ix2, IxDyn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/specialized_gradient_libs.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/specialized_gradient_libs.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/stress_testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/ad_framework_compatibility.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/ad_framework_compatibility.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/ad_framework_compatibility.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::autograd_traits::AutogradTensor` [INFO] [stdout] --> src/lib.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | use crate::autograd_traits::AutogradTensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/anomaly_detection.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | use torsh_core::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 import: `num_complex::Complex64` [INFO] [stdout] --> src/anomaly_detection.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | use num_complex::Complex64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::device::DeviceType` [INFO] [stdout] --> src/autograd_traits.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use torsh_core::device::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/complex_ops.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::device::DeviceType` [INFO] [stdout] --> src/global_adapter.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use torsh_core::device::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/grad_mode.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `TorshError` [INFO] [stdout] --> src/grad_mode.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/communication_efficient/compression.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Result as SciResult` [INFO] [stdout] --> src/communication_efficient/compression.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use crate::Result as SciResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/communication_efficient/compression.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommunicationEfficientGradient` and `CommunicationMetadata` [INFO] [stdout] --> src/communication_efficient/aggregation.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | AggregationMethod, CommunicationConfig, CommunicationEfficientGradient, CommunicationMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LatencySensitivity`, `aggregation::AggregationEngine`, and `compression::CompressionEngine` [INFO] [stdout] --> src/communication_efficient/transmission.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | aggregation::AggregationEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | compression::CompressionEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | LatencySensitivity, ProtocolOptimization, QualityOfService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/communication_efficient/transmission.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/communication_efficient/transmission.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1108 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommunicationConfig`, `CommunicationTopology`, `CongestionLevel`, `ProtocolOptimization`, and `ProtocolStack` [INFO] [stdout] --> src/communication_efficient/fault_tolerance.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | config::{CommunicationConfig, CommunicationTopology, ProtocolOptimization}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | management::{CongestionLevel, TopologyManager}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | transmission::{NetworkMetrics, ProtocolStack}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BandwidthMeasurement`, `CommunicationProtocol`, `CommunicationTopology`, `CompressedGradient`, `CompressionStrategy`, `CongestionLevel`, `FaultSeverity`, `NetworkMetrics`, `OptimizationObjective`, `ProtocolMetrics`, `QualityOfService`, and `RecoveryStrategy` [INFO] [stdout] --> src/communication_efficient/adaptation.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | CommunicationTopology, CompressedGradient, CompressionStrategy, ProtocolOptimization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | QualityOfService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | }, [INFO] [stdout] 68 | fault_tolerance::{FaultSeverity, FaultType, RecoveryStrategy}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | management::{BandwidthMeasurement, CongestionLevel, OptimizationObjective}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | transmission::{CommunicationProtocol, NetworkMetrics, ProtocolMetrics}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/communication_efficient/adaptation.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/communication_efficient/adaptation.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | (throughput_score * 0.3 + latency_score * 0.3 + loss_score * 0.2 + efficiency_score * 0.2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 513 - (throughput_score * 0.3 + latency_score * 0.3 + loss_score * 0.2 + efficiency_score * 0.2) [INFO] [stdout] 513 + throughput_score * 0.3 + latency_score * 0.3 + loss_score * 0.2 + efficiency_score * 0.2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Weak` [INFO] [stdout] --> src/context/memory.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutogradResult` [INFO] [stdout] --> src/error_diagnostics.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::error_handling::{AutogradError, AutogradResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/federated_learning/aggregation.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/federated_learning/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/gradient_scheduler.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ThreadId` and `self` [INFO] [stdout] --> src/gradient_scheduler.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::{self, ThreadId}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemorySnapshot` [INFO] [stdout] --> src/memory/manager.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::memory::monitoring::{GradientMemoryMonitor, MemorySnapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryPoolStats` [INFO] [stdout] --> src/memory/manager.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::memory::pool::{MemoryPool, MemoryPoolStats}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FragmentationAnalysis` [INFO] [stdout] --> src/memory/manager.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | FragmentationAnalysis, GradientMemoryAnalysis, GradientMemoryStats, MemoryUsageTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizationTechnique` [INFO] [stdout] --> src/memory/manager.rs:84:63 [INFO] [stdout] | [INFO] [stdout] 84 | AdaptiveMemoryConfig, AllocationStrategy, MemoryPressure, OptimizationTechnique, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/memory/manager.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/memory/manager.rs:1169:9 [INFO] [stdout] | [INFO] [stdout] 1169 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/memory/pool.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/memory/tracking.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::error::MemoryErrorExt` [INFO] [stdout] --> src/memory/mod.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | use super::error::MemoryErrorExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::Shape` [INFO] [stdout] --> src/meta_gradient.rs:664:9 [INFO] [stdout] | [INFO] [stdout] 664 | use torsh_core::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/profiler/analysis.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/profiler/analysis.rs:873:31 [INFO] [stdout] | [INFO] [stdout] 873 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemorySnapshot` [INFO] [stdout] --> src/profiler/profiler_core.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | AutogradProfile, HardwareUtilization, MemorySnapshot, OperationProfile, ProfileSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parallel_gradient_computation` [INFO] [stdout] --> src/scirs2_integration.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | parallel_gradient_computation, simd_backward_pass, ultra_backward_pass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::random` [INFO] [stdout] --> src/scirs2_integration.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use scirs2_core::random; // SciRS2 POLICY compliant random generation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/visualization/magnitude_analysis.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/visualization/magnitude_analysis.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorshError` [INFO] [stdout] --> src/visualization/monitoring.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | use torsh_core::error::{Result, TorshError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/visualization/monitoring.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BottleneckType` and `GradientMagnitudeCategory` [INFO] [stdout] --> src/visualization/visualizer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | BottleneckType, GradientBottleneck, GradientFlowAnalysis, GradientMagnitudeCategory, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/visualization/visualizer.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/blas_integration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/blas_integration.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/blas_integration.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/cross_framework_verification.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/cross_framework_verification.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/custom_backends.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayViewMut` and `ArrayView` [INFO] [stdout] --> src/custom_backends.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView, ArrayViewMut, Axis, Ix2, IxDyn}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/custom_backends.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/custom_backends.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/exception_safety.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/exception_safety.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/exception_safety.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/exception_safety.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/graceful_degradation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/graceful_degradation.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/hardware_acceleration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayView` [INFO] [stdout] --> src/hardware_acceleration.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView, IxDyn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/hardware_acceleration.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/hardware_acceleration.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/integration_patterns.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/neural_architecture_search.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/neural_architecture_search.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/neural_architecture_search.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/neural_architecture_search.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | ... ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] 226 + (out_ch * self.in_channels + in_ch) * self.kernel_size + k; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/neural_architecture_search.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | ... ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - ((out_ch * self.in_channels + in_ch) * self.kernel_size + k); [INFO] [stdout] 265 + (out_ch * self.in_channels + in_ch) * self.kernel_size + k; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/neural_ode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/profiling_debugging_integration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/profiling_debugging_integration.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `RwLock` [INFO] [stdout] --> src/profiling_debugging_integration.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/quantum_autograd.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/raii_resources.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/regression_testing.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `Read`, and `Write` [INFO] [stdout] --> src/regression_testing.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/regression_testing.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GradientTensor` [INFO] [stdout] --> src/scirs2_integration_testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | GradientTensor, SciRS2AutogradAdapter, SciRS2CompatibilityShim, SciRS2MigrationHelper, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/scirs2_integration_testing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/scirs2_integration_testing.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/scirs2_integration_testing.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/specialized_gradient_libs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayView` [INFO] [stdout] --> src/specialized_gradient_libs.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::ndarray::{Array, ArrayView, Ix2, IxDyn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Random` and `Rng` [INFO] [stdout] --> src/specialized_gradient_libs.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/specialized_gradient_libs.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/stress_testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scirs2_core::error::CoreError` [INFO] [stdout] --> src/ad_framework_compatibility.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::error::CoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayView` and `Array` [INFO] [stdout] --> src/ad_framework_compatibility.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use scirs2_core::ndarray::{Array, ArrayView}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/ad_framework_compatibility.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::autograd_traits::AutogradTensor` [INFO] [stdout] --> src/lib.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | use crate::autograd_traits::AutogradTensor; [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/federated_learning/privacy.rs:397:41 [INFO] [stdout] | [INFO] [stdout] 397 | let u1: f64 = Random::default().gen(); [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/federated_learning/privacy.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | let u2: f64 = Random::default().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/federated_learning/privacy.rs:397:41 [INFO] [stdout] | [INFO] [stdout] 397 | let u1: f64 = Random::default().gen(); [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/federated_learning/privacy.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | let u2: f64 = Random::default().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/metrics_collection.rs:509:41 [INFO] [stdout] | [INFO] [stdout] 509 | let random_value = thread_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/structured_logging.rs:486:26 [INFO] [stdout] | [INFO] [stdout] 486 | thread_rng().gen::() < self.config.sampling_rate [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/metrics_collection.rs:509:41 [INFO] [stdout] | [INFO] [stdout] 509 | let random_value = thread_rng().gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/custom_backends.rs:648:49 [INFO] [stdout] | [INFO] [stdout] 648 | let reshaped_data = tensor.data.clone().into_shape(shape).map_err(|e| { [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/structured_logging.rs:486:26 [INFO] [stdout] | [INFO] [stdout] 486 | thread_rng().gen::() < self.config.sampling_rate [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/neural_architecture_search.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | *w = (Random::default().gen::() - 0.5) * 2.0 * limit; [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/neural_architecture_search.rs:384:49 [INFO] [stdout] | [INFO] [stdout] 384 | let u1: f64 = Random::default().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/neural_architecture_search.rs:385:49 [INFO] [stdout] | [INFO] [stdout] 385 | let u2: f64 = Random::default().gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1081:14 [INFO] [stdout] | [INFO] [stdout] 1081 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1084:14 [INFO] [stdout] | [INFO] [stdout] 1084 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1125:49 [INFO] [stdout] | [INFO] [stdout] 1125 | let x = Array::from_vec(vec![5.0, 6.0]).into_shape((2,)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1192:14 [INFO] [stdout] | [INFO] [stdout] 1192 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1195:14 [INFO] [stdout] | [INFO] [stdout] 1195 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1208:14 [INFO] [stdout] | [INFO] [stdout] 1208 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/blas_integration.rs:1211:14 [INFO] [stdout] | [INFO] [stdout] 1211 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/custom_backends.rs:648:49 [INFO] [stdout] | [INFO] [stdout] 648 | let reshaped_data = tensor.data.clone().into_shape(shape).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/custom_backends.rs:1094:14 [INFO] [stdout] | [INFO] [stdout] 1094 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/custom_backends.rs:1109:14 [INFO] [stdout] | [INFO] [stdout] 1109 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/custom_backends.rs:1119:14 [INFO] [stdout] | [INFO] [stdout] 1119 | .into_shape((3,)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_autograd::ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/custom_backends.rs:1211:14 [INFO] [stdout] | [INFO] [stdout] 1211 | .into_shape((3,)) [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/neural_architecture_search.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | *w = (Random::default().gen::() - 0.5) * 2.0 * limit; [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/neural_architecture_search.rs:384:49 [INFO] [stdout] | [INFO] [stdout] 384 | let u1: f64 = Random::default().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/neural_architecture_search.rs:385:49 [INFO] [stdout] | [INFO] [stdout] 385 | let u2: f64 = Random::default().gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/federated_learning/selection.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gradient_checking.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::random::{thread_rng, Rng}; // SciRS2 POLICY compliant [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutogradTensor` [INFO] [stdout] --> src/scirs2_integration.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use scirs2_autograd::{AutogradTensor, SafeVariable, SafeVariableEnvironment}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/visualization/monitoring.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/communication_efficient/compression.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let mut rng_instance = scirs2_core::random::thread_rng(); [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: unused variable: `rng_instance` [INFO] [stdout] --> src/communication_efficient/compression.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let mut rng_instance = scirs2_core::random::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng_instance` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force_batch` [INFO] [stdout] --> src/communication_efficient/transmission.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let force_batch = self.should_force_batch_completion(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_force_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `performance` [INFO] [stdout] --> src/communication_efficient/adaptation.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | performance: &PerformanceSnapshot, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_performance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/context/debug.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_age` [INFO] [stdout] --> src/context/memory.rs:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | fn cleanup_expired_gradients(&mut self, max_age: Duration) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/context/memory.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/discrete_ops.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let n = input.shape().dims()[input.shape().dims().len() - 1]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_score` [INFO] [stdout] --> src/federated_learning/byzantine.rs:454:52 [INFO] [stdout] | [INFO] [stdout] 454 | fn adapt_threshold(&mut self, client_id: &str, current_score: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/federated_learning/metrics.rs:597:58 [INFO] [stdout] | [INFO] [stdout] 597 | fn update_client_metrics(&mut self, client_id: &str, round: &AggregationRound) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/federated_learning/personalization.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | client_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy` [INFO] [stdout] --> src/federated_learning/mod.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | strategy: PersonalizationStrategy, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_util` [INFO] [stdout] --> src/gradient_scheduler.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | let (memory_util, thread_util) = self.get_resource_utilization(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/federated_learning/selection.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | use scirs2_core::random::{Random, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gradient_checking.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use scirs2_core::random::{thread_rng, Rng}; // SciRS2 POLICY compliant [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutogradTensor` [INFO] [stdout] --> src/scirs2_integration.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use scirs2_autograd::{AutogradTensor, SafeVariable, SafeVariableEnvironment}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/visualization/monitoring.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/global_adapter.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let result = create_gradient_tensor(&data, &shape, &device, true); [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: variable does not need to be mutable [INFO] [stdout] --> src/communication_efficient/compression.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let mut rng_instance = scirs2_core::random::thread_rng(); [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: unused variable: `rng_instance` [INFO] [stdout] --> src/communication_efficient/compression.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let mut rng_instance = scirs2_core::random::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force_batch` [INFO] [stdout] --> src/communication_efficient/transmission.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let force_batch = self.should_force_batch_completion(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_force_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `performance` [INFO] [stdout] --> src/communication_efficient/adaptation.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | performance: &PerformanceSnapshot, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_performance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/profiler/analysis.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | profile: &AutogradProfile, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/context/debug.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_age` [INFO] [stdout] --> src/context/memory.rs:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | fn cleanup_expired_gradients(&mut self, max_age: Duration) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/context/memory.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retain_graph` [INFO] [stdout] --> src/pytorch_compat.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | retain_graph: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retain_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/context/mod.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let stats = ctx.advanced_memory_cleanup(&config)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/scirs2_integration.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | device: &dyn Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_shape` [INFO] [stdout] --> src/scirs2_integration.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | input_shape: &[usize], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/discrete_ops.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let n = input.shape().dims()[input.shape().dims().len() - 1]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `neg_half` [INFO] [stdout] --> src/stochastic_graphs.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let neg_half = creation::tensor_scalar(-0.5)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_neg_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expanded_uniform` [INFO] [stdout] --> src/stochastic_graphs.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let expanded_uniform = uniform.unsqueeze(-1)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_score` [INFO] [stdout] --> src/federated_learning/byzantine.rs:454:52 [INFO] [stdout] | [INFO] [stdout] 454 | fn adapt_threshold(&mut self, client_id: &str, current_score: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/federated_learning/metrics.rs:597:58 [INFO] [stdout] | [INFO] [stdout] 597 | fn update_client_metrics(&mut self, client_id: &str, round: &AggregationRound) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/federated_learning/personalization.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | client_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy` [INFO] [stdout] --> src/federated_learning/mod.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | strategy: PersonalizationStrategy, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/visualization/visualizer.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut analysis = GradientFlowAnalysis { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1204:43 [INFO] [stdout] | [INFO] [stdout] 1204 | fn compute_gradient_statistics(&self, ctx: &AutogradContext) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1219:36 [INFO] [stdout] | [INFO] [stdout] 1219 | fn identify_bottlenecks(&self, ctx: &AutogradContext) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1227:37 [INFO] [stdout] | [INFO] [stdout] 1227 | fn analyze_critical_path(&self, ctx: &AutogradContext) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1235:40 [INFO] [stdout] | [INFO] [stdout] 1235 | fn compute_memory_breakdown(&self, ctx: &AutogradContext) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottleneck` [INFO] [stdout] --> src/auto_tuning.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | bottleneck: &PerformanceBottleneck, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottleneck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottleneck` [INFO] [stdout] --> src/auto_tuning.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | bottleneck: &PerformanceBottleneck, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottleneck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_util` [INFO] [stdout] --> src/gradient_scheduler.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | let (memory_util, thread_util) = self.get_resource_utilization(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_name` [INFO] [stdout] --> src/automatic_error_recovery.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | operation_name: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed_time` [INFO] [stdout] --> src/automatic_error_recovery.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | elapsed_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attempts` [INFO] [stdout] --> src/automatic_error_recovery.rs:624:61 [INFO] [stdout] | [INFO] [stdout] 624 | fn record_successful_recovery(&self, recovery_id: &str, attempts: usize, duration: Duration) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/automatic_error_recovery.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | duration: Duration, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library_name` [INFO] [stdout] --> src/blas_integration.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | fn library_exists(library_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blas_integration.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | let mut q = Array::eye(m); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_data` [INFO] [stdout] --> src/cross_framework_verification.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | input_data: &[f64], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/custom_backends.rs:738:17 [INFO] [stdout] | [INFO] [stdout] 738 | for (i, output) in outputs.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/custom_backends.rs:884:21 [INFO] [stdout] | [INFO] [stdout] 884 | fn apply(&self, grad_output: &Array) -> AutogradResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/custom_backends.rs:928:21 [INFO] [stdout] | [INFO] [stdout] 928 | fn apply(&self, grad_output: &Array) -> AutogradResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/edge_case_handling.rs:538:18 [INFO] [stdout] | [INFO] [stdout] 538 | for (i, shape) in shapes.iter().enumerate().skip(1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/graceful_degradation.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | metadata, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `metadata: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/profiler/analysis.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | profile: &AutogradProfile, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graceful_degradation.rs:799:17 [INFO] [stdout] | [INFO] [stdout] 799 | let mut manager = GracefulDegradationManager::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/profiler/hardware.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | let mut cpu_state = CpuMonitorState::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/profiler/memory.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | let start_time = SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retain_graph` [INFO] [stdout] --> src/pytorch_compat.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | retain_graph: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retain_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/hardware_acceleration.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | input: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/hardware_acceleration.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | kernel: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/hardware_acceleration.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | grad_output: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_a` [INFO] [stdout] --> src/hardware_acceleration.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | grad_a: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_b` [INFO] [stdout] --> src/hardware_acceleration.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | grad_b: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/hardware_acceleration.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | grad_output: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_a` [INFO] [stdout] --> src/hardware_acceleration.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | grad_a: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_b` [INFO] [stdout] --> src/hardware_acceleration.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | grad_b: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/hardware_acceleration.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | device_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/scirs2_integration.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | device: &dyn Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_shape` [INFO] [stdout] --> src/scirs2_integration.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | input_shape: &[usize], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/hardware_acceleration.rs:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | device_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accelerator` [INFO] [stdout] --> src/hardware_acceleration.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | let accelerator = self.get_accelerator(acc_type.clone()).ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accelerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `neg_half` [INFO] [stdout] --> src/stochastic_graphs.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let neg_half = creation::tensor_scalar(-0.5)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_neg_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expanded_uniform` [INFO] [stdout] --> src/stochastic_graphs.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let expanded_uniform = uniform.unsqueeze(-1)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neural_architecture_search.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let mut gumbel_noise: Vec = (0..self.alpha_weights.len()) [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u2` [INFO] [stdout] --> src/neural_architecture_search.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let u2: f64 = Random::default().gen(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_u2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/neural_architecture_search.rs:791:35 [INFO] [stdout] | [INFO] [stdout] 791 | let (op_idx, op_name, weight) = edge.operation.most_likely_operation(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_grad_accum` [INFO] [stdout] --> src/neural_ode.rs:858:13 [INFO] [stdout] | [INFO] [stdout] 858 | let param_grad_accum = &adjoint_state[dim..dim + param_count]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_grad_accum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/visualization/visualizer.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut analysis = GradientFlowAnalysis { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1204:43 [INFO] [stdout] | [INFO] [stdout] 1204 | fn compute_gradient_statistics(&self, ctx: &AutogradContext) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1219:36 [INFO] [stdout] | [INFO] [stdout] 1219 | fn identify_bottlenecks(&self, ctx: &AutogradContext) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1227:37 [INFO] [stdout] | [INFO] [stdout] 1227 | fn analyze_critical_path(&self, ctx: &AutogradContext) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/visualization/visualizer.rs:1235:40 [INFO] [stdout] | [INFO] [stdout] 1235 | fn compute_memory_breakdown(&self, ctx: &AutogradContext) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottleneck` [INFO] [stdout] --> src/auto_tuning.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | bottleneck: &PerformanceBottleneck, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottleneck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottleneck` [INFO] [stdout] --> src/auto_tuning.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | bottleneck: &PerformanceBottleneck, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottleneck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/profiling_debugging_integration.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | metadata: &HashMap, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_name` [INFO] [stdout] --> src/automatic_error_recovery.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | operation_name: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed_time` [INFO] [stdout] --> src/automatic_error_recovery.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | elapsed_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attempts` [INFO] [stdout] --> src/automatic_error_recovery.rs:624:61 [INFO] [stdout] | [INFO] [stdout] 624 | fn record_successful_recovery(&self, recovery_id: &str, attempts: usize, duration: Duration) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/automatic_error_recovery.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | duration: Duration, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library_name` [INFO] [stdout] --> src/blas_integration.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | fn library_exists(library_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blas_integration.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | let mut q = Array::eye(m); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cos_half` [INFO] [stdout] --> src/quantum_autograd.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | let cos_half = (self.angle / 2.0).cos(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cos_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sin_half` [INFO] [stdout] --> src/quantum_autograd.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let sin_half = (self.angle / 2.0).sin(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sin_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quantum_autograd.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | let mut circuit_plus = [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/quantum_autograd.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mut circuit_minus = [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/quantum_autograd.rs:674:21 [INFO] [stdout] | [INFO] [stdout] 674 | let mut cloned_gate = self.clone_gate_with_shift(gate, local_param_idx, shift)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/quantum_autograd.rs:931:14 [INFO] [stdout] | [INFO] [stdout] 931 | for (i, (amp, grad_amp)) in state [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_data` [INFO] [stdout] --> src/cross_framework_verification.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | input_data: &[f64], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scirs2_integration_testing.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let mut warnings = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scirs2_integration_testing.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut metadata = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tolerance` [INFO] [stdout] --> src/scirs2_integration_testing.rs:707:77 [INFO] [stdout] | [INFO] [stdout] 707 | fn compute_gradient_accuracy(&self, computed: &[f64], expected: &[f64], tolerance: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tolerance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/specialized_gradient_libs.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | inputs: &[f64], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/specialized_gradient_libs.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | inputs: &[f64], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/specialized_gradient_libs.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | inputs: &[f64], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/specialized_gradient_libs.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | inputs: &[f64], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/custom_backends.rs:738:17 [INFO] [stdout] | [INFO] [stdout] 738 | for (i, output) in outputs.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/custom_backends.rs:884:21 [INFO] [stdout] | [INFO] [stdout] 884 | fn apply(&self, grad_output: &Array) -> AutogradResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/custom_backends.rs:928:21 [INFO] [stdout] | [INFO] [stdout] 928 | fn apply(&self, grad_output: &Array) -> AutogradResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_backends.rs:1195:13 [INFO] [stdout] | [INFO] [stdout] 1195 | let mut registry = BackendRegistry::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/edge_case_handling.rs:538:18 [INFO] [stdout] | [INFO] [stdout] 538 | for (i, shape) in shapes.iter().enumerate().skip(1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops_per_second` [INFO] [stdout] --> src/stress_testing.rs:755:13 [INFO] [stdout] | [INFO] [stdout] 755 | let ops_per_second = result.operations_completed as f64 / result.duration.as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ops_per_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/stress_testing.rs:804:40 [INFO] [stdout] | [INFO] [stdout] 804 | fn mock_add(&self, a: &MockTensor, b: &MockTensor) -> AutogradResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/graceful_degradation.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | metadata, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `metadata: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graceful_degradation.rs:799:17 [INFO] [stdout] | [INFO] [stdout] 799 | let mut manager = GracefulDegradationManager::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tensor` [INFO] [stdout] --> src/ad_framework_compatibility.rs:628:25 [INFO] [stdout] | [INFO] [stdout] 628 | fn zero_grad(&self, tensor: &mut dyn FrameworkTensor) -> AutogradResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/ad_framework_compatibility.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | params: &HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/hardware_acceleration.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | input: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/hardware_acceleration.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | kernel: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/hardware_acceleration.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | result: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/hardware_acceleration.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | grad_output: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_a` [INFO] [stdout] --> src/hardware_acceleration.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 615 | grad_a: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_b` [INFO] [stdout] --> src/hardware_acceleration.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | grad_b: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_output` [INFO] [stdout] --> src/hardware_acceleration.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | grad_output: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hardware_acceleration.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | a: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hardware_acceleration.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | b: &HardwareMemoryHandle, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_a` [INFO] [stdout] --> src/hardware_acceleration.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | grad_a: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad_b` [INFO] [stdout] --> src/hardware_acceleration.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | grad_b: &HardwareMemoryHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/hardware_acceleration.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | device_id: u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TimestampedUtilization` is more private than the item `HardwareMonitor::get_utilization_history` [INFO] [stdout] --> src/profiler/hardware.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn get_utilization_history(&self) -> &[TimestampedUtilization] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HardwareMonitor::get_utilization_history` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TimestampedUtilization` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/profiler/hardware.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | struct TimestampedUtilization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AnalysisMetadata` is more private than the item `GradientFlowMonitor::analyze_and_store_with_metadata` [INFO] [stdout] --> src/visualization/monitoring.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | / pub fn analyze_and_store_with_metadata( [INFO] [stdout] 417 | | &mut self, [INFO] [stdout] 418 | | ctx: &AutogradContext, [INFO] [stdout] 419 | | epoch: Option, [INFO] [stdout] 420 | | metadata: AnalysisMetadata, [INFO] [stdout] 421 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ method `GradientFlowMonitor::analyze_and_store_with_metadata` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AnalysisMetadata` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/visualization/monitoring.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | struct AnalysisMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `blas_integration::OperationStats` is more private than the item `BlasPerformanceReport::operation_stats` [INFO] [stdout] --> src/blas_integration.rs:977:5 [INFO] [stdout] | [INFO] [stdout] 977 | pub operation_stats: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `BlasPerformanceReport::operation_stats` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `blas_integration::OperationStats` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/blas_integration.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | struct OperationStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AcceleratorUsageStats` is more private than the item `AcceleratorUsageReport::accelerator_stats` [INFO] [stdout] --> src/hardware_acceleration.rs:1348:5 [INFO] [stdout] | [INFO] [stdout] 1348 | pub accelerator_stats: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AcceleratorUsageReport::accelerator_stats` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AcceleratorUsageStats` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/hardware_acceleration.rs:1004:1 [INFO] [stdout] | [INFO] [stdout] 1004 | struct AcceleratorUsageStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LibraryUsageStats` is more private than the item `LibraryUsageReport::library_stats` [INFO] [stdout] --> src/specialized_gradient_libs.rs:910:5 [INFO] [stdout] | [INFO] [stdout] 910 | pub library_stats: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LibraryUsageReport::library_stats` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LibraryUsageStats` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/specialized_gradient_libs.rs:653:1 [INFO] [stdout] | [INFO] [stdout] 653 | struct LibraryUsageStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adaptive_parameters` is never read [INFO] [stdout] --> src/communication_efficient/compression.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct CompressionEngine { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | adaptive_parameters: AdaptiveCompressionParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressionEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aggregation_buffer` is never read [INFO] [stdout] --> src/communication_efficient/aggregation.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct AggregationEngine { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 153 | aggregation_buffer: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AggregationEngine` 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 `network_metrics` is never read [INFO] [stdout] --> src/communication_efficient/fault_tolerance.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct CommunicationFaultDetector { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | network_metrics: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommunicationFaultDetector` 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 `anomaly_thresholds` and `statistical_models` are never read [INFO] [stdout] --> src/communication_efficient/fault_tolerance.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct StatisticalAnalyzer { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | anomaly_thresholds: AnomalyThresholds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | /// Statistical models for different metrics [INFO] [stdout] 242 | statistical_models: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatisticalAnalyzer` 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 `local_detector` and `quorum_requirements` are never read [INFO] [stdout] --> src/communication_efficient/fault_tolerance.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct DistributedFaultCoordinator { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 289 | /// Local fault detector [INFO] [stdout] 290 | local_detector: CommunicationFaultDetector, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | quorum_requirements: QuorumRequirements, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistributedFaultCoordinator` 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 `node_id` and `peer_nodes` are never read [INFO] [stdout] --> src/communication_efficient/fault_tolerance.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct CoordinationProtocol { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 315 | /// Node ID in the distributed system [INFO] [stdout] 316 | node_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 317 | /// Connected peer nodes [INFO] [stdout] 318 | peer_nodes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordinationProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GradientAge` is never constructed [INFO] [stdout] --> src/context/memory.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | struct GradientAge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `feature_matrix` is never read [INFO] [stdout] --> src/error_diagnostics.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct MLPatternRecognitionSystem { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 351 | /// Feature extraction matrix for error patterns [INFO] [stdout] 352 | feature_matrix: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MLPatternRecognitionSystem` 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 `seasonal_patterns` is never read [INFO] [stdout] --> src/error_diagnostics.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 671 | struct TemporalPatternAnalyzer { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 675 | seasonal_patterns: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalPatternAnalyzer` 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 `performance_baselines` is never read [INFO] [stdout] --> src/federated_learning/metrics.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct MetricsCollector { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 201 | performance_baselines: PerformanceBaselines, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricsCollector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_diagonal_matrix` is never used [INFO] [stdout] --> src/matrix_calculus.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl TraceOp { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn create_diagonal_matrix(&self, diagonal_values: &Tensor) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avg_frequency`, `frequency_stddev`, `sample_count`, and `last_updated` are never read [INFO] [stdout] --> src/memory/anomaly.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 285 | struct OperationBaseline { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | avg_frequency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 292 | /// Frequency standard deviation [INFO] [stdout] 293 | frequency_stddev: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 294 | /// Number of samples used to establish baseline [INFO] [stdout] 295 | sample_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 296 | /// When baseline was last updated [INFO] [stdout] 297 | last_updated: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationBaseline` 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 `core_count` is never read [INFO] [stdout] --> src/profiler/hardware.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct CpuMonitorState { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | core_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuMonitorState` 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 `last_gpu_utilization` is never read [INFO] [stdout] --> src/profiler/hardware.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct GpuMonitorState { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | last_gpu_utilization: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuMonitorState` 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 `user` and `system` are never read [INFO] [stdout] --> src/profiler/hardware.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 119 | struct CpuTimes { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 120 | /// User time [INFO] [stdout] 121 | user: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | /// System time [INFO] [stdout] 123 | system: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuTimes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `available`, `buffers`, and `cached` are never read [INFO] [stdout] --> src/profiler/hardware.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct MemoryStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | available: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | buffers: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | /// Cached memory [INFO] [stdout] 142 | cached: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryStats` 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 `timestamp` is never read [INFO] [stdout] --> src/profiler/hardware.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | struct TimestampedUtilization { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 148 | /// Timestamp of measurement [INFO] [stdout] 149 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimestampedUtilization` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable_env` and `profiling_enabled` are never read [INFO] [stdout] --> src/scirs2_integration.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SciRS2AutogradAdapter { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | variable_env: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | /// Performance tracking enabled [INFO] [stdout] 39 | profiling_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `correlation_matrix`, `svd_cache`, and `last_update` are never read [INFO] [stdout] --> src/visualization/magnitude_analysis.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 252 | struct AnalysisCache { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 253 | /// Cached correlation matrix [INFO] [stdout] 254 | correlation_matrix: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 255 | /// Cached SVD results for effective rank computation [INFO] [stdout] 256 | svd_cache: HashMap, Vec, Vec)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 257 | /// Last cache update time [INFO] [stdout] 258 | last_update: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisCache` 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 `metadata` is never read [INFO] [stdout] --> src/visualization/monitoring.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct TimestampedAnalysis { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 97 | metadata: AnalysisMetadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimestampedAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `learning_rate`, `batch_size`, `loss_value`, and `tags` are never read [INFO] [stdout] --> src/visualization/monitoring.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct AnalysisMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 103 | /// Learning rate at time of analysis [INFO] [stdout] 104 | learning_rate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 105 | /// Batch size used [INFO] [stdout] 106 | batch_size: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 107 | /// Current loss value [INFO] [stdout] 108 | loss_value: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 109 | /// Custom tags for categorization [INFO] [stdout] 110 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `value`, and `context` are never read [INFO] [stdout] --> src/visualization/monitoring.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 242 | struct MetricPoint { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 243 | /// Timestamp of the measurement [INFO] [stdout] 244 | timestamp: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 245 | /// Metric value [INFO] [stdout] 246 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 247 | /// Optional additional context [INFO] [stdout] 248 | context: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricPoint` 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 `background` is never read [INFO] [stdout] --> src/visualization/visualizer.rs:1255:5 [INFO] [stdout] | [INFO] [stdout] 1251 | struct DotColors { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1255 | background: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DotColors` 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: trait `WriteResult` is never used [INFO] [stdout] --> src/visualization/visualizer.rs:1259:7 [INFO] [stdout] | [INFO] [stdout] 1259 | trait WriteResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parameter_optimizer`, `algorithm_selector`, and `resource_manager` are never read [INFO] [stdout] --> src/auto_tuning.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct AutoTuningController { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | parameter_optimizer: ParameterOptimizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | /// Algorithm selector [INFO] [stdout] 106 | algorithm_selector: AlgorithmSelector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | /// Resource manager [INFO] [stdout] 108 | resource_manager: ResourceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AutoTuningController` 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 `timestamp`, `profile`, and `applied_optimizations` are never read [INFO] [stdout] --> src/auto_tuning.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct PerformanceSnapshot { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 402 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 403 | profile: AutogradProfile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 404 | applied_optimizations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceSnapshot` 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 `parameter_history` is never read [INFO] [stdout] --> src/auto_tuning.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 409 | struct ParameterOptimizer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 410 | parameter_history: HashMap>, // parameter -> (value, performance) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterOptimizer` 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 `algorithm_performance` is never read [INFO] [stdout] --> src/auto_tuning.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 423 | struct AlgorithmSelector { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 424 | algorithm_performance: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlgorithmSelector` 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 `memory_budget` and `cpu_budget` are never read [INFO] [stdout] --> src/auto_tuning.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 437 | struct ResourceManager { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 438 | memory_budget: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 439 | cpu_budget: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceManager` 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 `shape_a` and `shape_b` are never read [INFO] [stdout] --> src/custom_backends.rs:863:5 [INFO] [stdout] | [INFO] [stdout] 860 | struct AddGradFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 863 | shape_a: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 864 | shape_b: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddGradFunction` 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 `tensor_a_data` and `tensor_b_data` are never read [INFO] [stdout] --> src/custom_backends.rs:907:5 [INFO] [stdout] | [INFO] [stdout] 904 | struct MulGradFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 907 | tensor_a_data: Array, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 908 | tensor_b_data: Array, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MulGradFunction` 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 `default_backend` is never read [INFO] [stdout] --> src/custom_backends.rs:951:5 [INFO] [stdout] | [INFO] [stdout] 948 | pub struct BackendRegistry { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 951 | default_backend: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight_lr` is never read [INFO] [stdout] --> src/neural_architecture_search.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 614 | pub struct DARTS { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 620 | weight_lr: f64, // Learning rate for operation weights [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DARTS` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATE` is never used [INFO] [stdout] --> src/neural_architecture_search.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | static STATE: AtomicU64 = AtomicU64::new(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/neural_architecture_search.rs:1026:12 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn random() -> T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `activation_derivative` is never used [INFO] [stdout] --> src/neural_ode.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl NeuralODELayer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn activation_derivative(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operation` is never read [INFO] [stdout] --> src/raii_resources.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 389 | struct NodeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 390 | operation: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` 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 `creation_time` is never read [INFO] [stdout] --> src/raii_resources.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 638 | struct ContextInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 639 | grad_enabled: bool, [INFO] [stdout] 640 | creation_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextInfo` 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 `session_id` is never read [INFO] [stdout] --> src/raii_resources.rs:1196:5 [INFO] [stdout] | [INFO] [stdout] 1195 | pub struct ProfileSessionGuard { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 1196 | session_id: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileSessionGuard` 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 `timestamp`, `total_memory`, `available_memory`, and `autograd_memory` are never read [INFO] [stdout] --> src/raii_resources.rs:1748:5 [INFO] [stdout] | [INFO] [stdout] 1747 | pub struct MemoryPressureReading { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 1748 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1749 | pressure_level: f64, [INFO] [stdout] 1750 | total_memory: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1751 | available_memory: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1752 | autograd_memory: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryPressureReading` 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 `compatibility_shim` is never read [INFO] [stdout] --> src/scirs2_integration_testing.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct SciRS2IntegrationTester { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | compatibility_shim: SciRS2CompatibilityShim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `torsh-autograd` (lib test); 183 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f/bin/rustc --crate-name torsh_autograd --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 '--deny=clippy::suspicious' '--warn=clippy::style' '--warn=clippy::perf' '--allow=clippy::pedantic' '--deny=clippy::correctness' '--warn=clippy::complexity' '--allow=clippy::all' '--allow=clippy::wildcard_imports' '--allow=clippy::unwrap_used' --warn=unused_variables --warn=unused_imports '--allow=clippy::unsafe_code' --warn=unreachable_code '--allow=clippy::too_many_lines' '--allow=clippy::similar_names' '--allow=clippy::panic' '--allow=clippy::must_use_candidate' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_panics_doc' '--allow=clippy::missing_errors_doc' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--allow=clippy::expect_used' --warn=dead_code --test --cfg 'feature="autograd"' --cfg 'feature="default"' --cfg 'feature="parallel"' --cfg 'feature="scirs2-autograd"' --cfg 'feature="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("ai", "autograd", "debug", "default", "gpu", "parallel", "profiling", "scirs2-autograd", "scirs2-full", "simd"))' -C metadata=9b5129331cffd9d2 -C extra-filename=-ea95eb63c573f95b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-9e60a9f33eb513b3.rmeta --extern approx=/opt/rustwide/target/debug/deps/libapprox-47411005e50c8fb9.rmeta --extern bincode=/opt/rustwide/target/debug/deps/libbincode-bab5d2e3e4ee121e.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-bea91362acc6a7b7.rmeta --extern indexmap=/opt/rustwide/target/debug/deps/libindexmap-297298041c3ec2fb.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-cb8ca6aa8c56979f.rmeta --extern num_complex=/opt/rustwide/target/debug/deps/libnum_complex-fb8870e863a7bb8c.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-314a28d551676042.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-66c358826d8f599c.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-2ad934dc7da92e31.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-789d90a5d758b1ea.rmeta --extern petgraph=/opt/rustwide/target/debug/deps/libpetgraph-3ab264428180321a.rmeta --extern proptest=/opt/rustwide/target/debug/deps/libproptest-76db8f129834c9f1.rmeta --extern scirs2=/opt/rustwide/target/debug/deps/libscirs2-91ac9b09485badf9.rmeta --extern scirs2_autograd=/opt/rustwide/target/debug/deps/libscirs2_autograd-9d069907c3137db3.rmeta --extern scirs2_core=/opt/rustwide/target/debug/deps/libscirs2_core-d5c8fbe8d5fa3820.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-5bec5da93a9569a3.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-6bf827c9b4d1dbd8.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-a02b2f14974da396.rmeta --extern torsh_core=/opt/rustwide/target/debug/deps/libtorsh_core-5ad512cf347640f4.rmeta --extern torsh_tensor=/opt/rustwide/target/debug/deps/libtorsh_tensor-7e012ce890e56ea8.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-6e4bd0b500528e50.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/zstd-sys-28b363e409b63cb2/out -L native=/usr/lib/x86_64-linux-gnu/openblas-pthread/ -L native=/usr/lib/x86_64-linux-gnu -L native=/lib/x86_64-linux-gnu -L native=/lib/aarch64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/variable_env.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | / ctx.add_operation( [INFO] [stdout] 186 | | format!("inplace_{operation_name}"), [INFO] [stdout] 187 | | vec![], // In-place operations don't have separate inputs [INFO] [stdout] 188 | | operation_id, [INFO] [stdout] 189 | | tensor.requires_grad(), [INFO] [stdout] 190 | | None, // No gradient function for in-place ops (they modify existing tensors) [INFO] [stdout] 191 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = ctx.add_operation( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/federated_learning/client.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if U1.is_none() { [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/federated_learning/client.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | let noise = U1.take().unwrap_or(0.0); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parameter_server.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | mutex: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 22 | ) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Result, &'static str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/blas_integration.rs:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | GLOBAL_BLAS_MANAGER.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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/cross_framework_verification.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | GLOBAL_VERIFIER.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/custom_backends.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | GLOBAL_BACKEND_REGISTRY.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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/exception_safety.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | GLOBAL_EXECUTOR.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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graceful_degradation.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | GLOBAL_DEGRADATION_MANAGER.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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/hardware_acceleration.rs:1396:9 [INFO] [stdout] | [INFO] [stdout] 1396 | GLOBAL_ACCELERATION_MANAGER.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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/profiling_debugging_integration.rs:1157:9 [INFO] [stdout] | [INFO] [stdout] 1157 | GLOBAL_PROFILING_DEBUGGING_MANAGER.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/scirs2_integration_testing.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1100 | GLOBAL_TESTER.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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/specialized_gradient_libs.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | GLOBAL_SPECIALIZED_MANAGER.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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ad_framework_compatibility.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | GLOBAL_COMPATIBILITY_MANAGER.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6139fd43464728f6ca30bbf4edced5788ddc7dd89ba3bebcfa0a1bfd2882fdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6139fd43464728f6ca30bbf4edced5788ddc7dd89ba3bebcfa0a1bfd2882fdb1", kill_on_drop: false }` [INFO] [stdout] 6139fd43464728f6ca30bbf4edced5788ddc7dd89ba3bebcfa0a1bfd2882fdb1